I’m using the Github REST API v3 and am trying to list all of the repositories that my logged in user (via OAuth) has access to.
My logged in user has a repository where my affiliation is an “outside collaborator” but I’m not sure how to query my user’s information in order to display information for that repository.
Querying the “List your repositories” API (GET /user/repos) doesn’t return the repository in question. Querying the “List your organizations” API (GET /user/orgs) doesn’t return any results either to use with the “List organization repositories” API (GET /orgs/:org/repos).
Is there any other way to query repositories that I am an “outside collaborator”? Perhaps there’s an “affiliation” string that isn’t listed in the docs?