Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/307/?format=api
{ "id": 307, "name": "Sunday, Oct 30 2022", "details": "https://api.beluga.insectai.org/api/v2/events/307/?format=api", "deployment": { "id": 13, "name": "Rigaud", "details": "https://api.beluga.insectai.org/api/v2/deployments/13/?format=api", "user_permissions": [] }, "start": "2022-10-30T03:29:37", "end": "2022-10-30T22:42:55", "day": "2022-10-30", "date_label": "Oct 30 2022", "duration": "69198.0", "duration_label": "19 hours 13 min", "captures_count": 230, "detections_count": 4, "occurrences_count": 4, "stats": { "detections_max_count": 2, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=307&ordering=timestamp", "first_capture": { "id": 1002801, "details": "https://api.beluga.insectai.org/api/v2/captures/1002801/?format=api", "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Rigaud/2022/2022_10_30/20221030032937-00-11.jpg", "width": 4096, "height": 2160, "timestamp": "2022-10-30T03:29:37", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "8:00 PM", "10:00 PM" ], "y": [ 1, 3 ], "ticktext": [ "8:00 PM:00", "10:00 PM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 1, 1, 2 ], "y": [ "Operophtera brumata", "Not Lepidoptera", "Operophtera bruceata" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2023-08-20T16:13:31.031866", "updated_at": "2024-07-23T18:55:58.057359", "user_permissions": [] }