Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/4413/?format=api
{ "id": 4413, "name": "Wednesday, Jul 31-1 2024", "details": "https://api.beluga.insectai.org/api/v2/events/4413/?format=api", "deployment": { "id": 192, "name": "LEPS-038_Box2", "details": "https://api.beluga.insectai.org/api/v2/deployments/192/?format=api", "user_permissions": [] }, "start": "2024-07-31T12:18:40", "end": "2024-08-01T03:29:59", "day": "2024-07-31", "date_label": "Jul 31-1 2024", "duration": "54679.0", "duration_label": "15 hours 11 min", "captures_count": 2619, "detections_count": 54, "occurrences_count": 6, "stats": { "detections_max_count": 26, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4413&ordering=timestamp", "first_capture": { "id": 14211500, "details": "https://api.beluga.insectai.org/api/v2/captures/14211500/?format=api", "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/pennsylvania/tebufenozide/LEPS-038_Box2/Box2_20240731121840-snapshot.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=f196f151de3a4b73ad87c0ee6263c173%2F20260411%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260411T234424Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=c08f6478c59c81f2b4f11df7806fb72e3a062064950c1deb48dd832417bd138d", "width": 1920, "height": 1080, "timestamp": "2024-07-31T12:18:40", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "8:00 PM", "10:00 PM", "11:00 PM" ], "y": [ 1, 3, 4 ], "ticktext": [ "8:00 PM:00", "11:00 PM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 0, 0, 0, 0, 1, 1, 1, 1, 1, 3 ], "y": [ "Catocala maestosa", "Acronicta afflicta", "Agonopterix arenella", "Argyrotaenia alisellana", "Eudeilinia herminiata", "Tolype notialis", "Petrophila canadensis", "Hyperstrotia pervertens", "Acrobasis indigenella", "Scoparia basalis" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-09-14T18:48:17.143157", "updated_at": "2024-09-14T18:48:38.327164", "user_permissions": [] }