Repository Branch Manipulation
Post repos branches
Create a branch
POST
Authorizations
This API uses OAuth 2 with the implicit grant flow
Path Parameters
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
Example:
"example_id"
Body
application/json
Required string length:
3 - 128
Example:
"example_id"
Required string length:
1 - 128
Example:
"new-branch-name"
Example:
"A description of the branch"
Response
201
application/json
Resource created
The id of the newly created resource
Example:
"example_id"