Endpoint (read-only) for listing predefined colormaps.

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

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

{
    "url": "https://demo.lizard.net/api/v4/colormaps/winter_r/?format=api",
    "name": "winter_r",
    "description": "matplotlib",
    "definition": {
        "data": [
            [
                0.0,
                [
                    0,
                    255,
                    127,
                    255
                ]
            ],
            [
                1.0,
                [
                    0,
                    0,
                    255,
                    255
                ]
            ]
        ],
        "type": "GradientColormap"
    }
}