Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/84/?format=api
{ "id": 84, "name": "Thursday, Jul 14-15 2022", "details": "https://api.beluga.insectai.org/api/v2/events/84/?format=api", "deployment": { "id": 11, "name": "Newfoundland - Unit 1-Pasadena", "details": "https://api.beluga.insectai.org/api/v2/deployments/11/?format=api", "user_permissions": [] }, "start": "2022-07-14T22:07:59", "end": "2022-07-15T03:58:24", "day": "2022-07-14", "date_label": "Jul 14-15 2022", "duration": "21025.0", "duration_label": "5 hours 50 min", "captures_count": 4459, "detections_count": 83, "occurrences_count": 69, "stats": { "detections_max_count": 7, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=84&ordering=timestamp", "first_capture": { "id": 499921, "details": "https://api.beluga.insectai.org/api/v2/captures/499921/?format=api", "url": "https://static.dev.insectai.org/ami-trapdata/newfoundland/Unit-1/2022_07_14/20220714220759-00-01.jpg", "width": 4096, "height": 2160, "timestamp": "2022-07-14T22:07:59", "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" ], "y": [ 1, 7, 20, 14, 13, 14 ], "ticktext": [ "10:00 PM:00", "3:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 2, 2, 2, 2, 2, 2, 3, 3, 6, 6 ], "y": [ "Noctua pronuba", "Clepsis persicana", "Apotomis capreana", "Archips argyrospila", "Eucosma olivaceana", "Dysstroma citrata", "Choristoneura pinus", "Episimus argutana", "Choristoneura fumiferana", "Choristoneura rosaceana" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2023-08-20T06:23:08.413780", "updated_at": "2024-11-13T15:46:44.384013", "user_permissions": [] }