Workflows

Restore a workflow version

Changed on

Replace the current graph with the named version's snapshot. Before the swap, the current graph is itself snapshotted as a new version, so a restore is reversible. The workflow must not be active: pause it first, then restore. The returned workflow carries restoredFromVersion so the UI can surface which version was rolled back to.

post/v1/workflows/{workflowId}/versions/{version}/restore

Request

  • Base URL: https://zernio.com/api
  • URL: https://zernio.com/api/v1/workflows/{workflowId}/versions/{version}/restore
  • Auth: HTTP bearer

Path parameters

workflowIdstring required
versioninteger required

Response

Workflow restored to the named version

successboolean
restoredFromVersioninteger

Changes

    • warning

      added the new account enum value to the / response property for 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

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status