Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/3211/?format=api
{ "id": 3211, "name": "Wednesday, Nov 15-20 2023", "details": "https://api.beluga.insectai.org/api/v2/events/3211/?format=api", "deployment": { "id": 113, "name": "Panama - trap 6", "details": "https://api.beluga.insectai.org/api/v2/deployments/113/?format=api", "user_permissions": [] }, "start": "2023-11-15T02:50:30", "end": "2023-11-20T03:50:59", "day": "2023-11-15", "date_label": "Nov 15-20 2023", "duration": "435629.0", "duration_label": "5 days 1 hours", "captures_count": 43541, "detections_count": 8672, "occurrences_count": 1645, "stats": { "detections_max_count": 36, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=3211&ordering=timestamp", "first_capture": { "id": 8145209, "details": "https://api.beluga.insectai.org/api/v2/captures/8145209/?format=api", "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/pan/dep000022/snapshot_images/20231115025030-snapshot.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=951e406b7eb1113e1bb05c083ce51481%2F20260403%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260403T143717Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=e02129f2d70e369be9414f056e4f9f8500898fc57ded773d68d923d11b0256b0", "width": 4096, "height": 2160, "timestamp": "2023-11-15T02:50:30", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "1:00 PM", "2:00 PM", "3:00 PM", "4:00 PM", "5:00 PM", "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", "5:00 AM", "6:00 AM", "7:00 AM", "8:00 AM", "9:00 AM", "10:00 AM", "11:00 AM", "12:00 PM" ], "y": [ 96, 71, 76, 87, 58, 58, 64, 77, 61, 53, 52, 127, 102, 112, 154, 139, 138, 140, 120, 90, 113, 78, 110, 90 ], "ticktext": [ "1:00 PM:00", "12:00 PM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 49, 53, 54, 58, 62, 73, 104, 186, 187, 530 ], "y": [ "Enyo lugubris", "Sosxetra grata", "Paragonia cruraria", "Mocis disseverans", "Herpetogramma phaeopteralis", "Pilocrocis ramentalis", "Cecrita biundata", "Macaria abydata", "Ascalapha odorata", "Plodia interpunctella" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-04-29T15:13:17.411849", "updated_at": "2024-09-20T07:09:15.360862", "user_permissions": [] }