Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/2482/?format=api
{ "id": 2482, "name": "Wednesday, Jul 26-27 2023", "details": "https://api.beluga.insectai.org/api/v2/events/2482/?format=api", "deployment": { "id": 52, "name": "Mothra", "details": "https://api.beluga.insectai.org/api/v2/deployments/52/?format=api", "user_permissions": [] }, "start": "2023-07-26T21:10:00", "end": "2023-07-27T03:59:59", "day": "2023-07-26", "date_label": "Jul 26-27 2023", "duration": "24599.0", "duration_label": "6 hours 49 min", "captures_count": 5241, "detections_count": 337, "occurrences_count": 336, "stats": { "detections_max_count": 15, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=2482&ordering=timestamp", "first_capture": { "id": 4271809, "details": "https://api.beluga.insectai.org/api/v2/captures/4271809/?format=api", "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/vermont/RawImages/MOTHRA/2023/20230726211000-01-snapshot.jpg", "width": 4096, "height": 2160, "timestamp": "2023-07-26T21:10:00", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "10:00 PM", "11:00 PM", "12:00 AM", "1:00 AM", "2:00 AM", "3:00 AM" ], "y": [ 3, 2, 8, 24, 11, 2 ], "ticktext": [ "10:00 PM:00", "3:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 1, 2, 2, 2, 3, 3, 4, 4, 6, 11 ], "y": [ "Desmia funeralis", "Microcrambus elegans", "Argyria nivalis", "Olethreutes fasciatana", "Pandemis lamprosana", "Drepana arcuata", "Platynota exasperatana", "Platynota idaeusalis", "Tarachidia erastrioides", "Hypoprepia fucosa" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2023-10-12T22:00:05.166735", "updated_at": "2025-01-15T19:04:33.445531", "user_permissions": [] }