How to get "Individual permissions" report from the API

In the Enterprise version of github if you browse to:


you can see a table under the heading “Individual permissions” which lists out all the users who have access to this repo and the means they use to access it, showing the most permissive access.

Is there any way to get this data from the API? So far, I have only found ways to see the access level. I have not found anything that shows how the access was granted. It would be nice even if I could just grab this table programatically.

Hey @fei0x!

This is a good question - I would recommend writing into GitHub Enterprise Support at for some help with this particular issue, as they’ll be much more familiar an can help triage any feature requests that might come out of this!