Create a renderer

Creates a new renderer resource.

POST /api/management/projects/{projectId}/renderers

Parameters

Name Parameter type Type Format Description
projectId path string The project identifier, e.g. "movieDb". Found in the project overview screen of the management console

Remarks

Example request

POST: /api/management/projects/website/renderers

{
    "id": "newsRecord",
    "name": "News record",
    "description": "Renders news record entries with rules for country (Populo)",
    "assignedContentTypes": [
        "newsRecord"
    ],
    "rules": [
        {
            "return": {
                "blockId": "news",
                "endpointId": "news-record"
            }
        }
    ]
}

Response messages

HTTP status code Reason Response model
201 Created Renderer
401 Unauthorized Error
404 NotFound Error
409 ResourceAlreadyExists Error
422 ValidationError Error
500 InternalServerError Error

results matching ""

    No results matching ""