List project branches
$ stl projects:branches list
GET/v0/projects/{project}/branches
Retrieve a project branch by name.
Parameters
Returns
List project branches
stl projects:branches list \
--project project{
"data": [
{
"branch": "branch",
"config_commit": {
"repo": {
"branch": "branch",
"name": "name",
"owner": "owner"
},
"sha": "sha"
},
"latest_build_id": "latest_build_id",
"object": "project_branch",
"org": "org",
"project": "project"
}
],
"has_more": true,
"next_cursor": "next_cursor"
}Returns Examples
{
"data": [
{
"branch": "branch",
"config_commit": {
"repo": {
"branch": "branch",
"name": "name",
"owner": "owner"
},
"sha": "sha"
},
"latest_build_id": "latest_build_id",
"object": "project_branch",
"org": "org",
"project": "project"
}
],
"has_more": true,
"next_cursor": "next_cursor"
}