Invoking workflow
Log in to add to favouritesPOST/api/management/projects/{projectId}/entries/{entryId}/workflow/events
Parameters
Name | Parameter type | Type | Format | Description |
---|---|---|---|---|
projectId(required) | path | string | - | The project identifier found in the project overview screen of the management console. |
entryId(required) | query | string | uuid | The entry identifier as a 128 bit GUID |
trigger(required) | body | object | workflow trigger | Details to invoke the workflow event. You can target a language variation by specifying the language |
Responses
Examples
This example shows how to transition an entry from draft to the next state by invoking the draft.submit event
POST: /api/management/projects/movieDb/entries/71f73a9b-2a13-4d63-bcc1-e8ee5047b01c/workflow/events
{
"language": "en-GB",
"version": "2.3",
"event": "draft.submit",
"data": {
"message": "Have updated the final paragrah"
}
}