This version of GitHub Enterprise was discontinued on 2023-03-15. 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."
Pulls
Use the REST API to manage pull requests and pull request reviews.
- Pulls
- List pull requests
- Create a pull request
- Get a pull request
- Update a pull request
- List commits on a pull request
- List pull requests files
- Check if a pull request has been merged
- Merge a pull request
- Update a pull request branch
- Pull request review comments
- List review comments in a repository
- Get a review comment for a pull request
- Update a review comment for a pull request
- Delete a review comment for a pull request
- List review comments on a pull request
- Create a review comment for a pull request
- Create a reply for a review comment
- Review requests
- Get all requested reviewers for a pull request
- Request reviewers for a pull request
- Remove requested reviewers from a pull request
- Pull request reviews