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/120294/?format=api
{ "url": "https://demo.lizard.net/api/v4/filters/120294/?format=api", "id": 120294, "timeseries": [ "https://demo.lizard.net/api/v4/timeseries/6f902398-baaa-4233-ab12-3ef704b1ee81/?format=api", "https://demo.lizard.net/api/v4/timeseries/a072d4dd-2c82-446a-a218-cb13c92e5fdf/?format=api", "https://demo.lizard.net/api/v4/timeseries/ad391d02-ec10-450b-a8aa-33bb8879a425/?format=api", "https://demo.lizard.net/api/v4/timeseries/0808764b-2556-458b-b62e-f837b35badf6/?format=api", "https://demo.lizard.net/api/v4/timeseries/63de665c-2308-499f-9444-1197171e0e93/?format=api", "https://demo.lizard.net/api/v4/timeseries/8b675217-2ac4-4307-a0ec-79f444cc8e23/?format=api", "https://demo.lizard.net/api/v4/timeseries/9cac1f7e-325e-40f7-b0f5-a78fc8e802f5/?format=api", "https://demo.lizard.net/api/v4/timeseries/e459c7c0-3bed-44aa-a3ab-b7a490d00470/?format=api", "https://demo.lizard.net/api/v4/timeseries/5a1e3362-a81e-4a65-bb38-58e47ec0dea3/?format=api" ], "code": "28AA3172008", "last_modified": "2024-07-05T16:46:08.346254Z", "created": "2020-05-29T12:07:34.883719Z", "groundwater_station": "https://demo.lizard.net/api/v4/groundwaterstations/2869/?format=api", "top_level": null, "filter_top_level": null, "filter_bottom_level": null, "aquifer_confinement": "None", "lithology": null, "high_groundwater_level": null, "low_groundwater_level": null }