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
Path Parameters
Body
application/json
Was this page helpful?