Endpoint (read-only) for listing predefined colormaps.

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

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

{
    "url": "https://demo.lizard.net/api/v4/colormaps/3di-fhr/?format=api",
    "name": "3di-fhr",
    "description": "3Di result",
    "definition": {
        "log": false,
        "data": [
            [
                0.0,
                [
                    255,
                    255,
                    255,
                    255
                ]
            ],
            [
                0.74,
                [
                    255,
                    255,
                    255,
                    255
                ]
            ],
            [
                0.75,
                [
                    255,
                    246,
                    155,
                    255
                ]
            ],
            [
                1.24,
                [
                    255,
                    246,
                    155,
                    255
                ]
            ],
            [
                1.25,
                [
                    255,
                    183,
                    40,
                    255
                ]
            ],
            [
                1.99,
                [
                    255,
                    183,
                    40,
                    255
                ]
            ],
            [
                2.0,
                [
                    255,
                    0,
                    0,
                    255
                ]
            ]
        ],
        "free": false,
        "type": "GradientColormap"
    }
}