Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/4455/?format=api
{ "id": 4455, "name": "Friday, May 10-11 2024", "details": "https://api.beluga.insectai.org/api/v2/events/4455/?format=api", "deployment": { "id": 172, "name": "LEPS-001_Box1", "details": "https://api.beluga.insectai.org/api/v2/deployments/172/?format=api", "user_permissions": [] }, "start": "2024-05-10T20:30:30", "end": "2024-05-11T03:31:00", "day": "2024-05-10", "date_label": "May 10-11 2024", "duration": "25230.0", "duration_label": "7 hours 0 min", "captures_count": 2524, "detections_count": 98, "occurrences_count": 8, "stats": { "detections_max_count": 5, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4455&ordering=timestamp", "first_capture": { "id": 13794022, "details": "https://api.beluga.insectai.org/api/v2/captures/13794022/?format=api", "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/pennsylvania/tebufenozide/LEPS-001_Box1/Box1_20240510203030-snapshot.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=f196f151de3a4b73ad87c0ee6263c173%2F20260413%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260413T021656Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=120d9e2a8032024e28851c74464fc6f60a6a1411a8b6245417b64e4996de517c", "width": 1920, "height": 1080, "timestamp": "2024-05-10T20:30:30", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "10:00 PM", "12:00 AM", "1:00 AM", "2:00 AM", "3:00 AM" ], "y": [ 1, 5, 5, 5, 3 ], "ticktext": [ "10:00 PM:00", "3:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 0, 0, 0, 0, 0, 0, 0, 0, 1, 18 ], "y": [ "Artace cribrarius", "Disclisioprocta stellata", "Cilix glaucata", "Cyclosia papilionaris", "Cerura erminea", "Catocala robinsoni", "Catocala maestosa", "Ardozyga nyctias", "Eupithecia tripunctaria", "Plagodis pulveraria" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-09-14T19:00:33.300639", "updated_at": "2024-09-14T19:05:24.864532", "user_permissions": [] }