Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/2497/?format=api
{ "id": 2497, "name": "Monday, Aug 21-22 2023", "details": "https://api.beluga.insectai.org/api/v2/events/2497/?format=api", "deployment": { "id": 52, "name": "Mothra", "details": "https://api.beluga.insectai.org/api/v2/deployments/52/?format=api", "user_permissions": [] }, "start": "2023-08-21T21:09:58", "end": "2023-08-22T02:59:59", "day": "2023-08-21", "date_label": "Aug 21-22 2023", "duration": "21001.0", "duration_label": "5 hours 50 min", "captures_count": 36, "detections_count": 382, "occurrences_count": 355, "stats": { "detections_max_count": 32, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=2497&ordering=timestamp", "first_capture": { "id": 4272760, "details": "https://api.beluga.insectai.org/api/v2/captures/4272760/?format=api", "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/vermont/RawImages/MOTHRA/2023/20230821210958-02-snapshot.jpg", "width": 4096, "height": 2160, "timestamp": "2023-08-21T21:09:58", "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" ], "y": [ 9, 6, 38, 36, 41 ], "ticktext": [ "10:00 PM:00", "2:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 3, 3, 3, 3, 4, 6, 8, 11, 12, 43 ], "y": [ "Scoparia biplagialis", "Hypoprepia fucosa", "Choristoneura rosaceana", "Iridopsis larvaria", "Clemensia albata", "Platynota idaeusalis", "Not a Moth", "Platynota exasperatana", "Panthea furcilla", "Campaea perlata" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2023-10-12T22:00:16.929301", "updated_at": "2025-01-15T19:04:35.498790", "user_permissions": [] }