Timeseries Instance
Endpoint for interacting with timeseries metadata.
Query parameters:
uuid
Exact filter on uuid
.
uuid__in
List filter on uuid
. UUIDs must be comma separated.
name
Filter on name
. Filter methods exact
and startswith
are supported.
code
Filter on code
. Filter methods exact
and startswith
are supported.
start:
Temporal filter on start
. Supports various lookup types
(exact
, lt
, lte
, gt
, gte
; start__exact by default).
Filter values should be specified in ISO 8601 YYYY-MM-DDThh:mm:ssZ format.
end:
Temporal filter on end
. Supports various lookup types
(exact
, lt
, lte
, gt
, gte
; end__exact by default).
Filter values should be specified in ISO 8601 YYYY-MM-DDThh:mm:ssZ format.
value_type
Filter on value_type
. Choices are integer
, float
, boolean
, text
,
image
, movie
, file
, float array
.
observation_type__id
Filter on observation_type__id
. Filter method exact
is supported.
observation_type__code
Filter on observation_type__code
. Filter methods exact
and startswith
are supported.
datasource__id
Filter on datasource__id
. Filter method exact
is supported.
datasource__uuid
Filter on datasource__uuid
field. Filter method exact
is supported.
location__uuid
Filter on location__uuid
field. Filter method exact
is supported.
location__organisation__uuid (Requires also filter on code)
Filter on location__organisation__uuid
. Filter method exact
is supported.
monitoring_network__id
Filter on monitoring_network__id
. Filter method exact
is supported.
access_modifier
Filter on access_modifier
, options are 'Public', 'Private', 'Common', or 'Hidden'.
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.
Examples
?uuid=d08a97db-80b4-4a0b-bc5b-078f97a948e5
?uuid__in=d08a97db-80b4-4a0b-bc5b-078f97a948e5,9723f42c-820a-4c5f-96ce-9febef948f53
?name=my-timeseries
?name__startswith=my-tim
?code=abc&location__uuid=b10eaf1f-2867-4ffb-8f4a-5eb9bd37dbf1
?code__startswith=a&location__uuid=b10eaf1f-2867-4ffb-8f4a-5eb9bd37dbf1
?start__gte=2017-01-01T00:00:00Z
?end__lt=2018-01-01T00:00:00Z
?value_type=float
?observation_type=1
?observation_type__id=1
?observation_type__code=my-code
?observation_type__code__startswith=my-c
?datasource=1
?datasource__id=1
?datasource__uuid=b10eaf1f-2867-4ffb-8f4a-5eb9bd37dbf1
?location__code=MOB_MP_P_5min
?location__name__startswith=Rotterdam
?location__organisation__uuid=b10eaf1f-2867-4ffb-8f4a-5eb9bd37dbf1
?location__uuid=b10eaf1f-2867-4ffb-8f4a-5eb9bd37dbf1
?access_modifier=Private
?access_modifier=100
?created__gte=2017-01-01T00:00:00Z
?last_modified__lt=2018-01-01T00:00:00Z
GET /api/v4/timeseries/e196263e-feab-448d-9880-1b7e49533a5b/?format=api
https://demo.lizard.net/api/v4/timeseries/e196263e-feab-448d-9880-1b7e49533a5b/?format=api", "uuid": "e196263e-feab-448d-9880-1b7e49533a5b", "code": "H.rtc.proc::second::1::3600", "name": "H.rtc.proc", "description": "", "start": "2019-10-10T15:00:00Z", "end": "2019-10-13T16:00:00Z", "value_type": "float", "last_value": null, "interval": null, "observation_type": { "url": "https://demo.lizard.net/api/v4/observationtypes/1115/?format=api", "id": 1115, "code": "H.rtc.proc", "parameter": "Gesimuleerde vullingsgraad", "unit": "%", "scale": "interval", "description": "", "domain_values": null, "reference_frame": null, "compartment": null, "created": "2019-10-14T08:51:57.375590Z", "last_modified": "2019-10-14T14:58:30.265306Z" }, "datasource": null, "supplier": null, "supplier_code": null, "location": { "url": "https://demo.lizard.net/api/v4/locations/18f8d09a-e7cb-4956-a414-3f4cd76702a5/?format=api", "uuid": "18f8d09a-e7cb-4956-a414-3f4cd76702a5", "name": "Rg. T Horntje", "code": "ZRG-S-1003" }, "extra_metadata": {}, "created": "2019-10-11T13:34:22.804358Z", "last_modified": "2019-10-11T13:34:22.804339Z", "access_modifier": "Public" }{ "url": "