We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
We use GET /users/{username}/repos which only returns the user's public repositories.
GET /users/{username}/repos
It seems we can use the search API to get the private repositories too https://api.github.com/search/repositories?q=user:USERNAME
https://api.github.com/search/repositories?q=user:USERNAME
The text was updated successfully, but these errors were encountered:
Hey I was having this same issue and fixed it by installing the GitHub app I created onto my own GitHub profile. Then both the public and private repos were returned using this method: https://docs.github.com/en/rest/repos/repos#list-repositories-for-the-authenticated-user
Hope this helps! 🤞 I was banging my head against the wall for a while on this one 😅
Sorry, something went wrong.
dinosk
Successfully merging a pull request may close this issue.
We use
GET /users/{username}/repos
which only returns the user's public repositories.It seems we can use the search API to get the private repositories too
https://api.github.com/search/repositories?q=user:USERNAME
The text was updated successfully, but these errors were encountered: