Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/5003/?format=api
{ "id": 5003, "name": "Sunday, Sep 18-19 2022", "details": "https://api.beluga.insectai.org/api/v2/events/5003/?format=api", "deployment": { "id": 236, "name": "Rigaud", "details": "https://api.beluga.insectai.org/api/v2/deployments/236/?format=api", "user_permissions": [] }, "start": "2022-09-18T20:37:03", "end": "2022-09-19T05:30:17", "day": "2022-09-18", "date_label": "Sep 18-19 2022", "duration": "31994.0", "duration_label": "8 hours 53 min", "captures_count": 1493, "detections_count": 49, "occurrences_count": 7, "stats": { "detections_max_count": 4, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=5003&ordering=timestamp", "first_capture": { "id": 17360825, "details": "https://api.beluga.insectai.org/api/v2/captures/17360825/?format=api", "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Rigaud/2022/2022_09_18/20220918203703-00-01.jpg", "width": 4096, "height": 2160, "timestamp": "2022-09-18T20:37:03", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "12:00 AM", "1:00 AM", "2:00 AM", "3:00 AM", "4:00 AM", "5:00 AM" ], "y": [ 2, 4, 1, 1, 1, 1 ], "ticktext": [ "12:00 AM:00", "5:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 0, 0, 0, 0, 1, 1, 1, 1, 1, 5 ], "y": [ "Episimus argutana", "Amydria effrentella", "Coleophora mayrella", "Elasmopalpus lignosella", "Idia lubricalis", "Virbia laeta", "Xanthorhoe designata", "Eriocrania semipurpurella", "Coleophora deauratella", "Xanthorhoe labradorensis" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-09-26T00:01:24.215542", "updated_at": "2024-10-10T19:42:09.208483", "user_permissions": [] }