Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/6672/?format=api
{ "id": 6672, "name": "Monday, Jul 29-30 2024", "details": "https://api.beluga.insectai.org/api/v2/events/6672/?format=api", "deployment": { "id": 277, "name": "Puang Thong 2 (lake)", "details": "https://api.beluga.insectai.org/api/v2/deployments/277/?format=api", "user_permissions": [] }, "start": "2024-07-29T18:31:00", "end": "2024-07-30T04:01:00", "day": "2024-07-29", "date_label": "Jul 29-30 2024", "duration": "34200.0", "duration_label": "9 hours 30 min", "captures_count": 3421, "detections_count": 282, "occurrences_count": 282, "stats": { "detections_max_count": 48, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=6672&ordering=timestamp", "first_capture": { "id": 24691136, "details": "https://api.beluga.insectai.org/api/v2/captures/24691136/?format=api", "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/tha/dep000076/snapshot_images/20240729183100-snapshot.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=f75d7a3bc98918fc129f53f0a8f434a5%2F20260403%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260403T095913Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=9f404fd9ddf43fd134495db2d1ef2ab64640449d0606f1e90cc3f471e5649701", "width": 4096, "height": 2160, "timestamp": "2024-07-29T18:31:00", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "8:00 PM", "9:00 PM", "10:00 PM", "11:00 PM", "12:00 AM", "1:00 AM", "2:00 AM" ], "y": [ 37, 32, 43, 38, 48, 45, 39 ], "ticktext": [ "8:00 PM:00", "2:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 23, 259 ], "y": [ "Not Lepidoptera", "Moth" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2025-01-27T11:25:15.428834", "updated_at": "2025-01-27T12:13:42.528136", "user_permissions": [] }