Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/3151/?format=api
{ "id": 3151, "name": "Tuesday, Nov 28-29 2023", "details": "https://api.beluga.insectai.org/api/v2/events/3151/?format=api", "deployment": { "id": 109, "name": "Panama - trap 2", "details": "https://api.beluga.insectai.org/api/v2/deployments/109/?format=api", "user_permissions": [] }, "start": "2023-11-28T17:59:49", "end": "2023-11-29T04:59:59", "day": "2023-11-28", "date_label": "Nov 28-29 2023", "duration": "39610.0", "duration_label": "11 hours 0 min", "captures_count": 3962, "detections_count": 457, "occurrences_count": 99, "stats": { "detections_max_count": 17, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=3151&ordering=timestamp", "first_capture": { "id": 8252558, "details": "https://api.beluga.insectai.org/api/v2/captures/8252558/?format=api", "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/pan/dep000018/snapshot_images/20231128175949-snapshot.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=951e406b7eb1113e1bb05c083ce51481%2F20260413%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260413T034623Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=317eff6526afa49db69a6d90b221ec3f94b31358a2b388e9fdab9a24d27b07e4", "width": 4096, "height": 2160, "timestamp": "2023-11-28T17:59:49", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "6:00 PM", "7:00 PM", "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" ], "y": [ 7, 9, 18, 23, 17, 21, 29, 5, 3, 10, 2 ], "ticktext": [ "6:00 PM:00", "4:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 4, 4, 4, 5, 5, 6, 9, 10, 21, 21 ], "y": [ "Pareuchaetes insulata", "Sphacelodes vulneraria", "Salobrena vacuana", "Syngamia florella", "Ascalapha odorata", "Melipotis perpendicularis", "Pilocrocis ramentalis", "Acrolophus panamae", "Plodia interpunctella", "Herpetogramma phaeopteralis" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-04-29T14:50:31.959539", "updated_at": "2024-09-20T06:48:49.150674", "user_permissions": [] }