Revise an application's proposed setup contract
Change named defaults on the application’s deploy option contract. The revised .ankra/ankra.yaml is committed to the setup branch and the stored parameters are reprojected from it; nothing is deployed. The revision is all-or-nothing: any refused member leaves the proposal exactly as it was. Every answered request is a 200 whose outcome the client must switch on - a refusal carries its reasons in refusals rather than as an empty changes list.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Body
Named deploy-option defaults to change. The object maps option name to the new default value, which is the shape the deploy contract itself stores. Every value is a string: the contract stores every option default as text.
Response
Successful Response
The answer to a revision request. Every answered request is a 200 carrying outcome; a refusal is a domain answer whose reasons the user has to read, not a malformed request. changes and refusals are always arrays.
What the revision request did. Clients switch on this: reading the changes list alone would render a refusal exactly like a request that needed no change. "applied" - the contract was rewritten, committed to the setup branch and reprojected onto the stored parameters. "already_matching" - every named default already held the requested value, so nothing was committed. "refused" - the proposal was left exactly as it was and refusals says why. "applied_contract_not_stored" - the revised descriptor was committed but the stored contract could not be reprojected from it, so the repository and the deploy form now describe different options.
applied, already_matching, refused, applied_contract_not_stored