Get branch

Get a specific branch in a repository.

Path parameters

repostringRequired
The repository name
branchstringRequired

The url-encoded branch name

Headers

AuthorizationstringRequired

Query parameters

projKeystringOptional
Filter results to a specific project
flagKeystringOptional
Filter results to a specific flag key

Response

Branch response
namestring
The branch name
headstring
An ID representing the branch HEAD. For example, a commit SHA.
syncTimelong
A timestamp indicating when the branch was last synced
updateSequenceIdlongOptional
An optional ID used to prevent older data from overwriting newer data
referenceslist of objectsOptional
An array of flag references found on the branch

Errors