List project branches
$ stl projects:branches list
GET/v0/projects/{project}/branches
List project branches
stl projects:branches list \
--api-key 'My API Key' \
--project project{
"data": [
{
"branch": "branch",
"config_commit": {
"repo": {
"branch": "branch",
"host": "host",
"name": "name",
"owner": "owner"
},
"sha": "sha",
"stats": {
"additions": 0,
"deletions": 0,
"total": 0
},
"tree_oid": "tree_oid"
},
"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",
"host": "host",
"name": "name",
"owner": "owner"
},
"sha": "sha",
"stats": {
"additions": 0,
"deletions": 0,
"total": 0
},
"tree_oid": "tree_oid"
},
"latest_build_id": "latest_build_id",
"object": "project_branch",
"org": "org",
"project": "project"
}
],
"has_more": true,
"next_cursor": "next_cursor"
}