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/123312/?format=api
{ "url": "https://demo.lizard.net/api/v4/filters/123312/?format=api", "id": 123312, "timeseries": [ "https://demo.lizard.net/api/v4/timeseries/056480f7-b446-4beb-8791-4100abc4c5b9/?format=api", "https://demo.lizard.net/api/v4/timeseries/29709278-7129-4d75-914e-0dbb621bfc3c/?format=api", "https://demo.lizard.net/api/v4/timeseries/237787a0-2e16-4585-a7b0-5925d3b71fb8/?format=api", "https://demo.lizard.net/api/v4/timeseries/11872aa4-2502-45b2-aaa3-4031d701647c/?format=api", "https://demo.lizard.net/api/v4/timeseries/d571951a-949b-445d-996b-08b661d72bf0/?format=api", "https://demo.lizard.net/api/v4/timeseries/989e71dc-3795-4eb5-84cb-6a593a761c01/?format=api", "https://demo.lizard.net/api/v4/timeseries/dfdc64ca-70dd-49c8-8024-4b3584717649/?format=api", "https://demo.lizard.net/api/v4/timeseries/3fc3cb01-9d51-423d-a898-f07e3780b81e/?format=api", "https://demo.lizard.net/api/v4/timeseries/a00dcc19-8518-48d8-900e-444875bff897/?format=api" ], "code": "32CM029001", "last_modified": "2024-07-05T17:17:18.660566Z", "created": "2022-11-30T23:33:15.493446Z", "groundwater_station": "https://demo.lizard.net/api/v4/groundwaterstations/90453/?format=api", "top_level": 7.029, "filter_top_level": 2.85, "filter_bottom_level": -2.15, "aquifer_confinement": "None", "lithology": null, "high_groundwater_level": null, "low_groundwater_level": null }