Carry out one option of a stored plan.
Changed onRecomputes the plan's fingerprint first: when anything it depends on changed (or the plan expired or was used), nothing is created and the 409 carries the new plan under plan. Otherwise starts a run and returns it at once; poll …/reachability/runs/{run_id} for progress. Every resource is journaled before it is created, and a failed step removes what the run made again, newest first.
Request
- Base URL/api (relative, and the document was published on a file host, not at the API’s origin)
- AuthHTTP bearer
Path parameters
Project ID
Environment ID
Request body
Response
Example response
{
"created": [
{
"after": {
"principals": [
{
"value": "alice@example.com"
}
]
},
"before": {
"principals": [
{
"value": "alice@example.com"
}
]
}
}
],
"journal": [
{
"intent": {
"after": {
"principals": [
{
"value": "alice@example.com"
}
]
},
"before": {
"principals": [
{
"value": "alice@example.com"
}
]
}
},
"resource": {
"after": {
"principals": [
{
"value": "alice@example.com"
}
]
},
"before": {
"principals": [
{
"value": "alice@example.com"
}
]
}
}
}
],
"undo": [
{
"resource": {
"after": {
"principals": [
{
"value": "alice@example.com"
}
]
},
"before": {
"principals": [
{
"value": "alice@example.com"
}
]
}
}
}
]
}Changes
- breaking
added
subschema #16subschema #17to thecreated/itemsresponse propertyoneOflist for the response status - breaking
added
subschema #16subschema #17to thejournal/items/intentresponse propertyoneOflist for the response status - breaking
added
subschema #16subschema #17to thejournal/items/resource/oneOf[#/components/schemas/RunResource]response propertyoneOflist for the response status
4 more changes in this revision
- breaking