Endpoint for WMSLayers (read-write).

The options GET, POST, PATCH, DELETE are implemented. When updating (PATCH) user must provide the final list for nested objects. If no list of objects is passed during a partial update the list will remains invariant.

Required fields

slug Identifier for this wms layer.

organisation Organisation for this wms layer.

Query parameters:

name Text filter on the name field. All text field filter methods, like startswith, endswith, icontains are supported.

uuid Filter on 'uuid' field. UUIDs must be separated by commas and must be specified in their canonical textual representation (in their 8-4-4-4-12 form, that is). Filtering is case insensitive and may be done across relationships.

organisation Filter on Organisations.

slug Filter on Slug.

layer_collections Filter on LayerCollections.

ordering Show the results in a specific order. You can order them by name, organisation__name or last_modified. Add a - in front to reverse the order.

access_modifier Filter on access_modifier, options are 'Public', 'Private', 'Common', or 'Hidden'.

created: Temporal filter on created. Supports various lookup types (exact, lt, lte, gt, gte; created__exact by default). Filter values should be specified in ISO 8601 YYYY-MM-DDThh:mm:ssZ format.

last_modified: Temporal filter on last_modified. Supports various lookup types (exact, lt, lte, gt, gte; last_modified__exact by default). Filter values should be specified in ISO 8601 YYYY-MM-DDThh:mm:ssZ format.

Examples

?name__icontains=Elevation

?organisation__name=DDSC

?organisation__uuid=61f5a464c35044c19bc7d4b42d7f58cb

?organisation__name__startswith=Nelen

?organisation__name__icontains=Schuur

?uuid=10415ccb-ec31-4d43-bdb3-db597061527b

?layer_collections__organisation__name__startswith=Nelen

?layer_collections__slug=LayerCollection

?layer_collections__slug__icontains=LayerCollection

?ordering=name

?ordering=-organisation__name

?access_modifier=Private

?access_modifier=100

?created__gte=2017-01-01T00:00:00Z

?last_modified__lt=2018-01-01T00:00:00Z
GET /api/v4/wmslayers/17641809-a066-483e-8b19-c187b135b702/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "url": "https://demo.lizard.net/api/v4/wmslayers/17641809-a066-483e-8b19-c187b135b702/?format=api",
    "uuid": "17641809-a066-483e-8b19-c187b135b702",
    "name": "v0206_vlaardingen_kanskaart_dak_buurt_20210202",
    "description": "De laag kanskaart_dak_buurt komt van vlaardingen. Voor meer informatie over \n        deze laag, ga naar de klimaatatlas www.vlaardingen.klimaatatlas.net.",
    "slug": "p_vlaardingen_klimaatatlas:v0206_vlaardingen_kanskaart_dak_buurt",
    "get_feature_info": true,
    "min_zoom": 0,
    "max_zoom": 31,
    "tiled": true,
    "options": {
        "transparent": "true"
    },
    "wms_url": "https://maps1.project.lizard.net/geoserver/p_vlaardingen_klimaatatlas/wms/",
    "legend_url": "https://maps1.project.lizard.net/geoserver/p_vlaardingen_klimaatatlas/wms/?REQUEST=GetLegendGraphic&VERSION=1.0.0&FORMAT=image/png&LAYER=p_vlaardingen_klimaatatlas:v0206_vlaardingen_kanskaart_dak_buurt_20210202&LEGEND_OPTIONS=forceRule:True;dx:0.2;dy:0.2;mx:0.2;my:0.2;fontName:Times%20New%20Roman;borderColor:#429A95;border:true;fontColor:#15EBB3;fontSize:18;dpi:180",
    "get_feature_info_url": "https://maps1.project.lizard.net/geoserver/p_vlaardingen_klimaatatlas/wms/",
    "organisation": {
        "url": "https://demo.lizard.net/api/v4/organisations/61f5a464-c350-44c1-9bc7-d4b42d7f58cb/?format=api",
        "uuid": "61f5a464-c350-44c1-9bc7-d4b42d7f58cb",
        "name": "Nelen & Schuurmans Consultancy"
    },
    "access_modifier": "Public",
    "supplier": "chris.kerklaan",
    "shared_with": [],
    "layer_collections": [
        {
            "url": "https://demo.lizard.net/api/v4/layercollections/cursus_klimaatatlas/?format=api",
            "slug": "cursus_klimaatatlas",
            "organisation": {
                "url": "https://demo.lizard.net/api/v4/organisations/61f5a464-c350-44c1-9bc7-d4b42d7f58cb/?format=api",
                "uuid": "61f5a464-c350-44c1-9bc7-d4b42d7f58cb",
                "name": "Nelen & Schuurmans Consultancy"
            },
            "access_modifier": "Public",
            "supplier": "chris.kerklaan",
            "created": "2020-02-10T07:37:13.146099Z",
            "last_modified": "2020-02-10T07:37:13.146050Z"
        }
    ],
    "spatial_bounds": {
        "south": 51.89403990172367,
        "west": 4.267571276808387,
        "north": 51.95150651737335,
        "east": 4.370622751472402
    },
    "download_url": "https://maps1.project.lizard.net/geoserver/p_vlaardingen_klimaatatlas/wfs/?&request=GetFeature&typeName=p_vlaardingen_klimaatatlas:v0206_vlaardingen_kanskaart_dak_buurt_20210202&srsName=epsg:28992&OutputFormat=shape-zip",
    "created": "2020-10-27T16:19:13.238873Z",
    "last_modified": "2020-10-27T16:19:13.238846Z"
}