Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/4791/?format=api
{ "id": 4791, "name": "Friday, Aug 19-20 2022", "details": "https://api.beluga.insectai.org/api/v2/events/4791/?format=api", "deployment": { "id": 235, "name": "Insectarium", "details": "https://api.beluga.insectai.org/api/v2/deployments/235/?format=api", "user_permissions": [] }, "start": "2022-08-19T20:33:19", "end": "2022-08-20T06:32:58", "day": "2022-08-19", "date_label": "Aug 19-20 2022", "duration": "35979.0", "duration_label": "9 hours 59 min", "captures_count": 17555, "detections_count": 5910, "occurrences_count": 299, "stats": { "detections_max_count": 100, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4791&ordering=timestamp", "first_capture": { "id": 15665698, "details": "https://api.beluga.insectai.org/api/v2/captures/15665698/?format=api", "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Insectarium/2022/2022_08_19/20220819203319-00-01.jpg", "width": 4096, "height": 2160, "timestamp": "2022-08-19T20:33:19", "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": [ 3, 30, 23, 24, 35, 30, 41, 33, 39, 23, 18 ], "ticktext": [ "8:00 PM:00", "6:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 7, 7, 8, 8, 10, 10, 13, 32, 32, 60 ], "y": [ "Amydria effrentella", "Chionodes discoocellella", "Eriocrania semipurpurella", "Endothenia hebesana", "Virbia laeta", "Elasmopalpus lignosella", "Varneria postremella", "Gymnandrosoma punctidiscanum", "Not Lepidoptera", "Choristoneura rosaceana" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-09-26T00:00:44.973589", "updated_at": "2026-01-27T17:21:54.079554", "user_permissions": [] }