Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/308/?format=api
{ "id": 308, "name": "Monday, Oct 31-1 2022", "details": "https://api.beluga.insectai.org/api/v2/events/308/?format=api", "deployment": { "id": 13, "name": "Rigaud", "details": "https://api.beluga.insectai.org/api/v2/deployments/13/?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": 8, "occurrences_count": 5, "stats": { "detections_max_count": 4, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=308&ordering=timestamp", "first_capture": { "id": 1003031, "details": "https://api.beluga.insectai.org/api/v2/captures/1003031/?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": [ "2:00 AM", "4:00 AM" ], "y": [ 4, 1 ], "ticktext": [ "2:00 AM:00", "4:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 0, 1, 1, 3 ], "y": [ "Operophtera brumata", "Orthonama obstipata", "Alsophila pometaria", "Operophtera bruceata" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2023-08-20T16:13:32.388162", "updated_at": "2024-07-23T18:55:58.376723", "user_permissions": [] }