Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/3219/?format=api
{ "id": 3219, "name": "Monday, Aug 21-22 2023", "details": "https://api.beluga.insectai.org/api/v2/events/3219/?format=api", "deployment": { "id": 96, "name": "Dorset Cont pos", "details": "https://api.beluga.insectai.org/api/v2/deployments/96/?format=api", "user_permissions": [] }, "start": "2023-08-21T21:08:18", "end": "2023-08-22T04:29:59", "day": "2023-08-21", "date_label": "Aug 21-22 2023", "duration": "26501.0", "duration_label": "7 hours 21 min", "captures_count": 6334, "detections_count": 9, "occurrences_count": 4, "stats": { "detections_max_count": 9, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=3219&ordering=timestamp", "first_capture": { "id": 8584724, "details": "https://api.beluga.insectai.org/api/v2/captures/8584724/?format=api", "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/dep000006/motion_images/20230821210818-00-01.jpg", "width": 4096, "height": 2160, "timestamp": "2023-08-21T21:08:18", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "11:00 PM" ], "y": [ 4 ], "ticktext": [ "11:00 PM:00", "11:00 PM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 0, 0, 0, 0, 1, 1, 1, 1 ], "y": [ "Elaphria venustula", "Yponomeuta evonymella", "Plodia interpunctella", "Ypsolopha scabrella", "Parapoynx stratiotata", "Ochropleura plecta", "Xestia xanthographa", "Euplagia quadripunctaria" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-04-30T10:28:45.323070", "updated_at": "2024-04-30T10:28:45.730649", "user_permissions": [] }