Invoking workflow

Workflow events can be invoked using the following POST request.

POST /api/management/projects/{projectId}/contenttypes/{contentTypeId}/workflow/events

Parameters

Name Parameter type Type Format Description
projectId path string The project identifier, e.g. "movieDb". Found in the project overview screen of the management console
contentTypeId path string The content type identifier
trigger body object WorkflowTrigger Details to invoke the workflow event

Example

POST: /api/management/projects/movieDb/contenttypes/blog/workflow/events

{
    "language": "en-GB",
    "version": "2.0",
    "event": "publish"
}

Response message

HTTP status code Reason Response model
200 Success Entry
401 Unauthorized Error
403 BadRequest Error
404 NotFound Error
500 InternalServerError Error

results matching ""

    No results matching ""