v4

OpenAPI 3.0.1Apache 2.02026-07-312457525.9 MB
Project API

Returns details of a single commit

get/workspaces/{workspace_domain}/projects/{project_name}/repository/commits/{revision}

Path parameters

workspace_domainstring required
Example:my-company

The human-readable ID of the workspace

project_namestring required
Example:my-project

The human-readable ID of the project

revisionstring required
Example:abc123def456

The git revision (commit SHA, branch name, or tag name)

Response

urlstring

API endpoint to GET this object

html_urlstring

Web URL to view this object in Buddy.works

revisionstring

The full SHA hash of the commit

author_datestring date-time

The date when the commit was authored

commit_datestring date-time

The date when the commit was committed

short_revisionstring

The short SHA hash of the commit (first 7 characters)

messagestring

The commit message

content_urlstring

API endpoint to GET the repository contents at this commit