Filter Instance
List assets of type Filter
Query parameters:
code
Exact filter on the code
field. The (case-sensitive) startswith
lookup is also supported.
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.
page_size
The number of results on a single page. Defaults to 10, maximum is 100.
Note that pagination is disabled for the root endpoint: the response
will be truncated to page_size
.
Custom route: by-organisation
Filter assets by organisation UUID. Pagination is enabled.
Examples:
?code=ABC_2123
?code__startswith=ABC
?created__gte=2017-01-01T00:00:00Z
?last_modified__lt=2018-01-01T00:00:00Z
/by-organisation/61f5a464-c350-44c1-9bc7-d4b42d7f58cb/
GET /api/v4/filters/44728/?format=api
{ "url": "https://demo.lizard.net/api/v4/filters/44728/?format=api", "id": 44728, "timeseries": [ "https://demo.lizard.net/api/v4/timeseries/537c4369-99b6-4999-b7e3-9b92d6a2e28c/?format=api", "https://demo.lizard.net/api/v4/timeseries/a042bd0a-c64a-404c-a5bd-a508a7f7d66f/?format=api" ], "code": "28AP0090001", "last_modified": "2024-07-05T16:48:20.333707Z", "created": "2016-02-04T10:19:43.136400Z", "groundwater_station": "https://demo.lizard.net/api/v4/groundwaterstations/2914/?format=api", "top_level": 8.55, "filter_top_level": 2.85, "filter_bottom_level": -0.15, "aquifer_confinement": "None", "lithology": null, "high_groundwater_level": null, "low_groundwater_level": null }