Invoking workflow
Log in to add to favouritesPOST/api/management/projects/{projectId}/entries/{entryId}/workflow/events
Parameters
Name | Parameter type | Type | Format | Description | Example | Required |
---|---|---|---|---|---|---|
projectId | path | string | The project identifier found in the project overview screen of the management console | movieDb | true | |
entryId | query | string | uuid | The entry identifier as a 128 bit GUID | true | |
trigger | body | object | workflow trigger | Details to invoke the workflow event. You can target a language variation by specifying the language | true |
Responses
Examples
This example shows how to transition an entry from draft to the next state by invoking the draft.submit event
123456789
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"
}
}