Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/555/?format=api
{ "id": 555, "name": "Friday, Jun 11-12 2021", "details": "https://api.beluga.insectai.org/api/v2/events/555/?format=api", "deployment": { "id": 17, "name": "UK - Heartwood", "details": "https://api.beluga.insectai.org/api/v2/deployments/17/?format=api", "user_permissions": [] }, "start": "2021-06-11T21:09:49", "end": "2021-06-12T06:41:07", "day": "2021-06-11", "date_label": "Jun 11-12 2021", "duration": "34278.0", "duration_label": "9 hours 31 min", "captures_count": 11454, "detections_count": 6, "occurrences_count": 1, "stats": { "detections_max_count": 6, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=555&ordering=timestamp", "first_capture": { "id": 1944674, "details": "https://api.beluga.insectai.org/api/v2/captures/1944674/?format=api", "url": "https://static.dev.insectai.org/ami-trapdata/uk/Heartwood/MOTH/06_JUNE/11_06_2021/20210611210949-00-01.jpg", "width": 3840, "height": 2160, "timestamp": "2021-06-11T21:09:49", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "2:00 AM" ], "y": [ 2 ], "ticktext": [ "2:00 AM:00", "2:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 0, 0, 0, 0, 0, 0, 0, 0, 1, 1 ], "y": [ "Xenotemna pallorana", "Balsa tristrigella", "Sparganothis distincta", "Pelochrista cataclystiana", "Globia oblonga", "Elasmopalpus lignosella", "Crambus praefectellus", "Crambus leachellus", "Clepsis clemensiana", "Coleophora mayrella" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2023-08-28T13:40:07.184006", "updated_at": "2023-12-07T01:04:03.686782", "user_permissions": [] }