This version of GitHub Enterprise was discontinued on 2023-07-06. No patch releases will be made, even for critical security issues. For better performance, improved security, and new features, upgrade to the latest version of GitHub Enterprise. For help with the upgrade, contact GitHub Enterprise support.
After a site administrator upgrades your Enterprise Server instance to Enterprise Server 3.9 or later, the REST API will be versioned. To learn how to find your instance's version, see "About versions of GitHub Docs". 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 Server repositories.
- Repositories
- List organization repositories
- Create an organization repository
- Get a repository
- Update a repository
- Delete a repository
- List CODEOWNERS errors
- List repository contributors
- Create a repository dispatch event
- List repository languages
- List repository cache replication status
- List repository tags
- List repository teams
- Get all repository topics
- Replace all repository topics
- Transfer a repository
- 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
- Repository tags