Publish a content type
Log in to add to favouritesPage last updated 25 September 2024
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
| Name | Parameter type | Type | Format | Description |
|---|---|---|---|---|
| projectId(required) | path | string | - | The project identifier found in the project overview screen of the management console. |
| contentTypeId(required) | path | string | - | The content type identifier. |
| trigger(required) | body | object | workflow trigger | Details to invoke the workflow event. You can target a language variation by specifying the language |
Responses
| HTTP status code | Reason | Model |
|---|---|---|
| 200 | Success | Content type |
| 401 | Unauthorized | Error |
| 404 | Project not found | Error |
| 404 | Content type not found | Error |
| 500 | Internal server error | Error |
Examples
{
"language": "en-GB",
"version": "2.1",
"event": "publish"
}