Skip to main content

Publish a component

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

Parameters

NameParameter typeTypeFormatDescriptionRequired
componentIdpathstringThe component identifier.true
contentTypeIdpathstringThe content type identifier.true
triggerbodyobjectworkflow triggerDetails to invoke the workflow event. You can target a language variation by specifying the languagetrue

Responses

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

Examples

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

Still need help?

New support request