Skip to main content
POST/api/management/projects/{projectId}/renderers/

Parameter

NameParameter typeTypeDescription
projectId(required)pathstringThe project identifier found in the project overview screen of the management console.

Responses

HTTP status codeReasonModel
200SuccessRenderer
401UnauthorizedError
404Project not foundError
409Resource already existsError
422Validation errorError
500Internal server errorError

Examples

Create a renderer to render all entries of type movie

HTTP
{
	"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

HTTP
{
    "id": "movie-record",
    "name": "Movie record page",
    "description": "Used to render the movie record page",
    "rules": [
        {
            "return": {
                "blockId": "movie-record",
                "endpointId": null
            }
        }
    ]
}

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