HTTP - Management
Removed from your favourites
Publish a component
Created by Contensis product team, last modified by zengenti on 29 Sep 2021
Workflow events can be invoked using the following POST request.
POST/api/management/projects/{projectId}/components/{contentTypeId}/workflow/events
Parameters
Name | Parameter type | Type | Format | Description | Required |
---|---|---|---|---|---|
componentId | path | string | The component identifier. | true | |
contentTypeId | path | string | The content type identifier. | true | |
trigger | body | object | workflow trigger | Details to invoke the workflow event. You can target a language variation by specifying the language | true |
Example
JSON
POST: /api/management/projects/movieDb/components/role/workflow/events
{
"language": "en-GB",
"version": "2.0",
"event": "publish"
}