v5

latestOpenAPI 3.0.3MITraw.githubusercontent.com2026-04-06102026.7 KB
Git Commits

Get

Retrieve a git commit by its ID.

get/git_commits/{git_commit_id}

Path parameters

git_commit_idstring required
Example:git_commit_123

The unique identifier of the git commit.

Response

Successfully retrieved the git commit.

object'git_commit' required

The object type, which is always git_commit.

idstring required

ID of the git commit.

shastring required

The SHA hash of the git commit.

messagestring required

The commit message.

commit_urlstring required

The URL of the git commit.

created_atstring date-time required

Timestamp of when the git commit was created.

Example response

{
  "object": "git_commit",
  "id": "git_commit_123",
  "sha": "a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0",
  "message": "Add basic motion configurations",
  "commit_url": "https://github.com/user/repo/commit/a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0",
  "created_at": "2021-01-01T00:00:00Z"
}