Workflow Revisions

Publish a workflow revision

Publishes a draft workflow revision, transitioning it to Finished status. The previously finished revision becomes Revised.

post/workflows/{workflowId}/revisions/{revisionId}/publish

Path parameters

workflowIdstring required

The ID of the Workflow

revisionIdstring required

The ID of the Revision

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

No recorded changes to this endpoint across all 4 revisions of this API.