Wms Layer Instance
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/91353e77-1bd7-49b2-884a-4e87bb2763fa/?format=api
https://demo.lizard.net/api/v4/wmslayers/91353e77-1bd7-49b2-884a-4e87bb2763fa/?format=api", "uuid": "91353e77-1bd7-49b2-884a-4e87bb2763fa", "name": "um rakuba tents", "description": "Tents which experience at least 10 cm of water during a 40mm simulation.", "slug": "w0048_rakuba:w0048_tents", "get_feature_info": false, "min_zoom": 0, "max_zoom": 31, "tiled": true, "options": { "transparent": "true" }, "wms_url": "https://maps1.project.lizard.net/geoserver/w0048_rakuba/wms", "legend_url": null, "get_feature_info_url": "https://maps1.project.lizard.net/geoserver/w0048_rakuba/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": "ivar.lokhorst", "shared_with": [], "layer_collections": [], "spatial_bounds": null, "download_url": null, "created": "2021-02-24T06:45:29.844916Z", "last_modified": "2021-02-24T07:50:10.559317Z" }{ "url": "