v1

latestOpenAPI 3.1.02026-07-261344388.3 KB
Branches

Create branch

Creates a new branch in the project.

post/api/projects/{projectId}/branches

Path parameters

projectIdstring uuid required

Project ID

Request body

namestring required

Name for the new branch

Response

The newly created branch

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