Skip to main content
GET
Get commit

Authorizations

Authorization
string
header
required

Personal access token is obtained through your profile

Path Parameters

projectId
string<uuid>
required

Project ID

commitId
string<uuid>
required

Commit ID

Query Parameters

content
boolean
default:false

Whether to include file content in the response

Response

200 - application/json

The requested commit

The requested commit

id
string<uuid>
required

Commit ID

message
string | null
required

Commit message

branchId
string<uuid>
required

Branch ID

projectId
string<uuid>
required

Project ID

createdById
string<uuid> | null
required

ID of user who created the commit

createdAt
string<date-time>
required

Creation timestamp

createdBy
object | null

User who created the commit

files
any[]

Commit files