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/123323/?format=api
{ "url": "https://demo.lizard.net/api/v4/filters/123323/?format=api", "id": 123323, "timeseries": [ "https://demo.lizard.net/api/v4/timeseries/1dc7c463-01f6-468a-8e8c-b3c600c6fffb/?format=api", "https://demo.lizard.net/api/v4/timeseries/3cadc4a0-e4b6-429c-b8a2-17ff78455e6c/?format=api", "https://demo.lizard.net/api/v4/timeseries/f14464c5-8e0d-4d22-9768-b6815c317219/?format=api", "https://demo.lizard.net/api/v4/timeseries/ca677914-52fc-42b3-bb0e-d0fbbc6e2cb8/?format=api", "https://demo.lizard.net/api/v4/timeseries/83676fcc-316c-4ed4-92c2-2e835ec89b37/?format=api", "https://demo.lizard.net/api/v4/timeseries/ba3a2eae-2948-4e09-9d24-234bda8dad9d/?format=api", "https://demo.lizard.net/api/v4/timeseries/dd1f0dba-a76f-4604-9ef3-07fea7b85ec5/?format=api", "https://demo.lizard.net/api/v4/timeseries/ae4a6710-6ccd-488f-8e9b-c8a4737debd3/?format=api", "https://demo.lizard.net/api/v4/timeseries/e1dc44de-93c4-468b-88e4-590e51186ce4/?format=api" ], "code": "39BM012001", "last_modified": "2024-07-05T18:02:04.316667Z", "created": "2022-11-30T23:34:46.760962Z", "groundwater_station": "https://demo.lizard.net/api/v4/groundwaterstations/90464/?format=api", "top_level": 7.15, "filter_top_level": 2.77, "filter_bottom_level": -2.23, "aquifer_confinement": "None", "lithology": null, "high_groundwater_level": null, "low_groundwater_level": null }