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

Request

  • Base URL
    https://public-api.process.st/api/v1.1
  • URL
    https://public-api.process.st/api/v1.1/workflows/{workflowId}/revisions
  • Auth
    • API key in header X-API-Key
    • or HTTP bearer

Path parameters

workflowIdstring required

The ID of the Workflow

Response

Example response

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

Changes

No recorded changes to this operation across all 16 revisions of this API.