How to get collections and permissions through api

I checked the api of the collection ,but not include the corresponding person permission ID.The permission api is also

please check Working with the Metabase API