Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/222/?format=api
{ "id": 222, "name": "Thursday, Jul 28-29 2022", "details": "https://api.beluga.insectai.org/api/v2/events/222/?format=api", "deployment": { "id": 13, "name": "Rigaud", "details": "https://api.beluga.insectai.org/api/v2/deployments/13/?format=api", "user_permissions": [] }, "start": "2022-07-28T20:56:26", "end": "2022-07-29T05:20:49", "day": "2022-07-28", "date_label": "Jul 28-29 2022", "duration": "30263.0", "duration_label": "8 hours 24 min", "captures_count": 3298, "detections_count": 34, "occurrences_count": 18, "stats": { "detections_max_count": 14, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=222&ordering=timestamp", "first_capture": { "id": 869652, "details": "https://api.beluga.insectai.org/api/v2/captures/869652/?format=api", "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Rigaud/2022/2022_07_28/20220728205626-00-01.jpg", "width": 4096, "height": 2160, "timestamp": "2022-07-28T20:56:26", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "10:00 PM", "12:00 AM", "5:00 AM" ], "y": [ 5, 7, 6 ], "ticktext": [ "10:00 PM:00", "5:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 0, 0, 0, 1, 1, 1, 2, 3, 3, 7 ], "y": [ "Cataclysta angulata", "Cydia latiferreana", "Herpetogramma aeglealis", "Olethreutes fasciatana", "Chrysodeixis includens", "Renia discoloralis", "Herpetogramma pertextalis", "Idia aemula", "Iridopsis ephyraria", "Not Lepidoptera" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2023-08-20T16:13:01.863826", "updated_at": "2024-07-23T18:55:44.790921", "user_permissions": [] }