Endpoint (read-only) for listing predefined colormaps.

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

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

{
    "url": "https://demo.lizard.net/api/v4/colormaps/BluWhiRed/?format=api",
    "name": "BluWhiRed",
    "description": "Blue white red gradual",
    "definition": {
        "data": [
            [
                0.0,
                [
                    47,
                    82,
                    128,
                    255
                ]
            ],
            [
                0.2,
                [
                    89,
                    131,
                    166,
                    255
                ]
            ],
            [
                0.4,
                [
                    134,
                    180,
                    191,
                    255
                ]
            ],
            [
                0.5,
                [
                    240,
                    240,
                    240,
                    255
                ]
            ],
            [
                0.6,
                [
                    250,
                    206,
                    170,
                    255
                ]
            ],
            [
                0.8,
                [
                    237,
                    117,
                    81,
                    255
                ]
            ],
            [
                1.0,
                [
                    214,
                    47,
                    39,
                    255
                ]
            ]
        ],
        "type": "GradientColormap"
    }
}