Swagger 2.02026-08-141,9198883.7 MB

dbbd6d1e3f1c

Branches

Create a branch given a project, the base git ref, and the new branch's name

post/spaces/{spaceIdentifier}/projects/{projectId}/git/branches/v2

Path parameters

spaceIdentifierstring required

Identifier (ID or slug) of the space

projectIdstring required

Request body

BaseGitRefstring required
NewBranchNamestring required
ProjectIdstring required
SpaceIdstring required

Response

The newly-created Branch

CanonicalNamestring required
Idstring
IsProtectedboolean required
LastModifiedBystring
LastModifiedOnstring date-time
Linksobject
Namestring required