Reference

List branches

The branches, in name order.

GET
/namespaces/{namespace}/branches

Authorization

bearer
headerAuthorizationBearer <token>

Path Parameters

namespace*string

A namespace of your organization, such as prod/app, or <org>:<namespace> for a public namespace of another one. Encode / as %2F.

Query Parameters

limit?|

The most branches to return, at most 1000. 1000 by default.

after?string

The next page: the name of the last one of the page before.

Lengthlength <= 4096

Response Body

The branches.

application/json
  1. response
[index: integer]?
Example Request
curl -X GET 'https://example.com/v1/namespaces/string/branches'
Example Response
[  {    "name": "string",    "forked_from": "string",    "protected": true,    "created": "2019-08-24T14:15:22Z"  }]