Create new branch
POST
/api/v1/git/branches
Creates a new branch at the specified revision.
Parameters
Query Parameters
name*
Name of the branch to create
Typestring
Requiredrevision*
Revision to create the branch on, this can be a short hash, full hash or a tag
Typestring
RequiredResponses
Branch created successfully
application/json
JSON
{
"head": {
"author": {
"email": "string",
"name": "string"
},
"body": "string",
"committer": {
"email": "string",
"name": "string"
},
"id": "string",
"summary": "string",
"time": "string"
},
"name": "string"
}
POST
/api/v1/git/branches