The REST API is now versioned. For more information, see "About API versioning."
Repositories
Use the REST API to create, manage and control the workflow of public and private GitHub Enterprise Cloud repositories.
- Repositories
- List organization repositories
- Create an organization repository
- Get a repository
- Update a repository
- Delete a repository
- Enable automated security fixes
- Disable automated security fixes
- List CODEOWNERS errors
- List repository contributors
- Create a repository dispatch event
- List repository languages
- List repository tags
- List repository teams
- Get all repository topics
- Replace all repository topics
- Transfer a repository
- Check if vulnerability alerts are enabled for 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
- Repository autolinks
- List all autolinks of a repository
- Create an autolink reference for a repository
- Get an autolink reference of a repository
- Delete an autolink reference from a repository
- Repository contents
- Get repository content
- Create or update file contents
- Delete a file
- Get a repository README
- Get a repository README for a directory
- Download a repository archive (tar)
- Download a repository archive (zip)
- Forks
- Git LFS
- Rules
- Get rules for a branch
- Get all repository rulesets
- Create a repository ruleset
- Get a repository ruleset
- Update a repository ruleset
- Delete a repository ruleset
- Repository tags