List branches
GET
/api/v1/git/branches
List all local branches in the repository, optionally filtered by a glob pattern.
Parameters
Query Parameters
filter
string filter against with the branch name is matched
Type[
"string",
"null"
]
Responses
List of branches
application/json
JSON
{
"branches": [
{
"head": {
"author": {
"email": "string",
"name": "string"
},
"body": "string",
"committer": {
"email": "string",
"name": "string"
},
"id": "string",
"summary": "string",
"time": "string"
},
"name": "string"
}
]
}
GET
/api/v1/git/branches