Skip to main content

Publish a content type

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

Parameters

NameParameter typeTypeFormatDescriptionExampleRequired
projectIdpathstringThe project identifier found in the project overview screen of the management consolemovieDbtrue
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
200SuccessContent type
401UnauthorizedError
404Project not foundError
404Content type not foundError
500Internal server errorError

Examples

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

Still need help?

New support request