Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/2806/?format=api
{ "id": 2806, "name": "Saturday, Jul 22 2023", "details": "https://api.beluga.insectai.org/api/v2/events/2806/?format=api", "deployment": { "id": 74, "name": "PFS_Moth_Wall", "details": "https://api.beluga.insectai.org/api/v2/deployments/74/?format=api", "user_permissions": [] }, "start": "2023-07-22T01:00:00", "end": "2023-07-22T05:45:08", "day": "2023-07-22", "date_label": "Jul 22 2023", "duration": "17108.0", "duration_label": "4 hours 45 min", "captures_count": 22, "detections_count": 641, "occurrences_count": 463, "stats": { "detections_max_count": 76, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=2806&ordering=timestamp", "first_capture": { "id": 6238146, "details": "https://api.beluga.insectai.org/api/v2/captures/6238146/?format=api", "url": "https://static.dev.insectai.org/ami-trapdata/newfoundland/MothWall/Project_20230722010000_4227.JPG", "width": 6080, "height": 3420, "timestamp": "2023-07-22T01:00:00", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "1:00 AM", "2:00 AM", "3:00 AM", "4:00 AM", "5:00 AM" ], "y": [ 25, 138, 136, 115, 49 ], "ticktext": [ "1:00 AM:00", "5:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 7, 8, 10, 10, 11, 11, 11, 12, 14, 17 ], "y": [ "Caradrina clavipalpis", "Cochylis dubitana", "Proxenus miranda", "Heterogenea shurtleffi", "Cydia pomonella", "Choristoneura fumiferana", "Endothenia quadrimaculana", "Caradrina morpheus", "Amorbia humerosana", "Noctua comes" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-03-18T10:21:34.128687", "updated_at": "2024-11-13T15:51:00.163828", "user_permissions": [] }