Return events as GeoJSON.

Available filters:

  • category: text filter on category.

  • timestamp_start: temporal filter on timestamp_start, expects ISO 8601 format with timezone. UTC is easiest to use. An offset from UTC is also possible, but may require URL encoding of the plus sign for positive offsets.

  • timestamp_end: temporal filter on timestamp_end, expects ISO 8601 format with timezone. UTC is easiest to use. An offset from UTC is also possible, but may require URL encoding of the plus sign for positive offsets.

  • duration: temporal filter on the duration of an event. Supports both Django (e.g. 21:02:00) and ISO 8601 (e.g. PT21H2M) formatted durations.

  • object_type: related filter on object_type.

  • object_id: number filter on object_id.

  • event_series: related filter on event_series by uuid.

  • event_series__name: related filter on event_series by name (case insensitive).

  • geom_within: spatial filter on geometry, returns all events within the given geometry. Supported textual types include WKT, HEXEWKB, WKB (in a buffer), and GeoJSON.

Examples:

events/?category__istartswith=riolering

events/?timestamp_start__gte=2014-12-31T23:00:00Z (using UTC)

events/?timestamp_start__gte=2015-01-01T00:00:00%2B01:00 (using CET)

events/?duration__gte=PT24H

events/?object_type__model=culvert&object_id=1 (combining 2 filters)

events/?object=culvert$1 (shorthand for previous example)

events/?event_series=4cadf648-104d-4bb1-8334-8e8fc6f1e81b (all events with the eventseries /v3/eventseries/4cadf648-104d-4bb1-8334-8e8fc6f1e81b/)

events/?event_series=4ca (all events with an eventseries uuid starting with 4ca)

events/?event_series__name=aardbevingen

events/?event_series__name=AardBevingen (equivalent to previous example)

events/?geom_within=POLYGON(
    (5.61 52.66,5.62 52.66,5.62 52.67,5.61 52.67,5.61 52.66))
GET /api/v3/events/
HTTP 200 OK
Allow: GET, POST, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "count": 16803,
    "next": "https://demo.lizard.net/api/v3/events/?page=2",
    "previous": null,
    "results": [
        {
            "id": 1137809,
            "type": "Feature",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    11.64833263676396,
                    49.12647052232064,
                    0.0
                ]
            },
            "properties": {
                "category": "",
                "value": "start_37124",
                "url": "https://demo.lizard.net/api/v3/events/1137809/",
                "timestamp_start": 1520463600000,
                "timestamp_end": 1520463600000,
                "event_series": 885,
                "the_geom": {
                    "type": "Point",
                    "coordinates": [
                        11.64833263676396,
                        49.12647052232064,
                        0.0
                    ]
                },
                "object": null
            }
        },
        {
            "id": 1137803,
            "type": "Feature",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    11.47207269562895,
                    49.1582600617017,
                    0.0
                ]
            },
            "properties": {
                "category": "",
                "value": "start_37118",
                "url": "https://demo.lizard.net/api/v3/events/1137803/",
                "timestamp_start": 1520463600000,
                "timestamp_end": 1520463600000,
                "event_series": 885,
                "the_geom": {
                    "type": "Point",
                    "coordinates": [
                        11.47207269562895,
                        49.1582600617017,
                        0.0
                    ]
                },
                "object": null
            }
        },
        {
            "id": 1137807,
            "type": "Feature",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    11.98073290381414,
                    49.10137595658691,
                    0.0
                ]
            },
            "properties": {
                "category": "",
                "value": "start_37122",
                "url": "https://demo.lizard.net/api/v3/events/1137807/",
                "timestamp_start": 1520463600000,
                "timestamp_end": 1520463600000,
                "event_series": 885,
                "the_geom": {
                    "type": "Point",
                    "coordinates": [
                        11.98073290381414,
                        49.10137595658691,
                        0.0
                    ]
                },
                "object": null
            }
        },
        {
            "id": 1137808,
            "type": "Feature",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    11.88000196386125,
                    49.19096381695215,
                    0.0
                ]
            },
            "properties": {
                "category": "",
                "value": "start_37123",
                "url": "https://demo.lizard.net/api/v3/events/1137808/",
                "timestamp_start": 1520463600000,
                "timestamp_end": 1520463600000,
                "event_series": 885,
                "the_geom": {
                    "type": "Point",
                    "coordinates": [
                        11.88000196386125,
                        49.19096381695215,
                        0.0
                    ]
                },
                "object": null
            }
        },
        {
            "id": 1137805,
            "type": "Feature",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    12.44267511688025,
                    49.22793939250897,
                    0.0
                ]
            },
            "properties": {
                "category": "",
                "value": "start_37120",
                "url": "https://demo.lizard.net/api/v3/events/1137805/",
                "timestamp_start": 1520463600000,
                "timestamp_end": 1520463600000,
                "event_series": 885,
                "the_geom": {
                    "type": "Point",
                    "coordinates": [
                        12.44267511688025,
                        49.22793939250897,
                        0.0
                    ]
                },
                "object": null
            }
        },
        {
            "id": 1137802,
            "type": "Feature",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    12.0011265781105,
                    49.15270215491744,
                    0.0
                ]
            },
            "properties": {
                "category": "",
                "value": "start_37117",
                "url": "https://demo.lizard.net/api/v3/events/1137802/",
                "timestamp_start": 1520463600000,
                "timestamp_end": 1520463600000,
                "event_series": 885,
                "the_geom": {
                    "type": "Point",
                    "coordinates": [
                        12.0011265781105,
                        49.15270215491744,
                        0.0
                    ]
                },
                "object": null
            }
        },
        {
            "id": 1137806,
            "type": "Feature",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    11.24704244086291,
                    49.2880233143662,
                    0.0
                ]
            },
            "properties": {
                "category": "",
                "value": "start_37121",
                "url": "https://demo.lizard.net/api/v3/events/1137806/",
                "timestamp_start": 1520463600000,
                "timestamp_end": 1520463600000,
                "event_series": 885,
                "the_geom": {
                    "type": "Point",
                    "coordinates": [
                        11.24704244086291,
                        49.2880233143662,
                        0.0
                    ]
                },
                "object": null
            }
        },
        {
            "id": 1137804,
            "type": "Feature",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    11.97709075042522,
                    48.9801633639471,
                    0.0
                ]
            },
            "properties": {
                "category": "",
                "value": "start_37119",
                "url": "https://demo.lizard.net/api/v3/events/1137804/",
                "timestamp_start": 1520463600000,
                "timestamp_end": 1520463600000,
                "event_series": 885,
                "the_geom": {
                    "type": "Point",
                    "coordinates": [
                        11.97709075042522,
                        48.9801633639471,
                        0.0
                    ]
                },
                "object": null
            }
        },
        {
            "id": 1581852,
            "type": "Feature",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    -122.6513,
                    49.15872,
                    0.0
                ]
            },
            "properties": {
                "category": "",
                "value": "start_60754",
                "url": "https://demo.lizard.net/api/v3/events/1581852/",
                "timestamp_start": 1484290800000,
                "timestamp_end": 1484290800000,
                "event_series": 885,
                "the_geom": {
                    "type": "Point",
                    "coordinates": [
                        -122.6513,
                        49.15872,
                        0.0
                    ]
                },
                "object": null
            }
        },
        {
            "id": 1581853,
            "type": "Feature",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    -122.1946,
                    49.02983,
                    0.0
                ]
            },
            "properties": {
                "category": "",
                "value": "start_60755",
                "url": "https://demo.lizard.net/api/v3/events/1581853/",
                "timestamp_start": 1483682400000,
                "timestamp_end": 1483682400000,
                "event_series": 885,
                "the_geom": {
                    "type": "Point",
                    "coordinates": [
                        -122.1946,
                        49.02983,
                        0.0
                    ]
                },
                "object": null
            }
        }
    ]
}