GitHub
communityWorld's largest code hosting platform. Host Git repositories, manage issues, review pull requests, automate CI/CD, and collaborate on software projects.
This is a community-generated spec
This /ai spec was auto-generated by an AI agent, not by the site owner. It may be incomplete or inaccurate.
https://api.github.com/search/repositoriesSearch public repositories by keyword, language, stars, topic
Parameters
qstringrequired— stars:>100)pageintegeroptionalsortstringoptionalorderstringoptionalper_pageintegeroptionalReturns
total_count, items[] {id, full_name, description, html_url, stargazers_count, language, topics[], license}https://api.github.com/search/codeSearch code across public repositories
Parameters
qstringrequired— language:js, filename:config)pageintegeroptionalsortstringoptionalorderstringoptionalper_pageintegeroptionalReturns
total_count, items[] {name, path, sha, html_url, repository{full_name, html_url}}https://api.github.com/search/issuesSearch issues and pull requests across repositories
Parameters
qstringrequired— is:pr, state:open, label:bug, repo:owner/name)pageintegeroptionalsortstringoptionalorderstringoptionalper_pageintegeroptionalReturns
total_count, items[] {id, title, body, state, html_url, user{login}, labels[], created_at}https://api.github.com/repos/{owner}/{repo}Get detailed information about a specific repository
Parameters
repostringrequiredownerstringrequiredReturns
{id, full_name, description, html_url, stargazers_count, forks_count, open_issues_count, language, license, topics[], created_at, updated_at}https://api.github.com/repos/{owner}/{repo}/issuesList issues for a repository
Parameters
pageintegeroptionalrepostringrequiredsortstringoptionalownerstringrequiredstatestringoptionallabelsstringoptionalper_pageintegeroptionalReturns
issues[] {id, number, title, body, state, html_url, user{login}, labels[], created_at}https://api.github.com/repos/{owner}/{repo}/pullsList pull requests for a repository
Parameters
pageintegeroptionalrepostringrequiredsortstringoptionalownerstringrequiredstatestringoptionalper_pageintegeroptionalReturns
pulls[] {id, number, title, body, state, html_url, user{login}, head{ref}, base{ref}, created_at}https://api.github.com/repos/{owner}/{repo}/contents/{path}Get file or directory contents from a repository
Parameters
refstringoptional— tag, or commit SHA (default: default branch)pathstringrequiredrepostringrequiredownerstringrequiredReturns
{name, path, type, content (base64), html_url, download_url} or array for directorieshttps://api.github.com/users/{username}Get public profile of a GitHub user
Parameters
usernamestringrequiredReturns
{login, name, bio, company, location, blog, public_repos, followers, following, html_url, created_at}https://api.github.com/repos/{owner}/{repo}/releasesList releases for a repository
Parameters
pageintegeroptionalrepostringrequiredownerstringrequiredper_pageintegeroptionalReturns
releases[] {id, tag_name, name, body, html_url, published_at, assets[]}https://api.github.com/search/usersSearch GitHub users by keyword, location, language
Parameters
qstringrequired— language:python, followers:>100)pageintegeroptionalsortstringoptionalorderstringoptionalper_pageintegeroptionalReturns
total_count, items[] {login, html_url, avatar_url, type}