Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/5105/?format=api
{ "id": 5105, "name": "Monday, Aug 29-30 2022", "details": "https://api.beluga.insectai.org/api/v2/events/5105/?format=api", "deployment": { "id": 235, "name": "Insectarium", "details": "https://api.beluga.insectai.org/api/v2/deployments/235/?format=api", "user_permissions": [] }, "start": "2022-08-29T20:34:14", "end": "2022-08-30T06:32:50", "day": "2022-08-29", "date_label": "Aug 29-30 2022", "duration": "35916.0", "duration_label": "9 hours 58 min", "captures_count": 17836, "detections_count": 6917, "occurrences_count": 373, "stats": { "detections_max_count": 89, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=5105&ordering=timestamp", "first_capture": { "id": 17745647, "details": "https://api.beluga.insectai.org/api/v2/captures/17745647/?format=api", "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Insectarium/2022/2022_08_29/20220829203414-00-01.jpg", "width": 4096, "height": 2160, "timestamp": "2022-08-29T20:34:14", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "8:00 PM", "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", "6:00 AM" ], "y": [ 6, 43, 17, 35, 62, 56, 28, 43, 45, 24, 14 ], "ticktext": [ "8:00 PM:00", "6:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 6, 7, 8, 12, 14, 19, 19, 30, 54, 79 ], "y": [ "Coleophora mayrella", "Agrius cingulata", "Adela caeruleella", "Thyridopteryx ephemeraeformis", "Varneria postremella", "Choristoneura rosaceana", "Elasmopalpus lignosella", "Virbia laeta", "Eriocrania semipurpurella", "Not Lepidoptera" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-09-27T22:49:42.884626", "updated_at": "2026-01-27T17:22:09.825276", "user_permissions": [] }