Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/184/?format=api
{ "id": 184, "name": "Monday, Jun 20 2022", "details": "https://api.beluga.insectai.org/api/v2/events/184/?format=api", "deployment": { "id": 13, "name": "Rigaud", "details": "https://api.beluga.insectai.org/api/v2/deployments/13/?format=api", "user_permissions": [] }, "start": "2022-06-20T21:31:22", "end": "2022-06-20T23:32:05", "day": "2022-06-20", "date_label": "Jun 20 2022", "duration": "7243.0", "duration_label": "2 hours 0 min", "captures_count": 2209, "detections_count": 16, "occurrences_count": 12, "stats": { "detections_max_count": 10, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=184&ordering=timestamp", "first_capture": { "id": 769169, "details": "https://api.beluga.insectai.org/api/v2/captures/769169/?format=api", "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Rigaud/2022/2022_06_20/20220620213122-00-01.jpg", "width": 4096, "height": 2160, "timestamp": "2022-06-20T21:31:22", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "10:00 PM", "11:00 PM" ], "y": [ 4, 8 ], "ticktext": [ "10:00 PM:00", "11:00 PM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 0, 0, 0, 0, 1, 1, 2, 8 ], "y": [ "Achatia confusa", "Chionodes discoocellella", "Apotomis albeolana", "Crambus laqueatellus", "Scoparia biplagialis", "Meroptera pravella", "Choristoneura rosaceana", "Not Lepidoptera" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2023-08-20T16:12:47.634056", "updated_at": "2024-07-23T18:55:36.505887", "user_permissions": [] }