Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/352/?format=api
{ "id": 352, "name": "Monday, Aug 22-23 2022", "details": "https://api.beluga.insectai.org/api/v2/events/352/?format=api", "deployment": { "id": 14, "name": "Insectarium", "details": "https://api.beluga.insectai.org/api/v2/deployments/14/?format=api", "user_permissions": [] }, "start": "2022-08-22T20:35:42", "end": "2022-08-23T06:32:20", "day": "2022-08-22", "date_label": "Aug 22-23 2022", "duration": "35798.0", "duration_label": "9 hours 56 min", "captures_count": 15785, "detections_count": 94, "occurrences_count": 29, "stats": { "detections_max_count": 28, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=352&ordering=timestamp", "first_capture": { "id": 1264668, "details": "https://api.beluga.insectai.org/api/v2/captures/1264668/?format=api", "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Insectarium/2022/2022_08_22/20220822203542-00-01.jpg", "width": 4096, "height": 2160, "timestamp": "2022-08-22T20:35:42", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "11:00 PM", "2:00 AM", "3:00 AM", "4:00 AM", "6:00 AM" ], "y": [ 1, 15, 2, 10, 1 ], "ticktext": [ "11:00 PM:00", "6:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 0, 0, 0, 0, 1, 1, 1, 2, 4, 20 ], "y": [ "Brenthia pavonacella", "Apotomis albeolana", "Archips strianus", "Argyrotaenia quadrifasciana", "Xanthopastis regnatrix", "Hypoprepia fucosa", "Sparganothis sulfureana", "Eriocrania semipurpurella", "Choristoneura rosaceana", "Not Lepidoptera" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2023-08-20T16:22:45.979488", "updated_at": "2024-08-09T20:10:40.508109", "user_permissions": [] }