Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/4385/?format=api
{ "id": 4385, "name": "Friday, Jul 12-13 2024", "details": "https://api.beluga.insectai.org/api/v2/events/4385/?format=api", "deployment": { "id": 213, "name": "LEPS-023_Box1", "details": "https://api.beluga.insectai.org/api/v2/deployments/213/?format=api", "user_permissions": [] }, "start": "2024-07-12T19:29:00", "end": "2024-07-13T03:30:59", "day": "2024-07-12", "date_label": "Jul 12-13 2024", "duration": "28919.0", "duration_label": "8 hours 1 min", "captures_count": 2705, "detections_count": 7, "occurrences_count": 0, "stats": { "detections_max_count": 2, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4385&ordering=timestamp", "first_capture": { "id": 14112402, "details": "https://api.beluga.insectai.org/api/v2/captures/14112402/?format=api", "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/pennsylvania/tebufenozide/LEPS-023_Box1/Box1_20240712192900-snapshot.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=f196f151de3a4b73ad87c0ee6263c173%2F20260411%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260411T233432Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=ce3dbc3f98afc33e65f128525afe3a7a5d90d2ef0064ef64d9a7e8963c582ff7", "width": 1920, "height": 1080, "timestamp": "2024-07-12T19:29:00", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "9:00 PM" ], "y": [ 1 ], "ticktext": [ "9:00 PM:00", "9:00 PM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 0, 0, 1 ], "y": [ "Catocala robinsoni", "Bucculatrix coronatella", "Acrolophus mycetophagus" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-09-14T18:30:10.600393", "updated_at": "2024-09-14T18:31:46.340500", "user_permissions": [] }