Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/2455/?format=api
{ "id": 2455, "name": "Friday, Jun 9-10 2023", "details": "https://api.beluga.insectai.org/api/v2/events/2455/?format=api", "deployment": { "id": 52, "name": "Mothra", "details": "https://api.beluga.insectai.org/api/v2/deployments/52/?format=api", "user_permissions": [] }, "start": "2023-06-09T21:08:28", "end": "2023-06-10T04:00:00", "day": "2023-06-09", "date_label": "Jun 9-10 2023", "duration": "24692.0", "duration_label": "6 hours 51 min", "captures_count": 1237, "detections_count": 128, "occurrences_count": 124, "stats": { "detections_max_count": 8, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=2455&ordering=timestamp", "first_capture": { "id": 4343747, "details": "https://api.beluga.insectai.org/api/v2/captures/4343747/?format=api", "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/vermont/RawImages/MOTHRA/2023/2023_06_09/20230609210828-00-01.jpg", "width": 4096, "height": 2160, "timestamp": "2023-06-09T21:08:28", "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", "3:00 AM", "4:00 AM" ], "y": [ 1, 5, 4, 10, 7, 16, 17, 2 ], "ticktext": [ "9:00 PM:00", "4:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 1, 1, 1, 2, 4, 4, 9, 9, 12, 18 ], "y": [ "Lophocampa", "Mesoleuca ruficillata", "Not Identifiable", "Moth", "Metanema inatomaria", "Xanthorhoe ferrugata", "Barbara mappana", "Phalaenophana pyramusalis", "Macaria aemulataria", "Amorbia humerosana" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2023-10-12T21:59:56.729348", "updated_at": "2025-01-15T19:04:21.808045", "user_permissions": [] }