Article version: Enterprise Server 2.19
Article version: Enterprise Server 2.19
Repositories
In this article
- List organization repositories
- Create an organization repository
- Get a repository
- Update a repository
- Delete a repository
- List repository contributors
- List repository languages
- List repository tags
- List repository teams
- Get all repository topics
- Replace all repository topics
- Transfer a repository
- Enable vulnerability alerts
- Disable vulnerability alerts
- Create a repository using a template
- List public repositories
- List repositories for the authenticated user
- Create a repository for the authenticated user
- List repositories for a user
- Branches
- List branches
- Get a branch
- Get branch protection
- Update branch protection
- Delete branch protection
- Get admin branch protection
- Set admin branch protection
- Delete admin branch protection
- Get pull request review protection
- Update pull request review protection
- Delete pull request review protection
- Get commit signature protection
- Create commit signature protection
- Delete commit signature protection
- Get status checks protection
- Update status check protection
- Remove status check protection
- Get all status check contexts
- Add status check contexts
- Set status check contexts
- Remove status check contexts
- Get access restrictions
- Delete access restrictions
- Get apps with access to the protected branch
- Add app access restrictions
- Set app access restrictions
- Remove app access restrictions
- Get teams with access to the protected branch
- Add team access restrictions
- Set team access restrictions
- Remove team access restrictions
- Get users with access to the protected branch
- Add user access restrictions
- Set user access restrictions
- Remove user access restrictions
- Collaborators
- List repository collaborators
- Check if a user is a repository collaborator
- Add a repository collaborator
- Remove a repository collaborator
- Get repository permissions for a user
- Comments
- Custom media types for commit comments
- List commit comments for a repository
- Get a commit comment
- Update a commit comment
- Delete a commit comment
- List commit comments
- Create a commit comment
- Commits
- List commits
- List branches for HEAD commit
- List pull requests associated with a commit
- Get a commit
- Compare two commits
- Contents
- Custom media types for repository contents
- Get repository content
- Create or update file contents
- Delete a file
- Get a repository README
- Download a repository archive (tar)
- Download a repository archive (zip)
- Deploy keys
- List deploy keys
- Create a deploy key
- Get a deploy key
- Delete a deploy key
- Deployments
- Inactive deployments
- List deployments
- Create a deployment
- Get a deployment
- List deployment statuses
- Create a deployment status
- Get a deployment status
- Forks
- List forks
- Create a fork
- Invitations
- Invite a user to a repository
- List repository invitations
- Update a repository invitation
- Delete a repository invitation
- List repository invitations for the authenticated user
- Accept a repository invitation
- Decline a repository invitation
- Merging
- Merge a branch
- Pages
- Get a GitHub Enterprise Server Pages site
- Create a GitHub Pages site
- Update information about a GitHub Pages site
- Delete a GitHub Enterprise Server Pages site