curl --url http://localhost:8080/api/v2/environments/{environmentKey}/branches \
--header 'Accept: application/json'
{
"branches": [
{
"environmentKey": "<string>",
"key": "<string>",
"ref": "<string>",
"proposal": {
"url": "<string>",
"state": "PROPOSAL_STATE_UNKNOWN"
}
}
]
}Branches
List Branches
List all branches in an environment.
GET
/
api
/
v2
/
environments
/
{environmentKey}
/
branches
curl --url http://localhost:8080/api/v2/environments/{environmentKey}/branches \
--header 'Accept: application/json'
{
"branches": [
{
"environmentKey": "<string>",
"key": "<string>",
"ref": "<string>",
"proposal": {
"url": "<string>",
"state": "PROPOSAL_STATE_UNKNOWN"
}
}
]
}curl --url http://localhost:8080/api/v2/environments/{environmentKey}/branches \
--header 'Accept: application/json'
Authorizations
Was this page helpful?