Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/4579/?format=api
{ "id": 4579, "name": "Friday, Jul 15-16 2022", "details": "https://api.beluga.insectai.org/api/v2/events/4579/?format=api", "deployment": { "id": 235, "name": "Insectarium", "details": "https://api.beluga.insectai.org/api/v2/deployments/235/?format=api", "user_permissions": [] }, "start": "2022-07-15T16:21:19", "end": "2022-07-16T02:00:24", "day": "2022-07-15", "date_label": "Jul 15-16 2022", "duration": "34745.0", "duration_label": "9 hours 39 min", "captures_count": 7896, "detections_count": 2614, "occurrences_count": 764, "stats": { "detections_max_count": 58, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4579&ordering=timestamp", "first_capture": { "id": 15299176, "details": "https://api.beluga.insectai.org/api/v2/captures/15299176/?format=api", "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Insectarium/2022/2022_07_15/20220715162119-00-01.jpg", "width": 4096, "height": 2160, "timestamp": "2022-07-15T16:21:19", "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" ], "y": [ 11, 77, 183, 258, 235 ], "ticktext": [ "9:00 PM:00", "1:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 7, 7, 7, 8, 9, 10, 11, 13, 19, 560 ], "y": [ "Not Lepidoptera", "Adela caeruleella", "Eriocrania semipurpurella", "Tortricidae", "Chrysoteuchia topiarius", "Choristoneura", "Hypoprepia fucosa", "Coleophora mayrella", "Platynota exasperatana", "Choristoneura fumiferana" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-09-26T00:00:17.886454", "updated_at": "2026-01-27T17:21:23.038757", "user_permissions": [] }