Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/4909/?format=api
{ "id": 4909, "name": "Monday, Aug 1-2 2022", "details": "https://api.beluga.insectai.org/api/v2/events/4909/?format=api", "deployment": { "id": 236, "name": "Rigaud", "details": "https://api.beluga.insectai.org/api/v2/deployments/236/?format=api", "user_permissions": [] }, "start": "2022-08-01T20:32:27", "end": "2022-08-02T02:51:08", "day": "2022-08-01", "date_label": "Aug 1-2 2022", "duration": "22721.0", "duration_label": "6 hours 18 min", "captures_count": 7278, "detections_count": 895, "occurrences_count": 156, "stats": { "detections_max_count": 43, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4909&ordering=timestamp", "first_capture": { "id": 16484429, "details": "https://api.beluga.insectai.org/api/v2/captures/16484429/?format=api", "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Rigaud/2022/2022_08_01/20220801203227-00-01.jpg", "width": 4096, "height": 2160, "timestamp": "2022-08-01T20:32:27", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "9:00 PM", "10:00 PM", "11:00 PM", "12:00 AM", "1:00 AM", "2:00 AM" ], "y": [ 6, 24, 66, 63, 53, 26 ], "ticktext": [ "9:00 PM:00", "2:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 6, 6, 8, 9, 9, 10, 11, 12, 15, 40 ], "y": [ "Macaria pustularia", "Drepana arcuata", "Gluphisia septentrionis", "Idia aemula", "Microcrambus elegans", "Acrobasis angusella", "Eudonia strigalis", "Coleophora mayrella", "Pandemis lamprosana", "Platynota exasperatana" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-09-26T00:01:04.258296", "updated_at": "2024-10-10T19:41:49.314043", "user_permissions": [] }