Git Commits
Create
Register a git commit.
post/git_commits
Request body
Example request
{
"sha": "a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0",
"message": "Update config schema for robot1",
"origin": "https://github.com/robot1/robot1.git"
}Response
Successfully created the git commit.
Example response
{
"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"
}