cURL
Branches
List branches
List all branches of the current 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)
Path Parameters
Project ID
Query Parameters
Page number
Limit on the number of objects to be returned, between 1 and 100. 25 by default
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