Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/4732/?format=api
{ "id": 4732, "name": "Friday, Aug 5-6 2022", "details": "https://api.beluga.insectai.org/api/v2/events/4732/?format=api", "deployment": { "id": 235, "name": "Insectarium", "details": "https://api.beluga.insectai.org/api/v2/deployments/235/?format=api", "user_permissions": [] }, "start": "2022-08-05T20:40:00", "end": "2022-08-06T05:48:57", "day": "2022-08-05", "date_label": "Aug 5-6 2022", "duration": "32937.0", "duration_label": "9 hours 8 min", "captures_count": 15704, "detections_count": 3878, "occurrences_count": 241, "stats": { "detections_max_count": 78, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4732&ordering=timestamp", "first_capture": { "id": 17833064, "details": "https://api.beluga.insectai.org/api/v2/captures/17833064/?format=api", "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Insectarium/2022/SnapShot/01-20220805204000-snapshot.jpg", "width": 4096, "height": 2160, "timestamp": "2022-08-05T20: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", "3:00 AM", "4:00 AM", "5:00 AM" ], "y": [ 26, 27, 21, 34, 24, 34, 33, 21, 21 ], "ticktext": [ "9:00 PM:00", "5:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 6, 6, 6, 11, 11, 12, 12, 12, 24, 40 ], "y": [ "Albuna fraxini", "Chrysoteuchia topiarius", "Hypoprepia fucosa", "Varneria postremella", "Coleophora mayrella", "Virbia laeta", "Eudonia strigalis", "Adela caeruleella", "Eriocrania semipurpurella", "Not Lepidoptera" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-09-26T00:00:34.621813", "updated_at": "2026-01-27T17:21:44.068779", "user_permissions": [] }