Workflow Revisions

Create a workflow revision

Creates a new draft revision for a workflow from its current finished revision. Only one draft can exist at a time.

post/workflows/{workflowId}/revisions

Path parameters

workflowIdstring required

The ID of the Workflow

Response

Example response

{
  "data": {
    "id": "mQ40C1uJaMCthxVBTQlJ4Q",
    "createdBy": {
      "id": "oU4EEGRPtELpR1x1YUJMeQ",
      "email": "jane.doe@example.com",
      "username": "Jane Doe"
    },
    "updatedBy": {
      "id": "oU4EEGRPtELpR1x1YUJMeQ",
      "email": "jane.doe@example.com",
      "username": "Jane Doe"
    },
    "workflowId": "mQ40C1uJaMCthxVBTQlJ4Q"
  },
  "links": [
    {
      "href": "https://api.process.st/api/v1.1/resource/XXX"
    }
  ]
}

Changes