Path parameters
-
doc_id string Required
UUID or slug of a documentation which can be seen in the CI deployment settings page of your documentation
POST /docs/{doc_id_or_slug}/branches
curl \
-X POST https://bump.sh/api/v1/docs/{doc_id_or_slug}/branches \
-H "Authorization: Token $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"name":"string"}'
Request example
{
"name": "string"
}
Response example (201)
{
"name": "3ef8f52f-9056-4113-840e-2f7183b90e06",
"slug": "my-branch",
"is_default": false
}