v1

latestOpenAPI 3.1.02026-07-261344388.3 KB
Branches

Get branch

Retrieves details of a specific branch including its latest commit and change requests.

get/api/projects/{projectId}/branches/{branchId}

Path parameters

projectIdstring uuid required

Project ID

string uuid required
OR
'main' required

Branch ID or "main" for the default branch

Response

Branch details with latest commit and change requests

idstring uuid required

Branch ID

namestring required

Branch name

defaultboolean required

Whether this is the default (main) branch

projectIdstring uuid required

Project ID

baseCommitIdstring uuid nullable required

Base commit ID

createdByIdstring uuid nullable required

ID of user who created the branch

createdAtstring date-time required

Creation timestamp

updatedAtstring date-time required

Last update timestamp

totalCommitsnumber required

Total number of commits on the branch