GitHub Commits API

The GitHub Commits API lets you list, retrieve, and compare commits in a repository, as well as manage commit comments and commit statuses. It provides endpoints for viewing commit details, listing pull requests associated with a commit, getting the combined status for a ref, and creating status checks that report build or test results.

Documentation

API entry from apis.yml

apis.yml Raw ↑
aid: github:github-commits-api
name: GitHub Commits API
tags:
- Commits
- Source Control
baseURL: https://api.github.com
humanURL: https://docs.github.com/en/rest/commits?apiVersion=2022-11-28
properties:
- url: https://docs.github.com/en/rest/commits
  type: Documentation
description: The GitHub Commits API lets you list, retrieve, and compare commits in a repository, as well
  as manage commit comments and commit statuses. It provides endpoints for viewing commit details, listing
  pull requests associated with a commit, getting the combined status for a ref, and creating status checks
  that report build or test results.