Endpoint (read-only) for listing predefined colormaps.

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

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

{
    "url": "https://demo.lizard.net/api/v4/colormaps/Cropland/?format=api",
    "name": "Cropland",
    "description": null,
    "definition": {
        "data": [
            [
                1,
                [
                    8,
                    168,
                    24,
                    255
                ]
            ]
        ],
        "type": "DiscreteColormap",
        "labels": {
            "en_GB": [
                [
                    1,
                    "Cropland"
                ]
            ]
        },
        "invalid": [
            255,
            255,
            255,
            0
        ]
    }
}