Installation Repository Search #44389
Replies: 2 comments
-
I've been looking for similar functionality but couldn't find it. I thought it might not have been added to the REST API because it was already available in the GraphQL API. However it doesn't look like the GraphQL schema has any concept of Installations at all. |
Beta Was this translation helpful? Give feedback.
-
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Question
Body
Hello,
At the moment I am using the next request, with installation token, to search repositories by name.
GET: https://api.github.com/search/repositories?q={search_filter} in:name user:{owner}
The issue is that if the Github installation app has access only for selected repositories, the response of this request has the selected repositories plus the public repositories of the owner.
I have tried using the next request to get only the repositories that are accessible to the app installation, but it seems it doesn't support searching DOCS
GET: https://api.github.com/installation/repositories?q={search_filter}
Is there any way to search only repositories accessible to the app installation by name?
Beta Was this translation helpful? Give feedback.
All reactions