Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/56/?format=api
{ "id": 56, "name": "Sunday, Jul 24-25 2022", "details": "https://api.beluga.insectai.org/api/v2/events/56/?format=api", "deployment": { "id": 12, "name": "Newfoundland - Unit 2", "details": "https://api.beluga.insectai.org/api/v2/deployments/12/?format=api", "user_permissions": [] }, "start": "2022-07-24T22:02:07", "end": "2022-07-25T04:59:46", "day": "2022-07-24", "date_label": "Jul 24-25 2022", "duration": "25059.0", "duration_label": "6 hours 57 min", "captures_count": 11771, "detections_count": 1878, "occurrences_count": 1362, "stats": { "detections_max_count": 162, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=56&ordering=timestamp", "first_capture": { "id": 343720, "details": "https://api.beluga.insectai.org/api/v2/captures/343720/?format=api", "url": "https://static.dev.insectai.org/ami-trapdata/newfoundland/Unit-2/Jul 24/20220724220207-00-01.jpg", "width": 4096, "height": 2160, "timestamp": "2022-07-24T22:02:07", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "10:00 PM", "11:00 PM", "12:00 AM", "1:00 AM", "2:00 AM", "3:00 AM", "4:00 AM" ], "y": [ 11, 69, 169, 203, 269, 256, 385 ], "ticktext": [ "10:00 PM:00", "4:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 23, 23, 25, 25, 34, 34, 35, 56, 212, 243 ], "y": [ "Episimus argutana", "Cnephasia stephensiana", "Rhyacionia buoliana", "Ortholepis pasadamia", "Argyrotaenia velutinana", "Cenopis pettitana", "Platynota flavedana", "Choristoneura rosaceana", "Archips argyrospila", "Choristoneura fumiferana" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2023-08-20T05:49:18.615464", "updated_at": "2024-11-13T15:49:24.562487", "user_permissions": [] }