Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/5068/?format=api
{ "id": 5068, "name": "Monday, Oct 31-1 2022", "details": "https://api.beluga.insectai.org/api/v2/events/5068/?format=api", "deployment": { "id": 236, "name": "Rigaud", "details": "https://api.beluga.insectai.org/api/v2/deployments/236/?format=api", "user_permissions": [] }, "start": "2022-10-31T01:49:00", "end": "2022-11-01T05:24:15", "day": "2022-10-31", "date_label": "Oct 31-1 2022", "duration": "99315.0", "duration_label": "1 days 3 hours", "captures_count": 3036, "detections_count": 38, "occurrences_count": 21, "stats": { "detections_max_count": 4, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=5068&ordering=timestamp", "first_capture": { "id": 17400657, "details": "https://api.beluga.insectai.org/api/v2/captures/17400657/?format=api", "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Rigaud/2022/2022_10_31/20221031014900-00-08.jpg", "width": 4096, "height": 2160, "timestamp": "2022-10-31T01:49:00", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "1:00 AM", "2:00 AM", "3:00 AM", "4:00 AM", "5:00 AM" ], "y": [ 4, 4, 4, 6, 4 ], "ticktext": [ "1:00 AM:00", "5:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 0, 0, 0, 0, 0, 1, 1, 1, 3, 16 ], "y": [ "Elophila tinealis", "Coleophora mayrella", "Triphosa haesitata", "Leptostales rubromarginaria", "Harrisina americana", "Tetanolita mynesalis", "Orthonama obstipata", "Operophtera brumata", "Alsophila pometaria", "Operophtera bruceata" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-09-26T00:01:33.972101", "updated_at": "2024-10-10T19:42:28.618265", "user_permissions": [] }