| title | Search | GitHub API |
|---|
- TOC {:toc}
This is a listing of the Search API features from API v2 that have been ported to API v3. There should be no changes, other than the new URL and JSON output format.
Find issues by state and keyword.
GET /legacy/issues/search/:owner/:repository/:state/:keyword
state
: open or closed
keyword : Search term
<%= headers 200 %> <%= json(:issue_search_results) %>
Find repositories by keyword. Note, this legacy method does not follow the
v3 pagination pattern. This method returns up to 100 results per page and
pages can be fetched using the start_page parameter.
GET /legacy/repos/search/:keyword
keyword : Search term
language : Optional Filter results by language
start_page : Optional Page number to fetch
<%= headers 200 %> <%= json(:repo_search_results) %>
Find users by keyword.
GET /legacy/user/search/:keyword
keyword : Keyword search parameters
<%= headers 200 %> <%= json(:user_search_results) %>
This API call is added for compatibility reasons only. There's no guarantee
that full email searches will always be available. The @ character in the
address must be left unencoded. Searches only against public email addresses
(as configured on the user's GitHub profile).
GET /legacy/user/email/:email
email : Email address
<%= headers 200 %> <%= json(:email_search_results) %>