Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/4872/?format=api
{ "id": 4872, "name": "Sunday, Aug 28-29 2022", "details": "https://api.beluga.insectai.org/api/v2/events/4872/?format=api", "deployment": { "id": 235, "name": "Insectarium", "details": "https://api.beluga.insectai.org/api/v2/deployments/235/?format=api", "user_permissions": [] }, "start": "2022-08-28T20:38:47", "end": "2022-08-29T06:32:57", "day": "2022-08-28", "date_label": "Aug 28-29 2022", "duration": "35650.0", "duration_label": "9 hours 54 min", "captures_count": 16499, "detections_count": 2261, "occurrences_count": 242, "stats": { "detections_max_count": 29, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4872&ordering=timestamp", "first_capture": { "id": 15869748, "details": "https://api.beluga.insectai.org/api/v2/captures/15869748/?format=api", "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Insectarium/2022/2022_08_28/20220828203847-00-01.jpg", "width": 4096, "height": 2160, "timestamp": "2022-08-28T20:38:47", "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": [ 1, 17, 17, 24, 31, 18, 26, 41, 39, 24, 4 ], "ticktext": [ "8:00 PM:00", "6:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 4, 6, 7, 7, 12, 12, 17, 27, 36, 61 ], "y": [ "Apotomis albeolana", "Agriphila vulgivagellus", "Anavitrinella pampinaria", "Adela caeruleella", "Virbia laeta", "Sparganothis sulfureana", "Not Lepidoptera", "Eriocrania semipurpurella", "Campaea perlata", "Choristoneura rosaceana" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-09-26T00:00:58.279706", "updated_at": "2026-01-27T17:22:08.126358", "user_permissions": [] }