Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/59/?format=api
{ "id": 59, "name": "Thursday, Aug 4-5 2022", "details": "https://api.beluga.insectai.org/api/v2/events/59/?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-04T22:29:59", "end": "2022-08-05T04:59:59", "day": "2022-08-04", "date_label": "Aug 4-5 2022", "duration": "23400.0", "duration_label": "6 hours 30 min", "captures_count": 11432, "detections_count": 2244, "occurrences_count": 2229, "stats": { "detections_max_count": 100, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=59&ordering=timestamp", "first_capture": { "id": 141247, "details": "https://api.beluga.insectai.org/api/v2/captures/141247/?format=api", "url": "https://static.dev.insectai.org/ami-trapdata/newfoundland/Unit-2/Aug 4/SNAPSHOTS FROM AUG 4 night/01-20220804222959-snapshot.jpg", "width": 4096, "height": 2160, "timestamp": "2022-08-04T22:29: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", "4:00 AM" ], "y": [ 17, 103, 156, 232, 267, 359, 471 ], "ticktext": [ "10:00 PM:00", "4:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 21, 33, 34, 36, 43, 50, 66, 88, 89, 583 ], "y": [ "Choristoneura fumiferana", "Episimus argutana", "Archips rosana", "Choristoneura rosaceana", "Platynota flavedana", "Olethreutes schulziana", "Cenopis pettitana", "Argyrotaenia velutinana", "Ortholepis pasadamia", "Archips argyrospila" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2023-08-20T05:49:22.939217", "updated_at": "2024-11-13T15:49:27.332567", "user_permissions": [] }