cURL
Branches
Get a single branch
Get details on a single branch for a given project.
Requires the Branching feature to be enabled on the account.
GET
cURL
Authorizations
Enter your token in the format token TOKEN
Headers
Two-Factor-Authentication token (optional)
Response
OK
Name of the base branch this branch was created from. Only present for branches created with the newer branching system.
Example:
{
"id": "abcd1234cdef1234abcd1234cdef1234",
"username": "johndoe",
"name": "John Doe",
"gravatar_uid": "205e460b479e2e5b48aec07710c08d50"
}Example:
{
"id": "abcd1234cdef1234abcd1234cdef1234",
"username": "johndoe",
"name": "John Doe",
"gravatar_uid": "205e460b479e2e5b48aec07710c08d50"
}Available options:
creating_branch, merging_branch, syncing_branch, merged, success, branch_error, merge_conflict