Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/2740/?format=api
{ "id": 2740, "name": "Friday, Jun 30-1 2023", "details": "https://api.beluga.insectai.org/api/v2/events/2740/?format=api", "deployment": { "id": 12, "name": "Newfoundland - Unit 2", "details": "https://api.beluga.insectai.org/api/v2/deployments/12/?format=api", "user_permissions": [] }, "start": "2023-06-30T22:05:04", "end": "2023-07-01T04:04:23", "day": "2023-06-30", "date_label": "Jun 30-1 2023", "duration": "21559.0", "duration_label": "5 hours 59 min", "captures_count": 7873, "detections_count": 613, "occurrences_count": 270, "stats": { "detections_max_count": 25, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=2740&ordering=timestamp", "first_capture": { "id": 5624204, "details": "https://api.beluga.insectai.org/api/v2/captures/5624204/?format=api", "url": "https://static.dev.insectai.org/ami-trapdata/newfoundland/Unit-2/01-20230630220504-snapshot.jpg", "width": 4096, "height": 2160, "timestamp": "2023-06-30T22:05:04", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "11:00 PM", "12:00 AM", "1:00 AM", "2:00 AM", "3:00 AM", "4:00 AM" ], "y": [ 25, 88, 50, 24, 77, 6 ], "ticktext": [ "11:00 PM:00", "4:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 5, 6, 6, 6, 7, 7, 8, 8, 9, 12 ], "y": [ "Coleophora mayrella", "Sitochroa chortalis", "Olethreutes schulziana", "Choristoneura rosaceana", "Episimus argutana", "Cenopis pettitana", "Chrysoesthia sexguttella", "Choristoneura pinus", "Amydria effrentella", "Archips argyrospila" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-02-20T15:25:23.037505", "updated_at": "2024-11-13T15:49:40.030749", "user_permissions": [] }