docs(skills): clarify /search/issues returns issues and PRs (#2713)

* docs(skills): clarify /search/issues returns issues and PRs

Add a bullet noting the unified /search/issues endpoint returns both
issues and pull requests and there is no /search/pulls endpoint.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* docs(skills): simplify /search/issues bullet per review

Addresses gemini-code-assist review on PR #2713: trim redundancy with
the section header and focus the note on the absence of a
/search/pulls endpoint.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Illia Polosukhin
2026-04-20 15:22:33 +09:00
committed by GitHub
parent 8bf25bc99a
commit f2c4c258dd

View File

@@ -141,6 +141,8 @@ GitHub has three search endpoints. Build queries with the [search syntax](https:
http(method="GET", url="https://api.github.com/search/issues?q=repo:{owner}/{repo}+is:pr+is:open+label:bug")
```
- Note: There is no `/search/pulls` endpoint; `/search/issues` is the unified endpoint for both issues and PRs.
**Search code:**
```
http(method="GET", url="https://api.github.com/search/code?q=fn+main+language:rust+repo:{owner}/{repo}")