We've recently moved some of the REST API documentation. If you can't find what you're looking for, you might try the new Branches, Collaborators, Commits, Deploy Keys, Deployments, GitHub Pages, Releases, Metrics, Webhooks REST API pages.
Use the REST API to interact with commits.
- List commits
- List branches for HEAD commit
- List pull requests associated with a commit
- Get a commit
- Compare two commits
- 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
- Commit statuses