Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/318/?format=api
{ "id": 318, "name": "Saturday, Nov 12-13 2022", "details": "https://api.beluga.insectai.org/api/v2/events/318/?format=api", "deployment": { "id": 13, "name": "Rigaud", "details": "https://api.beluga.insectai.org/api/v2/deployments/13/?format=api", "user_permissions": [] }, "start": "2022-11-12T19:47:11", "end": "2022-11-13T04:32:43", "day": "2022-11-12", "date_label": "Nov 12-13 2022", "duration": "31532.0", "duration_label": "8 hours 45 min", "captures_count": 341, "detections_count": 5, "occurrences_count": 2, "stats": { "detections_max_count": 4, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=318&ordering=timestamp", "first_capture": { "id": 1011872, "details": "https://api.beluga.insectai.org/api/v2/captures/1011872/?format=api", "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Rigaud/2022/2022_11_12/20221112194711-00-01.jpg", "width": 4096, "height": 2160, "timestamp": "2022-11-12T19:47:11", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "4:00 AM" ], "y": [ 2 ], "ticktext": [ "4:00 AM:00", "4:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 0, 2 ], "y": [ "Idia lubricalis", "Operophtera bruceata" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2023-08-20T16:13:35.501563", "updated_at": "2024-07-23T18:55:59.308087", "user_permissions": [] }