Endpoint (read-only) for listing predefined colormaps.

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

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

{
    "url": "https://zuiderzeeland.lizard.net/api/v4/colormaps/vn_flood_damage/?format=api",
    "name": "vn_flood_damage",
    "description": "Extern",
    "definition": {
        "data": [
            [
                100,
                [
                    252,
                    163,
                    134,
                    255
                ]
            ],
            [
                1000,
                [
                    234,
                    54,
                    42,
                    255
                ]
            ],
            [
                5000,
                [
                    103,
                    0,
                    13,
                    255
                ]
            ]
        ],
        "type": "DiscreteColormap"
    }
}