Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/85/?format=api
{ "id": 85, "name": "Friday, Jul 15-16 2022", "details": "https://api.beluga.insectai.org/api/v2/events/85/?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-15T22:07:30", "end": "2022-07-16T03:57:38", "day": "2022-07-15", "date_label": "Jul 15-16 2022", "duration": "21008.0", "duration_label": "5 hours 50 min", "captures_count": 2551, "detections_count": 63, "occurrences_count": 36, "stats": { "detections_max_count": 6, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=85&ordering=timestamp", "first_capture": { "id": 504380, "details": "https://api.beluga.insectai.org/api/v2/captures/504380/?format=api", "url": "https://static.dev.insectai.org/ami-trapdata/newfoundland/Unit-1/2022_07_15/20220715220730-00-01.jpg", "width": 4096, "height": 2160, "timestamp": "2022-07-15T22:07:30", "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, 12, 8, 5, 3, 7 ], "ticktext": [ "10:00 PM:00", "3:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 1, 1, 1, 1, 2, 2, 2, 3, 3, 4 ], "y": [ "Ancylis nubeculana", "Aethes biscana", "Archips argyrospila", "Archips rosana", "Ortholepis pasadamia", "Epinotia lindana", "Olethreutes schulziana", "Pyla fusca", "Cnephasia stephensiana", "Plutella xylostella" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2023-08-20T06:23:09.010463", "updated_at": "2024-11-13T15:46:44.710843", "user_permissions": [] }