Invoking workflow

Workflow events can be invoked using the following POST request.

POST /api/management/projects/{projectId}/components/{componentId}/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
componentId path string The component identifier
trigger body object WorkflowTrigger Details to invoke the workflow event

Example

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

{
    "version": "2.0",
    "event": "publish"
}

Response message

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

results matching ""

    No results matching ""