v1
latestOpenAPI 3.0.32026-07-22238629559.2 KBProjectsService
Get Branch
Get a branch by its ID.
get/api/v2/deployments/{deploymentId}/projects/{projectId}/branches/{branchId}
Path parameters
deploymentIdinteger required
Your deployment ID.
projectIdinteger required
The unique identifier for the project.
Example:555
branchIdinteger required
The branch id
Example:51234
Response
OK
Example response
{
"branch": {
"id": 51234,
"name": "refs/heads/main"
}
}