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/518dba30-e091-42b3-9447-5d8ac1126390/?format=api
https://demo.lizard.net/api/v4/wmslayers/518dba30-e091-42b3-9447-5d8ac1126390/?format=api", "uuid": "518dba30-e091-42b3-9447-5d8ac1126390", "name": "AthrunTest", "description": "AthrunTest", "slug": "slug", "get_feature_info": false, "min_zoom": 0, "max_zoom": 31, "tiled": true, "options": { "transparent": "True" }, "wms_url": "https://3ditaiwan.lizard.net/wms/scenario_985b61d9-0ceb-4c45-9e9c-8079c68ad76a/?request=GetCapabilities", "legend_url": null, "get_feature_info_url": null, "organisation": { "url": "https://demo.lizard.net/api/v4/organisations/983cda50-9f8d-4aad-ae78-4e2b38a9639b/?format=api", "uuid": "983cda50-9f8d-4aad-ae78-4e2b38a9639b", "name": "CHT" }, "access_modifier": "Public", "supplier": null, "shared_with": [], "layer_collections": [], "spatial_bounds": { "south": 0.0, "west": 180.0, "north": 0.0, "east": 180.0 }, "download_url": null, "created": "2020-06-29T09:37:08.566987Z", "last_modified": "2020-07-02T09:51:15.346654Z" }{ "url": "