Search among repositories only accessible to the GitHub App #138188
Unanswered
vermakhushboo
asked this question in
API and Webhooks
Replies: 1 comment
-
cc: @vermakhushboo To list repositories only accessible to your GitHub App, you should use the
GET /search/repositories?q=user:USERNAME
Authorization: Bearer <installation_access_token> https://github.com/orgs/community/discussions/24382 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Select Topic Area
Question
Body
I want to use only one API call to search and list repositories only accessible to my GitHub app. If I am using
GET /search/repositories
endpoint with my GitHub app access token, I am getting private repos accessible to my app + all public repos even if GitHub app doesn't have access to them. How can I make it work like expected?Beta Was this translation helpful? Give feedback.
All reactions