Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/4697/?format=api
{ "id": 4697, "name": "Sunday, Jul 31-1 2022", "details": "https://api.beluga.insectai.org/api/v2/events/4697/?format=api", "deployment": { "id": 235, "name": "Insectarium", "details": "https://api.beluga.insectai.org/api/v2/deployments/235/?format=api", "user_permissions": [] }, "start": "2022-07-31T20:40:00", "end": "2022-08-01T02:36:45", "day": "2022-07-31", "date_label": "Jul 31-1 2022", "duration": "21405.0", "duration_label": "5 hours 56 min", "captures_count": 6762, "detections_count": 469, "occurrences_count": 81, "stats": { "detections_max_count": 20, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4697&ordering=timestamp", "first_capture": { "id": 17833059, "details": "https://api.beluga.insectai.org/api/v2/captures/17833059/?format=api", "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Insectarium/2022/SnapShot/01-20220731204000-snapshot.jpg", "width": 4096, "height": 2160, "timestamp": "2022-07-31T20:40:00", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "9:00 PM", "10:00 PM", "11:00 PM", "12:00 AM", "1:00 AM", "2:00 AM" ], "y": [ 4, 8, 15, 25, 26, 3 ], "ticktext": [ "9:00 PM:00", "2:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 3, 3, 4, 4, 4, 5, 5, 7, 7, 12 ], "y": [ "Archips packardiana", "Acleris forsskaleana", "Virbia laeta", "Eriocrania semipurpurella", "Adela caeruleella", "Thyridopteryx ephemeraeformis", "Coleophora mayrella", "Platynota flavedana", "Not Lepidoptera", "Chrysoteuchia topiarius" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-09-26T00:00:31.211989", "updated_at": "2026-01-27T17:21:38.324093", "user_permissions": [] }