Endpoint (read-only) for listing predefined colormaps.

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

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

{
    "url": "https://zuiderzeeland.lizard.net/api/v4/colormaps/vito_veen/?format=api",
    "name": "vito_veen",
    "description": "Vito veen",
    "definition": {
        "data": [
            [
                0,
                [
                    255,
                    255,
                    255,
                    0
                ]
            ],
            [
                1,
                [
                    8,
                    48,
                    107,
                    255
                ]
            ]
        ],
        "type": "DiscreteColormap",
        "labels": {
            "nl_NL": [
                [
                    0,
                    "Geen veen aanwezig"
                ],
                [
                    1,
                    "Veen aanwezig"
                ]
            ]
        },
        "invalid": [
            0,
            255,
            255,
            255
        ]
    }
}