Endpoint (read-only) for listing predefined colormaps.

A colormap is used when rendering rasters in the WMS endpoint.

GET /api/v4/colormaps/vito_toepasbaarheid/?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "url": "https://zuiderzeeland.lizard.net/api/v4/colormaps/vito_toepasbaarheid/?format=api",
    "name": "vito_toepasbaarheid",
    "description": "Vito toepasbaarheid",
    "definition": {
        "data": [
            [
                0,
                [
                    255,
                    255,
                    255,
                    0
                ]
            ],
            [
                1,
                [
                    1,
                    200,
                    1,
                    255
                ]
            ]
        ],
        "type": "DiscreteColormap",
        "labels": {
            "nl_NL": [
                [
                    0,
                    "Niet toepasbaar"
                ],
                [
                    1,
                    "Toepasbaar"
                ]
            ]
        },
        "invalid": [
            255,
            255,
            255,
            255
        ]
    }
}