Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/302/?format=api
{ "id": 302, "name": "Tuesday, Oct 25-26 2022", "details": "https://api.beluga.insectai.org/api/v2/events/302/?format=api", "deployment": { "id": 13, "name": "Rigaud", "details": "https://api.beluga.insectai.org/api/v2/deployments/13/?format=api", "user_permissions": [] }, "start": "2022-10-25T21:16:40", "end": "2022-10-26T05:12:12", "day": "2022-10-25", "date_label": "Oct 25-26 2022", "duration": "28532.0", "duration_label": "7 hours 55 min", "captures_count": 1625, "detections_count": 4, "occurrences_count": 1, "stats": { "detections_max_count": 4, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=302&ordering=timestamp", "first_capture": { "id": 1000459, "details": "https://api.beluga.insectai.org/api/v2/captures/1000459/?format=api", "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Rigaud/2022/2022_10_25/20221025211640-00-01.jpg", "width": 4096, "height": 2160, "timestamp": "2022-10-25T21:16:40", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "5:00 AM" ], "y": [ 1 ], "ticktext": [ "5:00 AM:00", "5:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 0, 0, 0, 1 ], "y": [ "Xanthopastis regnatrix", "Symmerista albifrons", "Phaecasiophora niveiguttana", "Orthonama obstipata" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2023-08-20T16:13:29.602781", "updated_at": "2024-07-23T18:55:57.491859", "user_permissions": [] }