Create a branch of an existing project

Creates a branch from the project's latest revision.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
int32
required
Body Params

Request body for creating a branch of a project.

string | null

Approval status: "approved" or "rejected" (case-insensitive), or null for none; "approved" when omitted.

string | null

Comment stored with the revision, up to 500 characters.

flags
array of strings | null

Revision flags, case-insensitive: development, release, hotfix, master, question, fire, fail or favorite.

flags
string
required
length ≥ 1

Name for the new branch. Must be unique among branches of the project.

string | null

Name for the initial revision of the branch. Defaults to "Initial revision" if not provided.

boolean

When true, the new branch gets the team of Main: its user groups and members with their roles. The creator
and the Main owner stay owners. Defaults to false, which keeps only the creator and the Main owner.

Headers
string
enum
Defaults to application/json

Generated from available request content types

Allowed:
Responses
202

Branch creation accepted

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json