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=10
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=11",
    "previous": "https://demo.lizard.net/api/v4/locations/?format=api&page=9",
    "results": [
        {
            "url": "https://demo.lizard.net/api/v4/locations/3ac39622-a2bf-4208-8aa3-d552e6008bbb/?format=api",
            "uuid": "3ac39622-a2bf-4208-8aa3-d552e6008bbb",
            "name": "Arcen",
            "code": "06391",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    6.199448285318264,
                    51.49908314467663,
                    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": 79,
                "type": "measuringstation"
            },
            "access_modifier": "Public",
            "extra_metadata": {},
            "created": "2014-11-05T13:46:52.330667Z",
            "last_modified": null,
            "last_modified_by": ""
        },
        {
            "url": "https://demo.lizard.net/api/v4/locations/55e9ce48-01fb-4be3-bdcd-175ab35e2061/?format=api",
            "uuid": "55e9ce48-01fb-4be3-bdcd-175ab35e2061",
            "name": "Lauwersoog",
            "code": "06277",
            "geometry": null,
            "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": null,
            "access_modifier": "Public",
            "extra_metadata": {},
            "created": "2014-11-05T13:46:52.892947Z",
            "last_modified": null,
            "last_modified_by": ""
        },
        {
            "url": "https://demo.lizard.net/api/v4/locations/3492937f-2f71-427d-94e7-13c7c8ffcdcc/?format=api",
            "uuid": "3492937f-2f71-427d-94e7-13c7c8ffcdcc",
            "name": "Voorschoten",
            "code": "06215",
            "geometry": null,
            "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": null,
            "access_modifier": "Public",
            "extra_metadata": {},
            "created": "2014-11-05T13:46:53.319324Z",
            "last_modified": null,
            "last_modified_by": ""
        },
        {
            "url": "https://demo.lizard.net/api/v4/locations/90a71ab5-c765-4f2b-be55-0612e44992ab/?format=api",
            "uuid": "90a71ab5-c765-4f2b-be55-0612e44992ab",
            "name": "HOLLUM",
            "code": "10",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    5.642967027865006,
                    53.43099537680646,
                    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": 80,
                "type": "measuringstation"
            },
            "access_modifier": "Public",
            "extra_metadata": {},
            "created": "2014-11-05T13:46:53.738110Z",
            "last_modified": null,
            "last_modified_by": ""
        },
        {
            "url": "https://demo.lizard.net/api/v4/locations/e8326ab2-bd37-4b73-9df5-0e06f8d173bc/?format=api",
            "uuid": "e8326ab2-bd37-4b73-9df5-0e06f8d173bc",
            "name": "WEST TERSCHELLING",
            "code": "11",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    5.221958613459197,
                    53.368259189623146,
                    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": 81,
                "type": "measuringstation"
            },
            "access_modifier": "Public",
            "extra_metadata": {},
            "created": "2014-11-05T13:46:53.806613Z",
            "last_modified": null,
            "last_modified_by": ""
        },
        {
            "url": "https://demo.lizard.net/api/v4/locations/5724e9b9-a4f0-40a5-b631-a9aa25af3e19/?format=api",
            "uuid": "5724e9b9-a4f0-40a5-b631-a9aa25af3e19",
            "name": "SCHIERMONNIKOOG",
            "code": "12",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    6.185374983543778,
                    53.4735474707182,
                    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": 82,
                "type": "measuringstation"
            },
            "access_modifier": "Public",
            "extra_metadata": {},
            "created": "2014-11-05T13:46:53.867158Z",
            "last_modified": null,
            "last_modified_by": ""
        },
        {
            "url": "https://demo.lizard.net/api/v4/locations/78c0feb2-88bb-4b3d-988c-cbb1c2b41a37/?format=api",
            "uuid": "78c0feb2-88bb-4b3d-988c-cbb1c2b41a37",
            "name": "OOST VLIELAND",
            "code": "15",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    5.05726171416426,
                    53.29603843383724,
                    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": 83,
                "type": "measuringstation"
            },
            "access_modifier": "Public",
            "extra_metadata": {},
            "created": "2014-11-05T13:46:53.920230Z",
            "last_modified": null,
            "last_modified_by": ""
        },
        {
            "url": "https://demo.lizard.net/api/v4/locations/d1e7f8b9-fcee-4b29-9448-b81f339daefa/?format=api",
            "uuid": "d1e7f8b9-fcee-4b29-9448-b81f339daefa",
            "name": "PETTEN",
            "code": "16",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    4.661254390054485,
                    52.76410277324169,
                    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": 84,
                "type": "measuringstation"
            },
            "access_modifier": "Public",
            "extra_metadata": {},
            "created": "2014-11-05T13:46:53.985855Z",
            "last_modified": null,
            "last_modified_by": ""
        },
        {
            "url": "https://demo.lizard.net/api/v4/locations/13e71bf5-a0a6-4d20-aaff-7ee50b529888/?format=api",
            "uuid": "13e71bf5-a0a6-4d20-aaff-7ee50b529888",
            "name": "DEN BURG",
            "code": "17",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    4.80558081896439,
                    53.05246566413773,
                    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": 85,
                "type": "measuringstation"
            },
            "access_modifier": "Public",
            "extra_metadata": {},
            "created": "2014-11-05T13:46:54.040353Z",
            "last_modified": null,
            "last_modified_by": ""
        },
        {
            "url": "https://demo.lizard.net/api/v4/locations/8eb964d7-056d-4af4-ae3e-2d3a47805fd3/?format=api",
            "uuid": "8eb964d7-056d-4af4-ae3e-2d3a47805fd3",
            "name": "NES AMELAND",
            "code": "18",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    5.763479410970059,
                    53.44864889031144,
                    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": 86,
                "type": "measuringstation"
            },
            "access_modifier": "Public",
            "extra_metadata": {},
            "created": "2014-11-05T13:46:54.097683Z",
            "last_modified": null,
            "last_modified_by": ""
        }
    ]
}