`POST /v1/orgs/{org}/proposals/{proposal_id}/rollout/promote` (DAWG-353).
const url = 'https://api.updawg.net/v1/orgs/example/proposals/example/rollout/promote';const options = {method: 'POST'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.updawg.net/v1/orgs/example/proposals/example/rollout/promoteStart the stage that waits for a person, or — while a stage soaks — end the soak now and go on to the next stage, through a gate on it too: the person promoting is that approval. The same move the rollout would make on its own, a person’s, and in the audit log as theirs.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Organization slug.
The prp_… id.
Responses
Section titled “Responses”Promoted.
What promoting did.
object
started: the waiting stage started. soak_ended: the soak ended and
the next stage started. completed: the soak ended and it was the last
stage.
The stage that started, for started.
Example generated
{ "outcome": "example", "stage": "example"}No session.
object
Example generated
{ "detail": "example", "status": 1, "title": "example", "type": "example"}Not permitted for this role.
object
Example generated
{ "detail": "example", "status": 1, "title": "example", "type": "example"}No such proposal here.
object
Example generated
{ "detail": "example", "status": 1, "title": "example", "type": "example"}Nothing to promote (wrong-status): no staged rollout, the proposal is not rolling out, or the rollout is neither waiting for a person nor soaking.
object
Example generated
{ "detail": "example", "status": 1, "title": "example", "type": "example"}The organization’s data is in another region (wrong-region, DAWG-159). detail names that region’s API; send the request there.
object
Example generated
{ "detail": "example", "status": 1, "title": "example", "type": "example"}Over the organization’s request limit. Retry-After says when to try again; RateLimit-Limit is the burst.
object
Example generated
{ "detail": "example", "status": 1, "title": "example", "type": "example"}