Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/3170/?format=api
{ "id": 3170, "name": "Wednesday, Nov 15 2023", "details": "https://api.beluga.insectai.org/api/v2/events/3170/?format=api", "deployment": { "id": 112, "name": "Panama - trap 5", "details": "https://api.beluga.insectai.org/api/v2/deployments/112/?format=api", "user_permissions": [] }, "start": "2023-11-15T05:15:20", "end": "2023-11-15T05:44:10", "day": "2023-11-15", "date_label": "Nov 15 2023", "duration": "1730.0", "duration_label": "28 minutes", "captures_count": 174, "detections_count": 19, "occurrences_count": 2, "stats": { "detections_max_count": 8, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=3170&ordering=timestamp", "first_capture": { "id": 8257812, "details": "https://api.beluga.insectai.org/api/v2/captures/8257812/?format=api", "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/pan/dep000021/snapshot_images/20231115051520-snapshot.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=951e406b7eb1113e1bb05c083ce51481%2F20260403%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260403T160931Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=c043829a46d931481d6446bafd626480264c645bd27e2eff2d388cb66b4fee7c", "width": 4096, "height": 2160, "timestamp": "2023-11-15T05:15:20", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "5:00 AM" ], "y": [ 2 ], "ticktext": [ "5:00 AM:00", "5:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 0, 0, 0, 0, 0, 0, 0, 0, 1, 1 ], "y": [ "Prepiella aurea", "Phobetron hipparchia", "Neococytius cluentius", "Acrolophus panamae", "Euclea cippus", "Cosmosoma auge", "Cecrita biundata", "Ascalapha odorata", "Tosale oviplagalis", "Plodia interpunctella" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-04-29T14:51:23.521065", "updated_at": "2024-09-20T07:04:11.145461", "user_permissions": [] }