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/123221/?format=api
{ "url": "https://demo.lizard.net/api/v4/filters/123221/?format=api", "id": 123221, "timeseries": [ "https://demo.lizard.net/api/v4/timeseries/b338e9d3-78f6-4a4f-b6a6-99d940ac2e21/?format=api", "https://demo.lizard.net/api/v4/timeseries/7c7a68d4-f54a-42f8-8b8f-db41a3aa570c/?format=api", "https://demo.lizard.net/api/v4/timeseries/b21fb0e6-368b-43f6-969a-490a57074e13/?format=api", "https://demo.lizard.net/api/v4/timeseries/d0486f44-c6b0-4f2d-b910-f7b6205fb2b7/?format=api", "https://demo.lizard.net/api/v4/timeseries/0affc858-f8c7-452e-94bf-5e7eaacb0f23/?format=api", "https://demo.lizard.net/api/v4/timeseries/123ab724-5c2c-402e-99f0-629fd6be36cb/?format=api", "https://demo.lizard.net/api/v4/timeseries/ee4305e7-e6ef-47dd-8d69-262cf4dda615/?format=api", "https://demo.lizard.net/api/v4/timeseries/0004e6db-15f4-4afa-96d6-936fdbf99b00/?format=api", "https://demo.lizard.net/api/v4/timeseries/8f5a02d4-1dcc-4a6a-bf26-069ded76a6cc/?format=api" ], "code": "28AP0150038", "last_modified": "2024-07-05T16:49:12.218049Z", "created": "2022-10-21T16:06:29.076405Z", "groundwater_station": "https://demo.lizard.net/api/v4/groundwaterstations/2923/?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 }