v1

latestSwagger 2.02026-08-061,9128853.7 MB
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