List GitLab project branches available for a Git Sync installation
get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
installationIdstringRequired
Identifier of the installation
projectIdnumberRequired
Responses
200
GitLab branches available for the selected project
application/json
401
Unauthorized
application/json
404
Not Found
application/json
get/git/installations/{installationId}/gitlab/projects/{projectId}/branches
GET /v1/git/installations/{installationId}/gitlab/projects/{projectId}/branches HTTP/1.1
Host: api.gitbook.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"items": [
{
"name": "text",
"ref": "text"
}
]
}Last updated
Was this helpful?