Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/4808/?format=api
{ "id": 4808, "name": "Friday, Jul 8 2022", "details": "https://api.beluga.insectai.org/api/v2/events/4808/?format=api", "deployment": { "id": 236, "name": "Rigaud", "details": "https://api.beluga.insectai.org/api/v2/deployments/236/?format=api", "user_permissions": [] }, "start": "2022-07-08T20:34:48", "end": "2022-07-08T23:05:07", "day": "2022-07-08", "date_label": "Jul 8 2022", "duration": "9019.0", "duration_label": "2 hours 30 min", "captures_count": 2137, "detections_count": 219, "occurrences_count": 33, "stats": { "detections_max_count": 25, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4808&ordering=timestamp", "first_capture": { "id": 16128839, "details": "https://api.beluga.insectai.org/api/v2/captures/16128839/?format=api", "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Rigaud/2022/2022_07_08/20220708203448-00-01.jpg", "width": 4096, "height": 2160, "timestamp": "2022-07-08T20:34:48", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "9:00 PM", "10:00 PM", "11:00 PM" ], "y": [ 4, 51, 6 ], "ticktext": [ "9:00 PM:00", "11:00 PM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 2, 2, 3, 3, 3, 3, 3, 4, 4, 16 ], "y": [ "Choristoneura fumiferana", "Idia aemula", "Blepharomastix ranalis", "Malacosoma disstria", "Crambus agitatellus", "Microcrambus elegans", "Choristoneura rosaceana", "Crambus", "Chrysoteuchia topiarius", "Cenopis pettitana" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-09-26T00:00:47.295157", "updated_at": "2024-10-10T19:41:24.874383", "user_permissions": [] }