Endpoint (read-only) for listing predefined colormaps.

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

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

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