Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/76/?format=api
{ "id": 76, "name": "Friday, Aug 26-27 2022", "details": "https://api.beluga.insectai.org/api/v2/events/76/?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-08-26T22:01:35", "end": "2022-08-27T04:59:51", "day": "2022-08-26", "date_label": "Aug 26-27 2022", "duration": "25096.0", "duration_label": "6 hours 58 min", "captures_count": 1367, "detections_count": 26, "occurrences_count": 18, "stats": { "detections_max_count": 5, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=76&ordering=timestamp", "first_capture": { "id": 120375, "details": "https://api.beluga.insectai.org/api/v2/captures/120375/?format=api", "url": "https://static.dev.insectai.org/ami-trapdata/newfoundland/Unit-2/Aug 26/20220826220135-00-01.jpg", "width": 4096, "height": 2160, "timestamp": "2022-08-26T22:01:35", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "10:00 PM", "11:00 PM", "2:00 AM", "3:00 AM", "4:00 AM" ], "y": [ 1, 2, 2, 2, 11 ], "ticktext": [ "10:00 PM:00", "4:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 1, 1, 1, 1, 1, 1, 1, 2, 2, 3 ], "y": [ "Platynota flavedana", "Nomophila nearctica", "Eucopina tocullionana", "Endothenia hebesana", "Elasmopalpus lignosella", "Dysstroma hersiliata", "Choristoneura rosaceana", "Cydia caryana", "Episimus argutana", "Archips alberta" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2023-08-20T05:49:45.908324", "updated_at": "2024-11-13T15:49:34.687843", "user_permissions": [] }