/github/commits

POST /api/github/commits

Price: 5 credits

Get a GitHub commit by sha, branch, or tag within a repository

How to use it

Get full details of a single GitHub commit identified by a commit URL, 'owner/repo@sha' form, or 'owner/repo/sha'. The sha may be a full/short commit hash, a branch name, or a tag. Returns the commit message, author and committer (git identity plus GitHub user when known), authored/committed timestamps, parent commit hashes, addition/deletion/total line counts, GPG verification status, comment count, and the list of changed files with per-file line counts.

Parameters

Request body

Response

Errors

Response headers