Skip to main content

Publish a content type

Log in to add to favourites
This endpoint publishes content types, ensuring that changes are reflected in both the user interface and frontend form renders.
POST/api/management/projects/{projectId}/contenttypes/{contentTypeId}/workflow/events

Parameters

NameParameter typeTypeFormatDescription
projectId(required)pathstring-The project identifier found in the project overview screen of the management console.
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
200SuccessContent type
401UnauthorizedError
404Project not foundError
404Content type not foundError
500Internal server errorError

Examples

JSON
{
    "language": "en-GB",
    "version": "2.1",
    "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