get
https://{yourinstance}.makaira.io/storefront/deployments/github/branches
Returns the available GitHub branches and the current auto-deploy branch.
Returns the list of available GitHub branches for the storefront repository, along with the currently configured auto-deploy branch.
Requires the storefront:deployments:read or storefront.read permission.
Request
GET /storefront/deployments/github/branches
Headers
| Header | Value |
|---|---|
Authorization | Bearer <token> |
Response
Response Body
| Field | Type | Description |
|---|---|---|
auto_deploy_branch | string | The branch currently configured for automatic deployment. |
branches | array | List of available branch names in the connected GitHub repository. |
Example Response
{
"auto_deploy_branch": "main",
"branches": [
"main",
"develop",
"feature/new-homepage"
]
}
