Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/3210/?format=api
{ "id": 3210, "name": "Tuesday, Dec 19-20 2023", "details": "https://api.beluga.insectai.org/api/v2/events/3210/?format=api", "deployment": { "id": 111, "name": "Panama - trap 4", "details": "https://api.beluga.insectai.org/api/v2/deployments/111/?format=api", "user_permissions": [] }, "start": "2023-12-19T18:00:09", "end": "2023-12-20T04:59:59", "day": "2023-12-19", "date_label": "Dec 19-20 2023", "duration": "39590.0", "duration_label": "10 hours 59 min", "captures_count": 3960, "detections_count": 386, "occurrences_count": 63, "stats": { "detections_max_count": 13, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=3210&ordering=timestamp", "first_capture": { "id": 8375238, "details": "https://api.beluga.insectai.org/api/v2/captures/8375238/?format=api", "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/pan/dep000020/snapshot_images/20231219180009-snapshot.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=951e406b7eb1113e1bb05c083ce51481%2F20260412%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260412T103620Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=4531791c3f96d6b4b0cbb8517075b71338cfd06b56a3e44a3e2391d869e8b3fb", "width": 4096, "height": 2160, "timestamp": "2023-12-19T18:00:09", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "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": [ 5, 5, 9, 8, 13, 11, 5, 16, 11, 12 ], "ticktext": [ "7:00 PM:00", "4:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 2, 2, 4, 4, 5, 6, 7, 8, 9, 13 ], "y": [ "Ceroctena amynta", "Condylorrhiza vestigialis", "Ephestia elutella", "Elasmopalpus lignosella", "Parapoynx diminutalis", "Cecrita biundata", "Pareuchaetes insulata", "Herpetogramma phaeopteralis", "Macaria abydata", "Plodia interpunctella" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-04-29T15:08:25.371334", "updated_at": "2024-09-20T06:59:09.527892", "user_permissions": [] }