Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/2802/?format=api
{ "id": 2802, "name": "Tuesday, Jul 18 2023", "details": "https://api.beluga.insectai.org/api/v2/events/2802/?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-18T01:00:01", "end": "2023-07-18T05:00:02", "day": "2023-07-18", "date_label": "Jul 18 2023", "duration": "14401.0", "duration_label": "4 hours 0 min", "captures_count": 21, "detections_count": 31, "occurrences_count": 13, "stats": { "detections_max_count": 11, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=2802&ordering=timestamp", "first_capture": { "id": 6238082, "details": "https://api.beluga.insectai.org/api/v2/captures/6238082/?format=api", "url": "https://static.dev.insectai.org/ami-trapdata/newfoundland/MothWall/Project_20230718010001_4163.JPG", "width": 6080, "height": 3420, "timestamp": "2023-07-18T01:00:01", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "3:00 AM", "4:00 AM", "5:00 AM" ], "y": [ 2, 9, 2 ], "ticktext": [ "3:00 AM:00", "5:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 1, 1, 1, 1, 1, 1, 1, 1, 1, 2 ], "y": [ "Choristoneura rosaceana", "Cenopis pettitana", "Atolmis rubricollis", "Archips rosana", "Archips argyrospila", "Noctua pronuba", "Lomographa vestaliata", "Garella nilotica", "Spilosoma virginica", "Amorbia humerosana" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-03-18T10:17:31.948406", "updated_at": "2024-11-13T15:50:59.871953", "user_permissions": [] }