Update a renderer

Updates an existing renderer resource.

PUT /api/management/projects/{projectId}/renderers/{rendererId}

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
rendererId path string The renderer identifier

Remarks

Example request

PUT: /api/management/projects/website/renderers/newsRecord

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

Response messages

HTTP status code Reason Response model
200 OK Renderer
401 Unauthorized Error
404 NotFound Error
422 ValidationError Error
500 InternalServerError Error

results matching ""

    No results matching ""