List available branches
List the available branches of a given documentation.
Path parameters
-
UUID or slug of a documentation which can be seen in the CI deployment settings page of your documentation
GET /docs/{doc_id_or_slug}/branches
curl \
-X GET https://bump.sh/api/v1/docs/{doc_id_or_slug}/branches \
-H "Authorization: Token $ACCESS_TOKEN"
Response examples (200)
[
{
"name": "3ef8f52f-9056-4113-840e-2f7183b90e06",
"slug": "my-branch",
"is_default": false
}
]