Skip to main content
Browse Documentation
HTTP - Management

Publish a content type

Created by Contensis product team, last updated 22 Jun 2020

Workflow events can be invoked using the following POST request.

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

Example

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

Responses

HTTP status codeReasonModel
200SuccessContent type
401UnauthorizedError
404Project not foundError
404Content type not foundError
500Internal server errorError