Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/44/?format=api
{ "id": 44, "name": "Monday, Jul 11-12 2022", "details": "https://api.beluga.insectai.org/api/v2/events/44/?format=api", "deployment": { "id": 12, "name": "Newfoundland - Unit 2", "details": "https://api.beluga.insectai.org/api/v2/deployments/12/?format=api", "user_permissions": [] }, "start": "2022-07-11T23:06:07", "end": "2022-07-12T04:59:46", "day": "2022-07-11", "date_label": "Jul 11-12 2022", "duration": "21219.0", "duration_label": "5 hours 53 min", "captures_count": 16550, "detections_count": 469, "occurrences_count": 418, "stats": { "detections_max_count": 21, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=44&ordering=timestamp", "first_capture": { "id": 6001293, "details": "https://api.beluga.insectai.org/api/v2/captures/6001293/?format=api", "url": "https://static.dev.insectai.org/ami-trapdata/newfoundland/Unit-2/Jul 11_images/20220711230607-00-01.jpg", "width": 4096, "height": 2160, "timestamp": "2022-07-11T23:06:07", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "11:00 PM", "12:00 AM", "1:00 AM", "2:00 AM", "3:00 AM", "4:00 AM" ], "y": [ 1, 38, 24, 91, 122, 142 ], "ticktext": [ "11:00 PM:00", "4:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 8, 8, 8, 8, 8, 9, 10, 15, 34, 42 ], "y": [ "Eupithecia miserulata", "Acronicta fragilis", "Dysstroma citrata", "Choristoneura fumiferana", "Eupithecia satyrata", "Platynota flavedana", "Disclisioprocta stellata", "Archips argyrospila", "Choristoneura rosaceana", "Pasiphila rectangulata" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2023-08-20T05:29:24.618065", "updated_at": "2024-11-13T15:49:16.874714", "user_permissions": [] }