List Branches
deprecated
List branches in the repository with cursor pagination. Use this to build branch selectors, review tools, or sync jobs without shelling out to Git.
Deprecated: Use /api/repos/{repo_name}/branches instead.
GET
List Branches
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Pagination cursor returned by a previous list_branches response.
Maximum number of branches to return. Defaults to 20.
When true, list branches under the ephemeral namespace instead of regular branches.
Response
Repository branches in creation order.
List Branches