Endpoint (read-only) for listing predefined colormaps.

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

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

{
    "url": "https://zuiderzeeland.lizard.net/api/v4/colormaps/BrOrYe/?format=api",
    "name": "BrOrYe",
    "description": "matplotlib ColorBrewer Sequential",
    "definition": {
        "data": [
            [
                0.0,
                [
                    15,
                    46,
                    111,
                    0
                ]
            ],
            [
                0.945,
                [
                    31,
                    147,
                    146,
                    0
                ]
            ],
            [
                0.948,
                [
                    238,
                    193,
                    0,
                    255
                ]
            ],
            [
                0.955,
                [
                    239,
                    163,
                    19,
                    255
                ]
            ],
            [
                0.967,
                [
                    201,
                    63,
                    29,
                    255
                ]
            ],
            [
                1.0,
                [
                    131,
                    37,
                    31,
                    255
                ]
            ]
        ],
        "type": "GradientColormap"
    }
}