Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/4436/?format=api
{ "id": 4436, "name": "Thursday, Aug 15-16 2024", "details": "https://api.beluga.insectai.org/api/v2/events/4436/?format=api", "deployment": { "id": 227, "name": "LEPS-042_Box1", "details": "https://api.beluga.insectai.org/api/v2/deployments/227/?format=api", "user_permissions": [] }, "start": "2024-08-15T20:30:30", "end": "2024-08-16T03:29:59", "day": "2024-08-15", "date_label": "Aug 15-16 2024", "duration": "25169.0", "duration_label": "6 hours 59 min", "captures_count": 2518, "detections_count": 138, "occurrences_count": 16, "stats": { "detections_max_count": 11, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4436&ordering=timestamp", "first_capture": { "id": 14021146, "details": "https://api.beluga.insectai.org/api/v2/captures/14021146/?format=api", "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/pennsylvania/tebufenozide/LEPS-042_Box1/Box1_20240815203030-snapshot.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=f196f151de3a4b73ad87c0ee6263c173%2F20260411%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260411T233939Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=ecfe3b24fcff636e9cc662021a707ecd5b479dac6ad53ff1aa101482e7941a2a", "width": 1920, "height": 1080, "timestamp": "2024-08-15T20:30:30", "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" ], "y": [ 6, 4, 8, 2 ], "ticktext": [ "9:00 PM:00", "12:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 0, 0, 0, 1, 1, 1, 1, 1, 4, 11 ], "y": [ "Acrolophus mora", "Anstenoptilia marmarodactyla", "Argyresthia goedartella", "Olethreutes bipartitana", "Limnaecia phragmitella", "Tripudia rectangula", "Pangrapta decoralis", "Notocelia rosaecolana", "Pseudeustrotia carneola", "Scoparia biplagialis" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-09-14T18:51:21.682883", "updated_at": "2024-09-14T18:51:25.694550", "user_permissions": [] }