v1

latestOpenAPI 3.0.32026-07-22115106141.4 KB
Repository Branch Manipulation

Get a list of all branches in the repo.

get/repos/{repo_id}/branches

Response

Success

object'Branch' required

Example response

{
  "items": [
    {
      "commit_id": "example_id",
      "branch_name": "new-branch-name",
      "branch_description": "A description of the branch"
    }
  ]
}