Skip to main content

Publish a component

Log in to add to favourites
POST/api/management/projects/{projectId}/components/{contentTypeId}/workflow/events

Parameters

NameParameter typeTypeFormatDescription
componentId(required)pathstring-The component identifier.
contentTypeId(required)pathstring-The content type identifier.
trigger(required)bodyobjectworkflow triggerDetails to invoke the workflow event. You can target a language variation by specifying the language

Responses

HTTP status codeReasonModel
200SuccessComponent
401UnauthorizedError
404Project not foundError
404Component not foundError
500Internal server errorError

Examples

JSON
POST: /api/management/projects/movieDb/components/role/workflow/events
{
    "language": "en-GB",
    "version": "2.0",
    "event": "publish"
}

Still need help?

If you still need help after reading this article, don't hesitate to reach out to the Contensis community on Slack or raise a support ticket to get help from our team.
New support request