v1

latestOpenAPI 3.1.02026-07-261344388.3 KB
Branches

Get commit diff

Retrieves the diff (file changes) for a specific commit compared to its previous commit.

get/api/projects/{projectId}/commits/{commitId}/diff

Path parameters

projectIdstring uuid required

Project ID

commitIdstring uuid required

Commit ID

Query parameters

'true' | 'false' | 'True' | 'False' | 'TRUE' | 'FALSE'
OR
boolean

Whether to include file content in the response

Response

Commit diff with file changes and statistics

idstring uuid required

Commit ID

messagestring nullable required

Commit message

branchIdstring uuid required

Branch ID

projectIdstring uuid required

Project ID

createdByIdstring uuid nullable required

ID of user who created the commit

createdAtstring date-time required

Creation timestamp