Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/331/?format=api
{ "id": 331, "name": "Saturday, Jul 23-24 2022", "details": "https://api.beluga.insectai.org/api/v2/events/331/?format=api", "deployment": { "id": 14, "name": "Insectarium", "details": "https://api.beluga.insectai.org/api/v2/deployments/14/?format=api", "user_permissions": [] }, "start": "2022-07-23T20:40:00", "end": "2022-07-24T05:08:56", "day": "2022-07-23", "date_label": "Jul 23-24 2022", "duration": "30536.0", "duration_label": "8 hours 28 min", "captures_count": 14015, "detections_count": 48, "occurrences_count": 13, "stats": { "detections_max_count": 19, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=331&ordering=timestamp", "first_capture": { "id": 1435441, "details": "https://api.beluga.insectai.org/api/v2/captures/1435441/?format=api", "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Insectarium/2022/SnapShot/01-20220723204000-snapshot.jpg", "width": 4096, "height": 2160, "timestamp": "2022-07-23T20:40:00", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "9:00 PM", "10:00 PM", "2:00 AM", "4:00 AM" ], "y": [ 1, 2, 7, 3 ], "ticktext": [ "9:00 PM:00", "4:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 0, 0, 0, 0, 0, 1, 1, 1, 1, 9 ], "y": [ "Aterpia approximana", "Anacampsis levipedella", "Chrysoteuchia topiarius", "Acrolophus plumifrontella", "Aristotelia rubidella", "Argyrotaenia quercifoliana", "Choristoneura rosaceana", "Hypoprepia fucosa", "Acleris forsskaleana", "Not Lepidoptera" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2023-08-20T16:22:18.151088", "updated_at": "2024-08-09T20:10:30.411246", "user_permissions": [] }