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=31
https://demo.lizard.net/api/v4/observationtypes/?format=api&page=32", "previous": "https://demo.lizard.net/api/v4/observationtypes/?format=api&page=30", "results": [ { "url": "https://demo.lizard.net/api/v4/observationtypes/789/?format=api", "id": 789, "code": "photo_45deg", "parameter": "45 degrees picture", "unit": "", "scale": "nominal", "description": "G4AW image timeseries", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2017-03-16T14:24:09.478634Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/790/?format=api", "id": 790, "code": "photo_90deg", "parameter": "90 degrees picture", "unit": "", "scale": "nominal", "description": "G4AW image timeseries", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2017-03-16T14:24:43.428137Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/791/?format=api", "id": 791, "code": "class_ord", "parameter": "Class", "unit": "", "scale": "ordinal", "description": "", "domain_values": null, "reference_frame": null, "compartment": null, "created": "2017-03-24T15:03:32.659397Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/792/?format=api", "id": 792, "code": "Biomass", "parameter": "Biomass", "unit": "kg/ha/year", "scale": "interval", "description": "", "domain_values": null, "reference_frame": null, "compartment": null, "created": "2017-03-25T12:05:04.953758Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/793/?format=api", "id": 793, "code": "EVAPDEF", "parameter": "Evapotranspiration Deficit", "unit": "mm", "scale": "ratio", "description": "", "domain_values": null, "reference_frame": null, "compartment": null, "created": "2017-03-27T09:49:48.480949Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/794/?format=api", "id": 794, "code": "ndmi", "parameter": "NDMI", "unit": "", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2017-04-21T14:28:01.493610Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/795/?format=api", "id": 795, "code": "DD.15", "parameter": "Draaitijd", "unit": "s", "scale": "ratio", "description": "", "domain_values": null, "reference_frame": "", "compartment": "NT", "created": "2017-05-01T10:11:08.306683Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/796/?format=api", "id": 796, "code": "DDL.15", "parameter": "Draaitijd (laag)", "unit": "s", "scale": "ratio", "description": "", "domain_values": null, "reference_frame": "", "compartment": "NT", "created": "2017-05-01T10:11:54.436073Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/797/?format=api", "id": 797, "code": "DDH.15", "parameter": "Draaitijd (hoog)", "unit": "s", "scale": "ratio", "description": "", "domain_values": null, "reference_frame": "", "compartment": "NT", "created": "2017-05-01T10:12:45.526326Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/798/?format=api", "id": 798, "code": "WNS9889", "parameter": "Hefhoogte", "unit": "m", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "NAP", "compartment": "NT", "created": "2017-05-01T10:24:50.151688Z", "last_modified": "2019-06-25T07:26:10.441021Z" } ] }{ "count": 8137, "next": "