Endpoint (read-only) for listing predefined colormaps.

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

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

{
    "url": "https://demo.lizard.net/api/v4/colormaps/3di-rise-vel/?format=api",
    "name": "3di-rise-vel",
    "description": "3Di result (based on Purples)",
    "definition": {
        "data": [
            [
                0.0,
                [
                    252,
                    251,
                    253,
                    0
                ]
            ],
            [
                0.125,
                [
                    239,
                    237,
                    245,
                    255
                ]
            ],
            [
                0.25,
                [
                    218,
                    218,
                    235,
                    255
                ]
            ],
            [
                0.375,
                [
                    188,
                    189,
                    220,
                    255
                ]
            ],
            [
                0.5,
                [
                    158,
                    154,
                    200,
                    255
                ]
            ],
            [
                0.625,
                [
                    128,
                    125,
                    186,
                    255
                ]
            ],
            [
                0.75,
                [
                    106,
                    81,
                    163,
                    255
                ]
            ],
            [
                0.875,
                [
                    84,
                    39,
                    143,
                    255
                ]
            ],
            [
                1.0,
                [
                    63,
                    0,
                    125,
                    255
                ]
            ]
        ],
        "type": "GradientColormap"
    }
}