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=25
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=26",
    "previous": "https://demo.lizard.net/api/v4/locations/?format=api&page=24",
    "results": [
        {
            "url": "https://demo.lizard.net/api/v4/locations/9ac14392-123b-40fe-8357-f0fb2634b269/?format=api",
            "uuid": "9ac14392-123b-40fe-8357-f0fb2634b269",
            "name": "IJSSELMONDE",
            "code": "451",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    4.544633380564312,
                    51.89149660643344,
                    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": 227,
                "type": "measuringstation"
            },
            "access_modifier": "Public",
            "extra_metadata": {},
            "created": "2014-11-05T13:47:02.139829Z",
            "last_modified": null,
            "last_modified_by": ""
        },
        {
            "url": "https://demo.lizard.net/api/v4/locations/25a51dc5-a9f9-4be7-9ae7-c46b7b756287/?format=api",
            "uuid": "25a51dc5-a9f9-4be7-9ae7-c46b7b756287",
            "name": "BERGSCHENHOEK",
            "code": "453",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    4.484547150543296,
                    51.989926101399824,
                    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": 228,
                "type": "measuringstation"
            },
            "access_modifier": "Public",
            "extra_metadata": {},
            "created": "2014-11-05T13:47:02.188859Z",
            "last_modified": null,
            "last_modified_by": ""
        },
        {
            "url": "https://demo.lizard.net/api/v4/locations/d013630b-eff5-40c8-87a8-7810f14aadfd/?format=api",
            "uuid": "d013630b-eff5-40c8-87a8-7810f14aadfd",
            "name": "LISSE",
            "code": "454",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    4.552310675810033,
                    52.26007789542832,
                    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": 229,
                "type": "measuringstation"
            },
            "access_modifier": "Public",
            "extra_metadata": {},
            "created": "2014-11-05T13:47:02.219471Z",
            "last_modified": null,
            "last_modified_by": ""
        },
        {
            "url": "https://demo.lizard.net/api/v4/locations/2ff8bebc-140b-45ee-bf50-d0ca5c6f24ca/?format=api",
            "uuid": "2ff8bebc-140b-45ee-bf50-d0ca5c6f24ca",
            "name": "STRIJEN",
            "code": "455",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    4.590438296643862,
                    51.76597396618253,
                    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": 230,
                "type": "measuringstation"
            },
            "access_modifier": "Public",
            "extra_metadata": {},
            "created": "2014-11-05T13:47:02.248585Z",
            "last_modified": null,
            "last_modified_by": ""
        },
        {
            "url": "https://demo.lizard.net/api/v4/locations/8297be51-bb45-49bb-8e76-65af05aad9df/?format=api",
            "uuid": "8297be51-bb45-49bb-8e76-65af05aad9df",
            "name": "OOSTVOORNE",
            "code": "456",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    4.093868253205454,
                    51.905377378533416,
                    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": 231,
                "type": "measuringstation"
            },
            "access_modifier": "Public",
            "extra_metadata": {},
            "created": "2014-11-05T13:47:02.276800Z",
            "last_modified": null,
            "last_modified_by": ""
        },
        {
            "url": "https://demo.lizard.net/api/v4/locations/963be366-332a-49b3-a01c-e4d454016062/?format=api",
            "uuid": "963be366-332a-49b3-a01c-e4d454016062",
            "name": "AALSMEER",
            "code": "458",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    4.772005123731953,
                    52.26142574075549,
                    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": 232,
                "type": "measuringstation"
            },
            "access_modifier": "Public",
            "extra_metadata": {},
            "created": "2014-11-05T13:47:02.314325Z",
            "last_modified": null,
            "last_modified_by": ""
        },
        {
            "url": "https://demo.lizard.net/api/v4/locations/25a4df7b-214e-4291-84bd-74c81685965a/?format=api",
            "uuid": "25a4df7b-214e-4291-84bd-74c81685965a",
            "name": "DORDRECHT",
            "code": "459",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    4.676643813928942,
                    51.81147147454891,
                    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": 233,
                "type": "measuringstation"
            },
            "access_modifier": "Public",
            "extra_metadata": {},
            "created": "2014-11-05T13:47:02.361020Z",
            "last_modified": null,
            "last_modified_by": ""
        },
        {
            "url": "https://demo.lizard.net/api/v4/locations/5b043fd6-ea94-42e9-ad55-6274eeb83992/?format=api",
            "uuid": "5b043fd6-ea94-42e9-ad55-6274eeb83992",
            "name": "BARENDRECHT",
            "code": "461",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    4.545306186816193,
                    51.85554653711452,
                    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": 234,
                "type": "measuringstation"
            },
            "access_modifier": "Public",
            "extra_metadata": {},
            "created": "2014-11-05T13:47:02.393249Z",
            "last_modified": null,
            "last_modified_by": ""
        },
        {
            "url": "https://demo.lizard.net/api/v4/locations/c5e35e2c-9f61-4b90-9cdc-e6ebb123a65b/?format=api",
            "uuid": "c5e35e2c-9f61-4b90-9cdc-e6ebb123a65b",
            "name": "DIRKSLAND",
            "code": "462",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    4.083767094583922,
                    51.752446719974124,
                    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": 235,
                "type": "measuringstation"
            },
            "access_modifier": "Public",
            "extra_metadata": {},
            "created": "2014-11-05T13:47:02.427984Z",
            "last_modified": null,
            "last_modified_by": ""
        },
        {
            "url": "https://demo.lizard.net/api/v4/locations/1445bd2d-d3e3-42f9-947a-27f335e329b3/?format=api",
            "uuid": "1445bd2d-d3e3-42f9-947a-27f335e329b3",
            "name": "NIEUW HELVOET",
            "code": "463",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    4.124943221645393,
                    51.833801318275555,
                    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": 236,
                "type": "measuringstation"
            },
            "access_modifier": "Public",
            "extra_metadata": {},
            "created": "2014-11-05T13:47:02.480017Z",
            "last_modified": null,
            "last_modified_by": ""
        }
    ]
}