Get statuses for a repo

I’d like to get all the statuses context and possibly latest target_url for a repository, in a similar fashion to what the UI for branch protection do show:

Can I ask if anyone is aware of a single API request that can perform such task or otherwise a reduced combination of requests. I know it can be done in a rather brutal way, but I’m hoping for something light on github requests.


Unfortunately, there isn’t an API endpoint for what you’re describing. I’ll take the suggestion back to the API team, however I can’t promise anything or give an ETA for when it might happen.


1 Like