Listing all repositories accessible to the user (public as well as private) for an org installation



If an organization has selected a few public and private while installing a GitHub app. It seems that when the api: GET /user/installations/:installation_id/repositories is called for an authenticated user, it correctly lists the private repositories the user has access to, however, it doesn’t return the public repositories. Since public repositories are accessible to everyone, shouldn’t that also be returned?



Hi Sushant,

That sounds very reasonable. I’ll take this feedback to the team and add it as an issue.

Thank you!


Hi @sushant-hiray

I’m not able to reproduce your issue, are would you mind dropping in a CURL API example that only lists private repos and not the public ones?