Dry-run an approval
Changed onResolves the approval action a real request would resolve and previews the result without creating a request. In checklist mode, conditions are evaluated for real while manual and external items report what they would wait for.
Request
- Base URLhttps://api.nullplatform.com
- URLhttps://api.nullplatform.com/approval/dry-run
- AuthHTTP bearer
Request body
Example request
{
"nrn": "organization=1:account=2:namespace=3:application=4",
"action": "deployment:create",
"approval_mode": "checklist",
"entity_id": 9876,
"requested": {
"scope_id": 5521,
"release_id": 7710
}
}Response
The operation was successful.
Example response
{
"mode": "checklist",
"approvalAction": {
"id": 1842,
"nrn": "organization=1:account=2:namespace=3",
"entity": "deployment",
"action": "deployment:create",
"checklistSpecificationId": "spec_abc123def456ghij",
"checklist_specification_id": "spec_abc123def456ghij"
},
"action": "manual"
}Changes
- breaking
the response property
became optional for the status - breaking
the response property
became optional for the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - info
media type
application/jsonwas changed to a more specific media typeapplication/problem+jsonfor the response status - info
media type
application/jsonwas changed to a more specific media typeapplication/problem+jsonfor the response status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
response property
messagedeprecated - info
response property
messagedeprecated - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- breaking
- info
endpoint added
- info