Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/4081/?format=api
{ "id": 4081, "name": "Friday, Aug 16-17 2024", "details": "https://api.beluga.insectai.org/api/v2/events/4081/?format=api", "deployment": { "id": 122, "name": "Costa Rica - Pre-montane forest", "details": "https://api.beluga.insectai.org/api/v2/deployments/122/?format=api", "user_permissions": [] }, "start": "2024-08-16T18:30:59", "end": "2024-08-17T04:00:59", "day": "2024-08-16", "date_label": "Aug 16-17 2024", "duration": "34200.0", "duration_label": "9 hours 30 min", "captures_count": 3421, "detections_count": 14, "occurrences_count": 5, "stats": { "detections_max_count": 14, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4081&ordering=timestamp", "first_capture": { "id": 13436454, "details": "https://api.beluga.insectai.org/api/v2/captures/13436454/?format=api", "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/cri/dep000038/snapshot_images/20240816183059-snapshot.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=951e406b7eb1113e1bb05c083ce51481%2F20260403%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260403T160652Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=92922bef92283d69610914bdbceb8981a2927664dd530b23630cdee077ab2678", "width": 4096, "height": 2160, "timestamp": "2024-08-16T18:30:59", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "4:00 AM" ], "y": [ 6 ], "ticktext": [ "4:00 AM:00", "4:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 0, 0, 0, 0, 1, 1, 1, 1, 1, 1 ], "y": [ "Enyo lugubris", "Endrosis sarcitrella", "Cryptographis nitidalis", "Sosxetra grata", "Arta olivalis", "Pseudodirphia menander", "Plutella xylostella", "Phereoeca uterella", "Dryocampa rubicunda", "Bagisara repanda" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-09-12T15:21:44.655013", "updated_at": "2024-09-12T15:21:44.916352", "user_permissions": [] }