The REST API is now versioned. For more information, see "About API versioning".
The commits API allows you to list, view, and compare commits in a repository. You can also interact with commit comments and commit statuses.
- 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