| GET |
/repos/{owner}/{repo} |
Get a repository |
| PATCH |
/repos/{owner}/{repo} |
Update a repository |
| DELETE |
/repos/{owner}/{repo} |
Delete a repository |
| GET |
/repos/{owner}/{repo}/assignees |
List assignees |
| GET |
/repos/{owner}/{repo}/assignees/{assignee} |
Check if a user can be assigned |
| GET |
/repos/{owner}/{repo}/branches |
List branches |
| GET |
/repos/{owner}/{repo}/branches/{branch} |
Get a branch |
| GET |
/repos/{owner}/{repo}/branches/{branch}/protection |
Get branch protection |
| PUT |
/repos/{owner}/{repo}/branches/{branch}/protection |
Update branch protection |
| DELETE |
/repos/{owner}/{repo}/branches/{branch}/protection |
Delete branch protection |
| GET |
/repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins |
Get admin branch protection |
| POST |
/repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins |
Set admin branch protection |
| DELETE |
/repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins |
Delete admin branch protection |
| GET |
/repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews |
Get pull request review protection |
| PATCH |
/repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews |
Update pull request review protection |
| DELETE |
/repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews |
Delete pull request review protection |
| GET |
/repos/{owner}/{repo}/branches/{branch}/protection/required_signatures |
Get commit signature protection |
| POST |
/repos/{owner}/{repo}/branches/{branch}/protection/required_signatures |
Create commit signature protection |
| DELETE |
/repos/{owner}/{repo}/branches/{branch}/protection/required_signatures |
Delete commit signature protection |
| GET |
/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks |
Get status checks protection |
| PATCH |
/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks |
Update status check protection |
| DELETE |
/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks |
Remove status check protection |
| GET |
/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts |
Get all status check contexts |
| POST |
/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts |
Add status check contexts |
| PUT |
/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts |
Set status check contexts |
| DELETE |
/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts |
Remove status check contexts |
| GET |
/repos/{owner}/{repo}/branches/{branch}/protection/restrictions |
Get access restrictions |
| DELETE |
/repos/{owner}/{repo}/branches/{branch}/protection/restrictions |
Delete access restrictions |
| GET |
/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps |
Get apps with access to the protected branch |
| POST |
/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps |
Add app access restrictions |
| PUT |
/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps |
Set app access restrictions |
| DELETE |
/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps |
Remove app access restrictions |
| GET |
/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams |
Get teams with access to the protected branch |
| POST |
/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams |
Add team access restrictions |
| PUT |
/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams |
Set team access restrictions |
| DELETE |
/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams |
Remove team access restrictions |
| GET |
/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users |
Get users with access to the protected branch |
| POST |
/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users |
Add user access restrictions |
| PUT |
/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users |
Set user access restrictions |
| DELETE |
/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users |
Remove user access restrictions |
| POST |
/repos/{owner}/{repo}/check-runs |
Create a check run |
| GET |
/repos/{owner}/{repo}/check-runs/{check_run_id} |
Get a check run |
| PATCH |
/repos/{owner}/{repo}/check-runs/{check_run_id} |
Update a check run |
| GET |
/repos/{owner}/{repo}/check-runs/{check_run_id}/annotations |
List check run annotations |
| POST |
/repos/{owner}/{repo}/check-suites |
Create a check suite |
| PATCH |
/repos/{owner}/{repo}/check-suites/preferences |
Update repository preferences for check suites |
| GET |
/repos/{owner}/{repo}/check-suites/{check_suite_id} |
Get a check suite |
| GET |
/repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs |
List check runs in a check suite |
| POST |
/repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest |
Rerequest a check suite |
| GET |
/repos/{owner}/{repo}/collaborators |
List repository collaborators |
| GET |
/repos/{owner}/{repo}/collaborators/{username} |
Check if a user is a repository collaborator |
| PUT |
/repos/{owner}/{repo}/collaborators/{username} |
Add a repository collaborator |
| DELETE |
/repos/{owner}/{repo}/collaborators/{username} |
Remove a repository collaborator |
| GET |
/repos/{owner}/{repo}/collaborators/{username}/permission |
Get repository permissions for a user |
| GET |
/repos/{owner}/{repo}/comments |
List commit comments for a repository |
| GET |
/repos/{owner}/{repo}/comments/{comment_id} |
Get a commit comment |
| PATCH |
/repos/{owner}/{repo}/comments/{comment_id} |
Update a commit comment |
| DELETE |
/repos/{owner}/{repo}/comments/{comment_id} |
Delete a commit comment |
| GET |
/repos/{owner}/{repo}/comments/{comment_id}/reactions |
List reactions for a commit comment |
| POST |
/repos/{owner}/{repo}/comments/{comment_id}/reactions |
Create reaction for a commit comment |
| GET |
/repos/{owner}/{repo}/commits |
List commits |
| GET |
/repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head |
List branches for HEAD commit |
| GET |
/repos/{owner}/{repo}/commits/{commit_sha}/comments |
List commit comments |
| POST |
/repos/{owner}/{repo}/commits/{commit_sha}/comments |
Create a commit comment |
| GET |
/repos/{owner}/{repo}/commits/{commit_sha}/pulls |
List pull requests associated with a commit |
| GET |
/repos/{owner}/{repo}/commits/{ref} |
Get a commit |
| GET |
/repos/{owner}/{repo}/commits/{ref}/check-runs |
List check runs for a Git reference |
| GET |
/repos/{owner}/{repo}/commits/{ref}/check-suites |
List check suites for a Git reference |
| GET |
/repos/{owner}/{repo}/commits/{ref}/status |
Get the combined status for a specific reference |
| GET |
/repos/{owner}/{repo}/commits/{ref}/statuses |
List commit statuses for a reference |
| GET |
/repos/{owner}/{repo}/compare/{basehead} |
Compare two commits |
| POST |
/repos/{owner}/{repo}/content_references/{content_reference_id}/attachments |
Create a content attachment |
| GET |
/repos/{owner}/{repo}/contents/{path} |
Get repository content |
| PUT |
/repos/{owner}/{repo}/contents/{path} |
Create or update file contents |
| DELETE |
/repos/{owner}/{repo}/contents/{path} |
Delete a file |
| GET |
/repos/{owner}/{repo}/contributors |
List repository contributors |
| GET |
/repos/{owner}/{repo}/deployments |
List deployments |
| POST |
/repos/{owner}/{repo}/deployments |
Create a deployment |
| GET |
/repos/{owner}/{repo}/deployments/{deployment_id} |
Get a deployment |
| GET |
/repos/{owner}/{repo}/deployments/{deployment_id}/statuses |
List deployment statuses |
| POST |
/repos/{owner}/{repo}/deployments/{deployment_id}/statuses |
Create a deployment status |
| GET |
/repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id} |
Get a deployment status |
| GET |
/repos/{owner}/{repo}/events |
List repository events |
| GET |
/repos/{owner}/{repo}/forks |
List forks |
| POST |
/repos/{owner}/{repo}/forks |
Create a fork |
| POST |
/repos/{owner}/{repo}/git/blobs |
Create a blob |
| GET |
/repos/{owner}/{repo}/git/blobs/{file_sha} |
Get a blob |
| POST |
/repos/{owner}/{repo}/git/commits |
Create a commit |
| GET |
/repos/{owner}/{repo}/git/commits/{commit_sha} |
Get a commit |
| GET |
/repos/{owner}/{repo}/git/matching-refs/{ref} |
List matching references |
| GET |
/repos/{owner}/{repo}/git/ref/{ref} |
Get a reference |
| POST |
/repos/{owner}/{repo}/git/refs |
Create a reference |
| PATCH |
/repos/{owner}/{repo}/git/refs/{ref} |
Update a reference |
| DELETE |
/repos/{owner}/{repo}/git/refs/{ref} |
Delete a reference |
| POST |
/repos/{owner}/{repo}/git/tags |
Create a tag object |
| GET |
/repos/{owner}/{repo}/git/tags/{tag_sha} |
Get a tag |
| POST |
/repos/{owner}/{repo}/git/trees |
Create a tree |
| GET |
/repos/{owner}/{repo}/git/trees/{tree_sha} |
Get a tree |
| GET |
/repos/{owner}/{repo}/hooks |
List repository webhooks |
| POST |
/repos/{owner}/{repo}/hooks |
Create a repository webhook |
| GET |
/repos/{owner}/{repo}/hooks/{hook_id} |
Get a repository webhook |
| PATCH |
/repos/{owner}/{repo}/hooks/{hook_id} |
Update a repository webhook |
| DELETE |
/repos/{owner}/{repo}/hooks/{hook_id} |
Delete a repository webhook |
| POST |
/repos/{owner}/{repo}/hooks/{hook_id}/pings |
Ping a repository webhook |
| POST |
/repos/{owner}/{repo}/hooks/{hook_id}/tests |
Test the push repository webhook |
| GET |
/repos/{owner}/{repo}/installation |
Get a repository installation for the authenticated app |
| GET |
/repos/{owner}/{repo}/invitations |
List repository invitations |
| PATCH |
/repos/{owner}/{repo}/invitations/{invitation_id} |
Update a repository invitation |
| DELETE |
/repos/{owner}/{repo}/invitations/{invitation_id} |
Delete a repository invitation |
| GET |
/repos/{owner}/{repo}/issues |
List repository issues |
| POST |
/repos/{owner}/{repo}/issues |
Create an issue |
| GET |
/repos/{owner}/{repo}/issues/comments |
List issue comments for a repository |
| GET |
/repos/{owner}/{repo}/issues/comments/{comment_id} |
Get an issue comment |
| PATCH |
/repos/{owner}/{repo}/issues/comments/{comment_id} |
Update an issue comment |
| DELETE |
/repos/{owner}/{repo}/issues/comments/{comment_id} |
Delete an issue comment |
| GET |
/repos/{owner}/{repo}/issues/comments/{comment_id}/reactions |
List reactions for an issue comment |
| POST |
/repos/{owner}/{repo}/issues/comments/{comment_id}/reactions |
Create reaction for an issue comment |
| GET |
/repos/{owner}/{repo}/issues/events |
List issue events for a repository |
| GET |
/repos/{owner}/{repo}/issues/events/{event_id} |
Get an issue event |
| GET |
/repos/{owner}/{repo}/issues/{issue_number} |
Get an issue |
| PATCH |
/repos/{owner}/{repo}/issues/{issue_number} |
Update an issue |
| POST |
/repos/{owner}/{repo}/issues/{issue_number}/assignees |
Add assignees to an issue |
| DELETE |
/repos/{owner}/{repo}/issues/{issue_number}/assignees |
Remove assignees from an issue |
| GET |
/repos/{owner}/{repo}/issues/{issue_number}/comments |
List issue comments |
| POST |
/repos/{owner}/{repo}/issues/{issue_number}/comments |
Create an issue comment |
| GET |
/repos/{owner}/{repo}/issues/{issue_number}/events |
List issue events |
| GET |
/repos/{owner}/{repo}/issues/{issue_number}/labels |
List labels for an issue |
| POST |
/repos/{owner}/{repo}/issues/{issue_number}/labels |
Add labels to an issue |
| PUT |
/repos/{owner}/{repo}/issues/{issue_number}/labels |
Set labels for an issue |
| DELETE |
/repos/{owner}/{repo}/issues/{issue_number}/labels |
Remove all labels from an issue |
| DELETE |
/repos/{owner}/{repo}/issues/{issue_number}/labels/{name} |
Remove a label from an issue |
| PUT |
/repos/{owner}/{repo}/issues/{issue_number}/lock |
Lock an issue |
| DELETE |
/repos/{owner}/{repo}/issues/{issue_number}/lock |
Unlock an issue |
| GET |
/repos/{owner}/{repo}/issues/{issue_number}/reactions |
List reactions for an issue |
| POST |
/repos/{owner}/{repo}/issues/{issue_number}/reactions |
Create reaction for an issue |
| GET |
/repos/{owner}/{repo}/issues/{issue_number}/timeline |
List timeline events for an issue |
| GET |
/repos/{owner}/{repo}/keys |
List deploy keys |
| POST |
/repos/{owner}/{repo}/keys |
Create a deploy key |
| GET |
/repos/{owner}/{repo}/keys/{key_id} |
Get a deploy key |
| DELETE |
/repos/{owner}/{repo}/keys/{key_id} |
Delete a deploy key |
| GET |
/repos/{owner}/{repo}/labels |
List labels for a repository |
| POST |
/repos/{owner}/{repo}/labels |
Create a label |
| GET |
/repos/{owner}/{repo}/labels/{name} |
Get a label |
| PATCH |
/repos/{owner}/{repo}/labels/{name} |
Update a label |
| DELETE |
/repos/{owner}/{repo}/labels/{name} |
Delete a label |
| GET |
/repos/{owner}/{repo}/languages |
List repository languages |
| GET |
/repos/{owner}/{repo}/license |
Get the license for a repository |
| POST |
/repos/{owner}/{repo}/merges |
Merge a branch |
| GET |
/repos/{owner}/{repo}/milestones |
List milestones |
| POST |
/repos/{owner}/{repo}/milestones |
Create a milestone |
| GET |
/repos/{owner}/{repo}/milestones/{milestone_number} |
Get a milestone |
| PATCH |
/repos/{owner}/{repo}/milestones/{milestone_number} |
Update a milestone |
| DELETE |
/repos/{owner}/{repo}/milestones/{milestone_number} |
Delete a milestone |
| GET |
/repos/{owner}/{repo}/milestones/{milestone_number}/labels |
List labels for issues in a milestone |
| GET |
/repos/{owner}/{repo}/notifications |
List repository notifications for the authenticated user |
| PUT |
/repos/{owner}/{repo}/notifications |
Mark repository notifications as read |
| GET |
/repos/{owner}/{repo}/pages |
Get a GitHub Enterprise Server Pages site |
| POST |
/repos/{owner}/{repo}/pages |
Create a GitHub Pages site |
| PUT |
/repos/{owner}/{repo}/pages |
Update information about a GitHub Pages site |
| DELETE |
/repos/{owner}/{repo}/pages |
Delete a GitHub Enterprise Server Pages site |
| GET |
/repos/{owner}/{repo}/pages/builds |
List GitHub Enterprise Server Pages builds |
| POST |
/repos/{owner}/{repo}/pages/builds |
Request a GitHub Enterprise Server Pages build |
| GET |
/repos/{owner}/{repo}/pages/builds/latest |
Get latest Pages build |
| GET |
/repos/{owner}/{repo}/pages/builds/{build_id} |
Get GitHub Enterprise Server Pages build |
| GET |
/repos/{owner}/{repo}/pre-receive-hooks |
List pre-receive hooks for a repository |
| GET |
/repos/{owner}/{repo}/pre-receive-hooks/{pre_receive_hook_id} |
Get a pre-receive hook for a repository |
| PATCH |
/repos/{owner}/{repo}/pre-receive-hooks/{pre_receive_hook_id} |
Update pre-receive hook enforcement for a repository |
| DELETE |
/repos/{owner}/{repo}/pre-receive-hooks/{pre_receive_hook_id} |
Remove pre-receive hook enforcement for a repository |
| GET |
/repos/{owner}/{repo}/projects |
List repository projects |
| POST |
/repos/{owner}/{repo}/projects |
Create a repository project |
| GET |
/repos/{owner}/{repo}/pulls |
List pull requests |
| POST |
/repos/{owner}/{repo}/pulls |
Create a pull request |
| GET |
/repos/{owner}/{repo}/pulls/comments |
List review comments in a repository |
| GET |
/repos/{owner}/{repo}/pulls/comments/{comment_id} |
Get a review comment for a pull request |
| PATCH |
/repos/{owner}/{repo}/pulls/comments/{comment_id} |
Update a review comment for a pull request |
| DELETE |
/repos/{owner}/{repo}/pulls/comments/{comment_id} |
Delete a review comment for a pull request |
| GET |
/repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions |
List reactions for a pull request review comment |
| POST |
/repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions |
Create reaction for a pull request review comment |
| GET |
/repos/{owner}/{repo}/pulls/{pull_number} |
Get a pull request |
| PATCH |
/repos/{owner}/{repo}/pulls/{pull_number} |
Update a pull request |
| GET |
/repos/{owner}/{repo}/pulls/{pull_number}/comments |
List review comments on a pull request |
| POST |
/repos/{owner}/{repo}/pulls/{pull_number}/comments |
Create a review comment for a pull request |
| POST |
/repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies |
Create a reply for a review comment |
| GET |
/repos/{owner}/{repo}/pulls/{pull_number}/commits |
List commits on a pull request |
| GET |
/repos/{owner}/{repo}/pulls/{pull_number}/files |
List pull requests files |
| GET |
/repos/{owner}/{repo}/pulls/{pull_number}/merge |
Check if a pull request has been merged |
| PUT |
/repos/{owner}/{repo}/pulls/{pull_number}/merge |
Merge a pull request |
| GET |
/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers |
List requested reviewers for a pull request |
| POST |
/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers |
Request reviewers for a pull request |
| DELETE |
/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers |
Remove requested reviewers from a pull request |
| GET |
/repos/{owner}/{repo}/pulls/{pull_number}/reviews |
List reviews for a pull request |
| POST |
/repos/{owner}/{repo}/pulls/{pull_number}/reviews |
Create a review for a pull request |
| GET |
/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id} |
Get a review for a pull request |
| PUT |
/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id} |
Update a review for a pull request |
| DELETE |
/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id} |
Delete a pending review for a pull request |
| GET |
/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments |
List comments for a pull request review |
| PUT |
/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/dismissals |
Dismiss a review for a pull request |
| POST |
/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/events |
Submit a review for a pull request |
| PUT |
/repos/{owner}/{repo}/pulls/{pull_number}/update-branch |
Update a pull request branch |
| GET |
/repos/{owner}/{repo}/readme |
Get a repository README |
| GET |
/repos/{owner}/{repo}/readme/{dir} |
Get a repository README for a directory |
| GET |
/repos/{owner}/{repo}/releases |
List releases |
| POST |
/repos/{owner}/{repo}/releases |
Create a release |
| GET |
/repos/{owner}/{repo}/releases/assets/{asset_id} |
Get a release asset |
| PATCH |
/repos/{owner}/{repo}/releases/assets/{asset_id} |
Update a release asset |
| DELETE |
/repos/{owner}/{repo}/releases/assets/{asset_id} |
Delete a release asset |
| GET |
/repos/{owner}/{repo}/releases/latest |
Get the latest release |
| GET |
/repos/{owner}/{repo}/releases/tags/{tag} |
Get a release by tag name |
| GET |
/repos/{owner}/{repo}/releases/{release_id} |
Get a release |
| PATCH |
/repos/{owner}/{repo}/releases/{release_id} |
Update a release |
| DELETE |
/repos/{owner}/{repo}/releases/{release_id} |
Delete a release |
| GET |
/repos/{owner}/{repo}/releases/{release_id}/assets |
List release assets |
| POST |
/repos/{owner}/{repo}/releases/{release_id}/assets |
Upload a release asset |
| GET |
/repos/{owner}/{repo}/stargazers |
List stargazers |
| GET |
/repos/{owner}/{repo}/stats/code_frequency |
Get the weekly commit activity |
| GET |
/repos/{owner}/{repo}/stats/commit_activity |
Get the last year of commit activity |
| GET |
/repos/{owner}/{repo}/stats/contributors |
Get all contributor commit activity |
| GET |
/repos/{owner}/{repo}/stats/participation |
Get the weekly commit count |
| GET |
/repos/{owner}/{repo}/stats/punch_card |
Get the hourly commit count for each day |
| POST |
/repos/{owner}/{repo}/statuses/{sha} |
Create a commit status |
| GET |
/repos/{owner}/{repo}/subscribers |
List watchers |
| GET |
/repos/{owner}/{repo}/subscription |
Get a repository subscription |
| PUT |
/repos/{owner}/{repo}/subscription |
Set a repository subscription |
| DELETE |
/repos/{owner}/{repo}/subscription |
Delete a repository subscription |
| GET |
/repos/{owner}/{repo}/tags |
List repository tags |
| GET |
/repos/{owner}/{repo}/tarball/{ref} |
Download a repository archive (tar) |
| GET |
/repos/{owner}/{repo}/teams |
List repository teams |
| GET |
/repos/{owner}/{repo}/topics |
Get all repository topics |
| PUT |
/repos/{owner}/{repo}/topics |
Replace all repository topics |
| POST |
/repos/{owner}/{repo}/transfer |
Transfer a repository |
| GET |
/repos/{owner}/{repo}/zipball/{ref} |
Download a repository archive (zip) |
| POST |
/repos/{template_owner}/{template_repo}/generate |
Create a repository using a template |