Observation Type List
Query parameters
code
Text filter on the code
field. All text field filter methods,
like startswith
, endswith
, icontains
are supported.
parameter
Text filter on parameter
field. All text field filter methods,
like startswith
, endswith
, icontains
are supported.
unit
Text filter on unit
field. All text field filter methods,
like startswith
, endswith
, icontains
are 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.
Examples
?code=27234
?parameter__icontains=In bedrijf
?unit__iexact=m3/d
?created__gte=2017-01-01T00:00:00Z
?last_modified__lt=2018-01-01T00:00:00Z
POST
Creating an invitation requires a POST to a list url:
POST api/v4/observationtypes/
Request body example:
{
code": "gwaterlvl_mMSL",
parameter": "Water level",
unit": "m",
scale": "interval",
"description": "Water level in meters with Mean Sea Level (MSL)
as reference datum, measured in groundwater (GW)
and displayed as a line chart (interval).",
"reference_frame": "MSL",
"compartment": "GW"
}
Where scale can be one of the following values:
nominal
, ordinal
, interval
, ratio
.
GET /api/v4/observationtypes/?format=api&page=33
https://demo.lizard.net/api/v4/observationtypes/?format=api&page=34", "previous": "https://demo.lizard.net/api/v4/observationtypes/?format=api&page=32", "results": [ { "url": "https://demo.lizard.net/api/v4/observationtypes/811/?format=api", "id": 811, "code": "emission_NH3", "parameter": "NH3", "unit": "Ton/year/km2", "scale": "interval", "description": "NH3 emissions", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2017-06-01T12:11:56.926522Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/812/?format=api", "id": 812, "code": "emission_PM10", "parameter": "PM10", "unit": "Ton/year/km2", "scale": "interval", "description": "PM10 emissions", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2017-06-01T12:12:29.125488Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/813/?format=api", "id": 813, "code": "emission_PM25", "parameter": "PM25", "unit": "Ton/year/km2", "scale": "interval", "description": "PM25 emissions", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2017-06-01T12:12:50.793658Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/814/?format=api", "id": 814, "code": "emission_SO2", "parameter": "SO2", "unit": "Ton/year/km2", "scale": "interval", "description": "SO2 emissions", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2017-06-01T12:13:14.066401Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/815/?format=api", "id": 815, "code": "emission_VOC", "parameter": "VOC", "unit": "Ton/year/km2", "scale": "interval", "description": "VOC emissions", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2017-06-01T12:13:33.940585Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/816/?format=api", "id": 816, "code": "Slope", "parameter": "Slope", "unit": "degree", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2017-06-02T08:18:26.534804Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/817/?format=api", "id": 817, "code": "PRECIPITATION_MEASURED", "parameter": "Precipitation", "unit": "mm/5min", "scale": "interval", "description": "Observation type for modelling purposes.", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2017-06-12T11:28:59.223178Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/818/?format=api", "id": 818, "code": "emissions_NOx", "parameter": "NOx", "unit": "Ton/year/km2", "scale": "interval", "description": "NOx emissions", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2017-06-12T12:03:02.902845Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/819/?format=api", "id": 819, "code": "conc_NO2", "parameter": "NO2", "unit": "µg/m3", "scale": "interval", "description": "NO2 concentrations", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2017-06-12T12:03:47.950285Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/820/?format=api", "id": 820, "code": "conc_PM10", "parameter": "PM10", "unit": "µg/m3", "scale": "interval", "description": "PM10 concentrations", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2017-06-12T12:04:13.298841Z", "last_modified": "2019-06-25T07:26:10.441021Z" } ] }{ "count": 8137, "next": "