Endpoint for interacting with locations.

Query parameters

uuid: Text filter on uuid. Field filter method exact is supported.

name: Text filter on name. Field filter methods exact, startswith are supported.

code: Text filter on code. Field filter methods exact, startswith are 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.

timeseries__start: Temporal filter on start field of the related timeseries. Supports various lookup types (exact, lt, lte, gt, gte; timeseries__start__exact by default). Filter values should be specified in ISO 8601 YYYY-MM-DDThh:mm:ssZ format.

timeseries__end: Temporal filter on end field of the related timeseries. Supports various lookup types (exact, lt, lte, gt, gte; timeseries__end__exact by default). Filter values should be specified in ISO 8601 YYYY-MM-DDThh:mm:ssZ format.

organisation__uuid Text filter on organisation__uuid. Field filter method exact is supported.

geom_isnull: Boolean filter on geometry.

geom_within: Spatial filter on geometry. Supports WKT, HEXEWKB, and GeoJSON.

object_id: Number filter on the id attribute of an object. Field filter method exact is supported. To be used in combination with object_type.

object__id: Numerical filter on object__id. Field filter method exact is supported.

object__type: Text filter on object__type. Field filter methods exact is supported.

ordering: Offers basic ordering functionality on the name and last_modified attribute of locations. Orderings may be reversed by prefixing the attribute with '-'.

page: To prevent system overloads, list-view results are paginated. This parameter specifies which page to return.

page_size: The maximum number of results to return in list-view. The default is 10.

Examples

?name__startswith=gemaal

?name=gemaal

?code=ABC

?code__startswith=A

?timeseries__start__gte=2017-01-01T00:00:00Z

?timeseries__end__lt=2018-01-01T00:00:00Z

?organisation__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

?geom_isnull=false

?geom_within=POLYGON((4.87 52.73, 4.87 52.79, 4.98 52.79, 4.98 52.73,
4.87 52.73))

?geom_within={"type": "Polygon", "coordinates": [[[4.87, 52.73],
[4.87, 52.79], [4.98, 52.79], [4.98, 52.73], [4.87, 52.73]]]}

?object__id=1

?object__type=building

?ordering=name
GET /api/v4/locations/?format=api&page=27
HTTP 200 OK
Allow: GET, POST, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "count": 59876,
    "next": "https://demo.lizard.net/api/v4/locations/?format=api&page=28",
    "previous": "https://demo.lizard.net/api/v4/locations/?format=api&page=26",
    "results": [
        {
            "url": "https://demo.lizard.net/api/v4/locations/d619c1c0-d65e-41df-92ba-a54c989dea20/?format=api",
            "uuid": "d619c1c0-d65e-41df-92ba-a54c989dea20",
            "name": "MAASLAND",
            "code": "479",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    4.252097837297733,
                    51.96993536170798,
                    0.0
                ]
            },
            "organisation": {
                "url": "https://demo.lizard.net/api/v4/organisations/18d98431-8077-451a-a7ae-041aac7ad148/?format=api",
                "uuid": "18d98431-8077-451a-a7ae-041aac7ad148",
                "name": "KNMI"
            },
            "object": {
                "id": 247,
                "type": "measuringstation"
            },
            "access_modifier": "Public",
            "extra_metadata": {},
            "created": "2014-11-05T13:47:03.125646Z",
            "last_modified": null,
            "last_modified_by": ""
        },
        {
            "url": "https://demo.lizard.net/api/v4/locations/5cadf474-edd4-4afc-a172-1c0506344dcc/?format=api",
            "uuid": "5cadf474-edd4-4afc-a172-1c0506344dcc",
            "name": "HONSELERSDIJK",
            "code": "480",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    4.251187672063765,
                    52.00588229008246,
                    0.0
                ]
            },
            "organisation": {
                "url": "https://demo.lizard.net/api/v4/organisations/18d98431-8077-451a-a7ae-041aac7ad148/?format=api",
                "uuid": "18d98431-8077-451a-a7ae-041aac7ad148",
                "name": "KNMI"
            },
            "object": {
                "id": 248,
                "type": "measuringstation"
            },
            "access_modifier": "Public",
            "extra_metadata": {},
            "created": "2014-11-05T13:47:03.207705Z",
            "last_modified": null,
            "last_modified_by": ""
        },
        {
            "url": "https://demo.lizard.net/api/v4/locations/2c8bd81a-5b63-44d0-b41c-83e7ed72c917/?format=api",
            "uuid": "2c8bd81a-5b63-44d0-b41c-83e7ed72c917",
            "name": "DOORN",
            "code": "509",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    5.328881998570518,
                    52.056289931413325,
                    0.0
                ]
            },
            "organisation": {
                "url": "https://demo.lizard.net/api/v4/organisations/18d98431-8077-451a-a7ae-041aac7ad148/?format=api",
                "uuid": "18d98431-8077-451a-a7ae-041aac7ad148",
                "name": "KNMI"
            },
            "object": {
                "id": 249,
                "type": "measuringstation"
            },
            "access_modifier": "Public",
            "extra_metadata": {},
            "created": "2014-11-05T13:47:03.289665Z",
            "last_modified": null,
            "last_modified_by": ""
        },
        {
            "url": "https://demo.lizard.net/api/v4/locations/0c4b3560-833a-4ec0-b54b-1172b4332d56/?format=api",
            "uuid": "0c4b3560-833a-4ec0-b54b-1172b4332d56",
            "name": "VAASSEN",
            "code": "510",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    5.973345905769223,
                    52.279547672842874,
                    0.0
                ]
            },
            "organisation": {
                "url": "https://demo.lizard.net/api/v4/organisations/18d98431-8077-451a-a7ae-041aac7ad148/?format=api",
                "uuid": "18d98431-8077-451a-a7ae-041aac7ad148",
                "name": "KNMI"
            },
            "object": {
                "id": 250,
                "type": "measuringstation"
            },
            "access_modifier": "Public",
            "extra_metadata": {},
            "created": "2014-11-05T13:47:03.349820Z",
            "last_modified": null,
            "last_modified_by": ""
        },
        {
            "url": "https://demo.lizard.net/api/v4/locations/605fe8b9-6045-4a69-b6d2-1d5b951f7dfa/?format=api",
            "uuid": "605fe8b9-6045-4a69-b6d2-1d5b951f7dfa",
            "name": "EPE",
            "code": "514",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    6.003523867853225,
                    52.3423094157813,
                    0.0
                ]
            },
            "organisation": {
                "url": "https://demo.lizard.net/api/v4/organisations/18d98431-8077-451a-a7ae-041aac7ad148/?format=api",
                "uuid": "18d98431-8077-451a-a7ae-041aac7ad148",
                "name": "KNMI"
            },
            "object": {
                "id": 251,
                "type": "measuringstation"
            },
            "access_modifier": "Public",
            "extra_metadata": {},
            "created": "2014-11-05T13:47:03.421578Z",
            "last_modified": null,
            "last_modified_by": ""
        },
        {
            "url": "https://demo.lizard.net/api/v4/locations/a46f39e2-314b-4b44-b31d-7099cc020b33/?format=api",
            "uuid": "a46f39e2-314b-4b44-b31d-7099cc020b33",
            "name": "HARDERWIJK",
            "code": "516",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    5.563442941626992,
                    52.37973447202152,
                    0.0
                ]
            },
            "organisation": {
                "url": "https://demo.lizard.net/api/v4/organisations/18d98431-8077-451a-a7ae-041aac7ad148/?format=api",
                "uuid": "18d98431-8077-451a-a7ae-041aac7ad148",
                "name": "KNMI"
            },
            "object": {
                "id": 252,
                "type": "measuringstation"
            },
            "access_modifier": "Public",
            "extra_metadata": {},
            "created": "2014-11-05T13:47:03.493168Z",
            "last_modified": null,
            "last_modified_by": ""
        },
        {
            "url": "https://demo.lizard.net/api/v4/locations/ab306185-4b27-4050-b2a0-336247cdf799/?format=api",
            "uuid": "ab306185-4b27-4050-b2a0-336247cdf799",
            "name": "WIJK BIJ DUURSTEDE",
            "code": "523",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    5.328998518398823,
                    51.96640863786463,
                    0.0
                ]
            },
            "organisation": {
                "url": "https://demo.lizard.net/api/v4/organisations/18d98431-8077-451a-a7ae-041aac7ad148/?format=api",
                "uuid": "18d98431-8077-451a-a7ae-041aac7ad148",
                "name": "KNMI"
            },
            "object": {
                "id": 253,
                "type": "measuringstation"
            },
            "access_modifier": "Public",
            "extra_metadata": {},
            "created": "2014-11-05T13:47:03.554790Z",
            "last_modified": null,
            "last_modified_by": ""
        },
        {
            "url": "https://demo.lizard.net/api/v4/locations/69449a95-14e1-4e15-bfd1-691215f6922f/?format=api",
            "uuid": "69449a95-14e1-4e15-bfd1-691215f6922f",
            "name": "NIJMEGEN",
            "code": "539",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    5.895158430321377,
                    51.84847588237677,
                    0.0
                ]
            },
            "organisation": {
                "url": "https://demo.lizard.net/api/v4/organisations/18d98431-8077-451a-a7ae-041aac7ad148/?format=api",
                "uuid": "18d98431-8077-451a-a7ae-041aac7ad148",
                "name": "KNMI"
            },
            "object": {
                "id": 254,
                "type": "measuringstation"
            },
            "access_modifier": "Public",
            "extra_metadata": {},
            "created": "2014-11-05T13:47:03.592200Z",
            "last_modified": null,
            "last_modified_by": ""
        },
        {
            "url": "https://demo.lizard.net/api/v4/locations/345b028e-3517-4788-9727-9067647465d7/?format=api",
            "uuid": "345b028e-3517-4788-9727-9067647465d7",
            "name": "ARNHEM",
            "code": "541",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    5.926013164191443,
                    52.001141327107916,
                    0.0
                ]
            },
            "organisation": {
                "url": "https://demo.lizard.net/api/v4/organisations/18d98431-8077-451a-a7ae-041aac7ad148/?format=api",
                "uuid": "18d98431-8077-451a-a7ae-041aac7ad148",
                "name": "KNMI"
            },
            "object": {
                "id": 255,
                "type": "measuringstation"
            },
            "access_modifier": "Public",
            "extra_metadata": {},
            "created": "2014-11-05T13:47:03.626864Z",
            "last_modified": null,
            "last_modified_by": ""
        },
        {
            "url": "https://demo.lizard.net/api/v4/locations/a3d38abc-336a-4cad-8b31-2aae0c6300dc/?format=api",
            "uuid": "a3d38abc-336a-4cad-8b31-2aae0c6300dc",
            "name": "PUTTEN",
            "code": "542",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    5.606789869400892,
                    52.235858648246854,
                    0.0
                ]
            },
            "organisation": {
                "url": "https://demo.lizard.net/api/v4/organisations/18d98431-8077-451a-a7ae-041aac7ad148/?format=api",
                "uuid": "18d98431-8077-451a-a7ae-041aac7ad148",
                "name": "KNMI"
            },
            "object": {
                "id": 256,
                "type": "measuringstation"
            },
            "access_modifier": "Public",
            "extra_metadata": {},
            "created": "2014-11-05T13:47:03.656984Z",
            "last_modified": null,
            "last_modified_by": ""
        }
    ]
}