curl --request POST \
--url http://localhost:8080/api/v2/environments/{environmentKey}/branches/{key} \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--data '{
"title": "<title>",
"body": "<body>",
"draft": false
}'
{
"url": "<string>",
"state": "PROPOSAL_STATE_UNKNOWN"
}Branches
Propose Branch
Propose branch changes for review.
POST
/
api
/
v2
/
environments
/
{environmentKey}
/
branches
/
{key}
curl --request POST \
--url http://localhost:8080/api/v2/environments/{environmentKey}/branches/{key} \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--data '{
"title": "<title>",
"body": "<body>",
"draft": false
}'
{
"url": "<string>",
"state": "PROPOSAL_STATE_UNKNOWN"
}curl --request POST \
--url http://localhost:8080/api/v2/environments/{environmentKey}/branches/{key} \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--data '{
"title": "<title>",
"body": "<body>",
"draft": false
}'
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The environment identifier, e.g. 'production'.
The branch key.
Body
application/json
Was this page helpful?