Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/3199/?format=api
{ "id": 3199, "name": "Tuesday, Jan 23-24 2024", "details": "https://api.beluga.insectai.org/api/v2/events/3199/?format=api", "deployment": { "id": 111, "name": "Panama - trap 4", "details": "https://api.beluga.insectai.org/api/v2/deployments/111/?format=api", "user_permissions": [] }, "start": "2024-01-23T17:59:40", "end": "2024-01-24T04:59:00", "day": "2024-01-23", "date_label": "Jan 23-24 2024", "duration": "39560.0", "duration_label": "10 hours 59 min", "captures_count": 3957, "detections_count": 199, "occurrences_count": 39, "stats": { "detections_max_count": 8, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=3199&ordering=timestamp", "first_capture": { "id": 8391081, "details": "https://api.beluga.insectai.org/api/v2/captures/8391081/?format=api", "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/pan/dep000020/snapshot_images/20240123175940-snapshot.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=951e406b7eb1113e1bb05c083ce51481%2F20260412%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260412T214327Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=3b30bca117040aafda6d23f64f6f209152dd8d7139d67c8e7f8e5fd07fa89ef4", "width": 4096, "height": 2160, "timestamp": "2024-01-23T17:59:40", "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": [ 1, 3, 2, 10, 9, 6, 5, 2, 1, 2, 6 ], "ticktext": [ "6:00 PM:00", "4:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 1, 2, 2, 2, 2, 3, 3, 4, 4, 16 ], "y": [ "Lycomorphodes sordida", "Macaria abydata", "Sosxetra grata", "Ephestia elutella", "Herpetogramma phaeopteralis", "Acrolophus panamae", "Pareuchaetes insulata", "Selenisa sueroides", "Elasmopalpus lignosella", "Plodia interpunctella" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-04-29T14:58:21.529878", "updated_at": "2024-09-20T06:59:10.582160", "user_permissions": [] }