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
Request
- Base URLhttps://public-api.process.st/api/v1.1
- URLhttps://public-api.process.st/api/v1.1/workflows/{workflowId}/revisions/{revisionId}/publish
- Auth
- API key in header X-API-Key
- or HTTP bearer
Path parameters
workflowIdstring required
The ID of the Workflow
revisionIdstring required
The ID of the Revision
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.