Git Commits
List
List git commits.
get/git_commits
Query parameters
offsetinteger
The offset of the items to return. An offset of 10 with a limit of 10 returns items 11-20.
limitinteger
Example:10
The maximum number of items to return. A limit of 15 with an offset of 0 returns items 1-15.
order_byGitCommitOrderBy[]
Sort order for the git commit results.
[ "created_at:desc" ]
expandGitCommitListExpansion[]
Fields to expand on each git commit in the list.
idstring[]
The git commit IDs to filter by.
[ "git_cmt_123" ]
shastring[]
The git commit SHAs to filter by.
[ "a1b2c3d4e5f6" ]
Response
Successfully listed the git commits.
Example response
{
"object": "list",
"data": [
{
"object": "git_commit",
"id": "git_commit_123",
"sha": "a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0",
"message": "Add basic motion configurations",
"repository_owner": "user",
"repository_name": "repo",
"repository_url": "https://github.com/user/repo",
"commit_url": "https://github.com/user/repo/commit/a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0",
"created_at": "2021-01-01T00:00:00Z"
}
]
}