POST
/
repos
/
{repo_id}
/
branches

Authorizations

Authorization
string
headerrequired

This API uses OAuth 2 with the implicit grant flow

Path Parameters

repo_id
string
required

The repo ID of the repository. Repo name can be used instead of the ID, but usage of ID for permanent linking and API requests is preferred.

Required string length: 3 - 128

Body

application/json
commit_id
string
required
Required string length: 3 - 128
branch_name
string
required
Required string length: 1 - 128
branch_description
string

Response

201 - application/json
id
string
required

The id of the newly created resource