GitButler Logo

Branches

GET
/branches/{project_id}

Get Branches Project Id

Return all active branches with statuses for a project

Path Parameters

project_id
Required
string

Project ID

Status codeDescription
200Return all active branches with statuses for a project
401Unauthorized
404Not found
/branches/{project_id}

curl -X GET "https://app.gitbutler.com/api/branches/string"

Butler_API_Entities_Branch model

{
  "name": "string",
  "description": "string",
  "commit_sha": "string",
  "ahead": "string",
  "behind": "string",
  "upstream_mergeable": "string",
  "notices": "string",
  "notices_url": "string",
  "other_authors": "string",
  "branch_id": "string",
  "branch_type": "string",
  "runner_status": "string",
  "runner_url": "string",
  "created_at": "string",
  "updated_at": "string"
}