Search skmtc…
⌘K
Docs
Sign in
APIs
Generators
Stacks
Projects
Docs
History
Schema
Generate
Filter operations
actions
135
activity
31
apps
29
billing
2
checks
12
code-scanning
11
codes-of-conduct
2
dependabot
19
dependency-graph
2
emojis
1
enterprise-admin
119
gists
20
git
13
gitignore
2
issues
40
licenses
3
markdown
2
meta
4
migrations
11
oauth-authorizations
10
oidc
2
orgs
42
projects
25
pulls
27
rate-limit
1
reactions
25
repos
160
get
/orgs/{org}/repos
List organization repositories
post
/orgs/{org}/repos
Create an organization repository
get
/repos/{owner}/{repo}
Get a repository
delete
/repos/{owner}/{repo}
Delete a repository
patch
/repos/{owner}/{repo}
Update a repository
get
/repos/{owner}/{repo}/autolinks
Get all autolinks of a repository
post
/repos/{owner}/{repo}/autolinks
Create an autolink reference for a repository
get
/repos/{owner}/{repo}/autolinks/{autolink_id}
Get an autolink reference of a repository
delete
/repos/{owner}/{repo}/autolinks/{autolink_id}
Delete an autolink reference from a repository
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
delete
/repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews
Delete pull request review protection
patch
/repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews
Update 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
delete
/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks
Remove status check protection
patch
/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks
Update status check protection
get
/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts
Get all status check contexts
put
/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts
Set status check contexts
post
/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts
Add 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
put
/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps
Set app access restrictions
post
/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps
Add 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
put
/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams
Set team access restrictions
post
/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams
Add 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
put
/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users
Set user access restrictions
post
/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users
Add user access restrictions
delete
/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users
Remove user access restrictions
post
/repos/{owner}/{repo}/branches/{branch}/rename
Rename a branch
get
/repos/{owner}/{repo}/codeowners/errors
List CODEOWNERS errors
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
delete
/repos/{owner}/{repo}/comments/{comment_id}
Delete a commit comment
patch
/repos/{owner}/{repo}/comments/{comment_id}
Update 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}/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
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
delete
/repos/{owner}/{repo}/deployments/{deployment_id}
Delete 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
post
/repos/{owner}/{repo}/dispatches
Create a repository dispatch event
get
/repos/{owner}/{repo}/environments
List environments
get
/repos/{owner}/{repo}/environments/{environment_name}
Get an environment
put
/repos/{owner}/{repo}/environments/{environment_name}
Create or update an environment
delete
/repos/{owner}/{repo}/environments/{environment_name}
Delete an environment
get
/repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies
List deployment branch policies
post
/repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies
Create a deployment branch policy
get
/repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}
Get a deployment branch policy
put
/repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}
Update a deployment branch policy
delete
/repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}
Delete a deployment branch policy
get
/repos/{owner}/{repo}/forks
List forks
post
/repos/{owner}/{repo}/forks
Create a fork
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
delete
/repos/{owner}/{repo}/hooks/{hook_id}
Delete a repository webhook
patch
/repos/{owner}/{repo}/hooks/{hook_id}
Update a repository webhook
get
/repos/{owner}/{repo}/hooks/{hook_id}/config
Get a webhook configuration for a repository
patch
/repos/{owner}/{repo}/hooks/{hook_id}/config
Update a webhook configuration for a repository
get
/repos/{owner}/{repo}/hooks/{hook_id}/deliveries
List deliveries for a repository webhook
get
/repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}
Get a delivery for a repository webhook
post
/repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}/attempts
Redeliver a delivery for 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}/invitations
List repository invitations
delete
/repos/{owner}/{repo}/invitations/{invitation_id}
Delete a repository invitation
patch
/repos/{owner}/{repo}/invitations/{invitation_id}
Update a repository invitation
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}/languages
List repository languages
put
/repos/{owner}/{repo}/lfs
Enable Git LFS for a repository
delete
/repos/{owner}/{repo}/lfs
Disable Git LFS for a repository
post
/repos/{owner}/{repo}/merge-upstream
Sync a fork branch with the upstream repository
post
/repos/{owner}/{repo}/merges
Merge a branch
get
/repos/{owner}/{repo}/pages
Get a GitHub Enterprise Server Pages site
put
/repos/{owner}/{repo}/pages
Update information about a GitHub Enterprise Server Pages site
post
/repos/{owner}/{repo}/pages
Create a GitHub Enterprise Server 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
post
/repos/{owner}/{repo}/pages/deployments
Create a GitHub Pages deployment
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
delete
/repos/{owner}/{repo}/releases/assets/{asset_id}
Delete a release asset
patch
/repos/{owner}/{repo}/releases/assets/{asset_id}
Update a release asset
post
/repos/{owner}/{repo}/releases/generate-notes
Generate release notes content for a release
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
delete
/repos/{owner}/{repo}/releases/{release_id}
Delete a release
patch
/repos/{owner}/{repo}/releases/{release_id}
Update 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}/replicas/caches
List repository cache replication status
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}/tags
List repository tags
get
/repos/{owner}/{repo}/tags/protection
List tag protection states for a repository
post
/repos/{owner}/{repo}/tags/protection
Create a tag protection state for a repository
delete
/repos/{owner}/{repo}/tags/protection/{tag_protection_id}
Delete a tag protection state for a repository
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
get
/repositories
List public repositories
get
/user/repos
List repositories for the authenticated user
post
/user/repos
Create a repository for the authenticated user
get
/user/repository_invitations
List repository invitations for the authenticated user
delete
/user/repository_invitations/{invitation_id}
Decline a repository invitation
patch
/user/repository_invitations/{invitation_id}
Accept a repository invitation
get
/users/{username}/repos
List repositories for a user
search
7
secret-scanning
6
teams
63
users
32
repos
Copy Markdown
Copied
Copy failed
Changes to Create a GitHub Pages deployment
post
/repos/{owner}/{repo}/pages/deployments
Jan 24, 2024
3.8
221daf18d67f
Revision changes
info
endpoint added