Create a renderer
Log in to add to favouritesPOST/api/management/projects/{projectId}/renderers/
Parameter
Name | Parameter type | Type | Description |
---|---|---|---|
projectId(required) | path | string | The project identifier found in the project overview screen of the management console. |
Responses
Examples
Create a renderer to render all entries of type movie
{
"id": "movie-record",
"name": "Movie record page",
"description": "Used to render the movie record page",
"assignedContentTypes": [
"movie"
],
"rules": [
{
"return": {
"blockId": "movie-record",
"endpointId": null
}
}
]
}
Create a renderer to be assigned to a site view node
{
"id": "movie-record",
"name": "Movie record page",
"description": "Used to render the movie record page",
"rules": [
{
"return": {
"blockId": "movie-record",
"endpointId": null
}
}
]
}