Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/2490/?format=api
{ "id": 2490, "name": "Wednesday, Aug 9 2023", "details": "https://api.beluga.insectai.org/api/v2/events/2490/?format=api", "deployment": { "id": 52, "name": "Mothra", "details": "https://api.beluga.insectai.org/api/v2/deployments/52/?format=api", "user_permissions": [] }, "start": "2023-08-09T21:09:59", "end": "2023-08-09T23:59:59", "day": "2023-08-09", "date_label": "Aug 9 2023", "duration": "10200.0", "duration_label": "2 hours 50 min", "captures_count": 18, "detections_count": 66, "occurrences_count": 66, "stats": { "detections_max_count": 8, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=2490&ordering=timestamp", "first_capture": { "id": 4272574, "details": "https://api.beluga.insectai.org/api/v2/captures/4272574/?format=api", "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/vermont/RawImages/MOTHRA/2023/20230809210959-01-snapshot.jpg", "width": 4096, "height": 2160, "timestamp": "2023-08-09T21:09:59", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "9:00 PM", "10:00 PM", "11:00 PM" ], "y": [ 5, 6, 9 ], "ticktext": [ "9:00 PM:00", "11:00 PM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 1, 1, 1, 1, 1, 1, 2, 3, 3, 4 ], "y": [ "Platynota exasperatana", "Eudonia strigalis", "Argyrotaenia velutinana", "Choristoneura pinus", "Pandemis", "Microcrambus elegans", "Herminia jacchusalis", "Hypoprepia fucosa", "Pandemis lamprosana", "Drepana arcuata" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2023-10-12T22:00:16.392702", "updated_at": "2025-01-15T19:04:34.397752", "user_permissions": [] }