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/5e5bdb66-33f6-4a14-a64c-fdc4ddf3aa1c/?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/5e5bdb66-33f6-4a14-a64c-fdc4ddf3aa1c/?format=api",
    "uuid": "5e5bdb66-33f6-4a14-a64c-fdc4ddf3aa1c",
    "name": "Aantal dagen oppervlaktewater boven de 20 graden Celsius in 2050",
    "description": "Een hoge temperatuur van het oppervlaktewater kan leiden tot overmatige plantengroei en bacteriën in het water. In oppervlaktewater dat een lange tijd boven 20 graden Celsius is neemt de kwaliteit van het water af. Dit is nadelig voor de ecologie in en langs het water. Binnen de laag “meer dan 30 dagen met oppervlaktewater meer dan 20 graden Celsius” zijn deze waterloopdelen aangegeven.VerantwoordingBron: provincie Overijssel (december 2018).",
    "slug": "twn_klimaatatlas:1830_twn_risico_opwarming_oppervlaktewate",
    "get_feature_info": false,
    "min_zoom": 0,
    "max_zoom": 31,
    "tiled": true,
    "options": {
        "transparent": "true"
    },
    "wms_url": "https://maps1.klimaatatlas.net/geoserver/twn_klimaatatlas/wms",
    "legend_url": null,
    "get_feature_info_url": null,
    "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": "remo.vantilburg",
    "shared_with": [],
    "layer_collections": [],
    "spatial_bounds": null,
    "download_url": "https://maps1.klimaatatlas.net/geoserver/twn_klimaatatlas/wfs?&request=GetFeature&typeName=twn_klimaatatlas:1830_twn_risico_opwarming_oppervlaktewate&OutputFormat=shape-zip",
    "created": "2020-01-24T12:16:34.182319Z",
    "last_modified": "2020-01-24T12:16:34.182280Z"
}