HTTP - Management
Removed from your favourites
Publish a content type
Created by Contensis product team, last modified by zengenti on 30 Sep 2021
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 | Example | Required |
---|---|---|---|---|---|---|
projectId | path | string | The project identifier found in the project overview screen of the management console | movieDb | 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/contenttypes/blog/workflow/events
{
"language": "en-GB",
"version": "2.1",
"event": "publish"
}
Responses
HTTP status code | Reason | Model |
---|---|---|
200 | Success | Content type |
401 | Unauthorized | Error |
404 | Project not found | Error |
404 | Content type not found | Error |
500 | Internal server error | Error |