Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/3179/?format=api
{ "id": 3179, "name": "Friday, Nov 10-11 2023", "details": "https://api.beluga.insectai.org/api/v2/events/3179/?format=api", "deployment": { "id": 110, "name": "Panama - trap 3", "details": "https://api.beluga.insectai.org/api/v2/deployments/110/?format=api", "user_permissions": [] }, "start": "2023-11-10T18:01:10", "end": "2023-11-11T05:30:30", "day": "2023-11-10", "date_label": "Nov 10-11 2023", "duration": "41360.0", "duration_label": "11 hours 29 min", "captures_count": 4131, "detections_count": 339, "occurrences_count": 91, "stats": { "detections_max_count": 33, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=3179&ordering=timestamp", "first_capture": { "id": 8296247, "details": "https://api.beluga.insectai.org/api/v2/captures/8296247/?format=api", "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/pan/dep000019/snapshot_images/20231110180110-snapshot.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=951e406b7eb1113e1bb05c083ce51481%2F20260412%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260412T152821Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=d38838b02669ffa3da0189656b90a130fa6ce3d0d88ae2678a36f005d0c3c6d9", "width": 4096, "height": 2160, "timestamp": "2023-11-10T18:01:10", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "12:00 AM", "1:00 AM", "2:00 AM", "3:00 AM", "4:00 AM", "5:00 AM" ], "y": [ 19, 21, 24, 19, 19, 22 ], "ticktext": [ "12:00 AM:00", "5:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 4, 4, 5, 5, 7, 8, 8, 10, 13, 23 ], "y": [ "Dialithis gemmifera", "Eulepte concordalis", "Perigramma vicina", "Elasmopalpus lignosella", "Samea ecclesialis", "Plodia interpunctella", "Lobocleta ossularia", "Ascalapha odorata", "Pilocrocis ramentalis", "Herpetogramma phaeopteralis" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-04-29T14:51:50.329445", "updated_at": "2024-09-20T06:53:38.763781", "user_permissions": [] }