Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/2479/?format=api
{ "id": 2479, "name": "Friday, Jul 21-22 2023", "details": "https://api.beluga.insectai.org/api/v2/events/2479/?format=api", "deployment": { "id": 52, "name": "Mothra", "details": "https://api.beluga.insectai.org/api/v2/deployments/52/?format=api", "user_permissions": [] }, "start": "2023-07-21T21:09:00", "end": "2023-07-22T04:01:55", "day": "2023-07-21", "date_label": "Jul 21-22 2023", "duration": "24775.0", "duration_label": "6 hours 52 min", "captures_count": 6715, "detections_count": 510, "occurrences_count": 498, "stats": { "detections_max_count": 21, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=2479&ordering=timestamp", "first_capture": { "id": 4626718, "details": "https://api.beluga.insectai.org/api/v2/captures/4626718/?format=api", "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/vermont/RawImages/MOTHRA/2023/2023_07_21/20230721210900-00-01.jpg", "width": 4096, "height": 2160, "timestamp": "2023-07-21T21:09:00", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "9:00 PM", "10:00 PM", "11:00 PM", "12:00 AM", "1:00 AM", "2:00 AM", "3:00 AM", "4:00 AM" ], "y": [ 1, 1, 4, 13, 34, 28, 20, 2 ], "ticktext": [ "9:00 PM:00", "4:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 2, 3, 3, 3, 4, 4, 4, 9, 28, 28 ], "y": [ "Herpetogramma pertextalis", "Platynota idaeusalis", "Bleptina caradrinalis", "Microcrambus elegans", "Haploa confusa", "Pandemis", "Drepana arcuata", "Cyclophora pendulinaria", "Pandemis lamprosana", "Platynota exasperatana" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2023-10-12T22:00:05.078907", "updated_at": "2025-01-15T19:04:32.433195", "user_permissions": [] }