Skip to main content
POST
Error

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

projectId
string<uuid>
required

Body

application/json
name
string
required
sourceBranchId
string<uuid>
required
description
string

Response

201 - application/json

Branch created

id
string<uuid>
required
projectId
string<uuid>
required
name
string
required
type
enum<string>
required
Available options:
MAIN,
FEATURE,
RELEASE,
HOTFIX
status
enum<string>
required
Available options:
ACTIVE,
MERGED,
CLOSED
createdAt
string<date-time>
required
createdBy
string<uuid>
required
description
string | null
sourceBranchId
string<uuid> | null
headCommitId
string<uuid> | null