Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/4924/?format=api
{ "id": 4924, "name": "Friday, Aug 5-6 2022", "details": "https://api.beluga.insectai.org/api/v2/events/4924/?format=api", "deployment": { "id": 236, "name": "Rigaud", "details": "https://api.beluga.insectai.org/api/v2/deployments/236/?format=api", "user_permissions": [] }, "start": "2022-08-05T20:54:45", "end": "2022-08-06T05:30:09", "day": "2022-08-05", "date_label": "Aug 5-6 2022", "duration": "30924.0", "duration_label": "8 hours 35 min", "captures_count": 5269, "detections_count": 126, "occurrences_count": 47, "stats": { "detections_max_count": 16, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4924&ordering=timestamp", "first_capture": { "id": 16726180, "details": "https://api.beluga.insectai.org/api/v2/captures/16726180/?format=api", "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Rigaud/2022/2022_08_05/20220805205445-00-01.jpg", "width": 4096, "height": 2160, "timestamp": "2022-08-05T20:54:45", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "11:00 PM", "1:00 AM", "2:00 AM", "3:00 AM", "4:00 AM", "5:00 AM" ], "y": [ 5, 3, 15, 20, 4, 12 ], "ticktext": [ "11:00 PM:00", "5:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 2, 2, 2, 2, 2, 3, 4, 6, 9, 16 ], "y": [ "Idia americalis", "Clemensia albata", "Chrysoteuchia topiarius", "Crambus girardellus", "Pandemis lamprosana", "Horisme intestinata", "Eudonia strigalis", "Choristoneura rosaceana", "Platynota exasperatana", "Catocala cerogama" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-09-26T00:01:06.499372", "updated_at": "2024-10-10T19:41:55.228542", "user_permissions": [] }