Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/4720/?format=api
{ "id": 4720, "name": "Friday, Jun 17-18 2022", "details": "https://api.beluga.insectai.org/api/v2/events/4720/?format=api", "deployment": { "id": 236, "name": "Rigaud", "details": "https://api.beluga.insectai.org/api/v2/deployments/236/?format=api", "user_permissions": [] }, "start": "2022-06-17T21:21:12", "end": "2022-06-18T05:25:48", "day": "2022-06-17", "date_label": "Jun 17-18 2022", "duration": "29076.0", "duration_label": "8 hours 4 min", "captures_count": 2686, "detections_count": 47, "occurrences_count": 10, "stats": { "detections_max_count": 4, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4720&ordering=timestamp", "first_capture": { "id": 15948038, "details": "https://api.beluga.insectai.org/api/v2/captures/15948038/?format=api", "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Rigaud/2022/2022_06_17/20220617212112-00-01.jpg", "width": 4096, "height": 2160, "timestamp": "2022-06-17T21:21:12", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "11:00 PM", "12:00 AM", "1:00 AM", "2:00 AM", "3:00 AM" ], "y": [ 3, 3, 4, 1, 1 ], "ticktext": [ "11:00 PM:00", "3:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 0, 0, 0, 1, 1, 1, 1, 1, 2, 5 ], "y": [ "Adela ridingsella", "Amydria effrentella", "Adoxophyes privatana", "Eusarca confusaria", "Acleris semipurpurana", "Clepsis consimilana", "Xanthorhoe lacustrata", "Adoxophyes orana", "Campaea perlata", "Choristoneura rosaceana" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-09-26T00:00:33.619960", "updated_at": "2024-10-10T19:41:08.960695", "user_permissions": [] }