Skip to main content
POST
Restore a workflow revision
Minimum role required: Member

Authorizations

X-Axilio-Api-Key
string
header
required

Customer API key (axl_ prefix).

Path Parameters

workflow_id
string<uuid>
required

workflow identifier

Body

application/json

Request to restore a previous code revision. The named revision's source is copied into a new revision; history is preserved.

revision_id
string
required

Revision to restore.

Minimum string length: 1

Response

OK

Returned from POST /workflows/:id/code.

no_op
boolean
required

True when the submitted source's sha256 matched the prior current revision; no new row was inserted, no pointer was changed.

revision
integer<int64>
required

Per-workflow monotonic revision number.

revision_id
string
required

Workflow_revisions.id of the active revision after the save.