Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/3202/?format=api
{ "id": 3202, "name": "Tuesday, Feb 13-14 2024", "details": "https://api.beluga.insectai.org/api/v2/events/3202/?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-02-13T17:59:30", "end": "2024-02-14T04:59:00", "day": "2024-02-13", "date_label": "Feb 13-14 2024", "duration": "39570.0", "duration_label": "10 hours 59 min", "captures_count": 3958, "detections_count": 166, "occurrences_count": 48, "stats": { "detections_max_count": 9, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=3202&ordering=timestamp", "first_capture": { "id": 8402953, "details": "https://api.beluga.insectai.org/api/v2/captures/8402953/?format=api", "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/pan/dep000020/snapshot_images/20240213175930-snapshot.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=951e406b7eb1113e1bb05c083ce51481%2F20260411%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260411T232746Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=bcfb01d12222815b19a7a75c511267dac52387986d6ac4ac28c8580745307e32", "width": 4096, "height": 2160, "timestamp": "2024-02-13T17:59:30", "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", "1:00 AM", "4:00 AM" ], "y": [ 1, 7, 10, 11, 10, 6, 11, 6 ], "ticktext": [ "6:00 PM:00", "4:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 2, 2, 2, 3, 3, 4, 4, 5, 10, 14 ], "y": [ "Athyrma adjutrix", "Desmia bajulalis", "Ascalapha odorata", "Elasmopalpus lignosella", "Glaphyria invisalis", "Cecrita biundata", "Sosxetra grata", "Acrolophus panamae", "Megalopyge tharops", "Plodia interpunctella" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-04-29T14:59:03.518880", "updated_at": "2024-09-20T06:59:11.509949", "user_permissions": [] }