Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/4396/?format=api
{ "id": 4396, "name": "Tuesday, Aug 6-7 2024", "details": "https://api.beluga.insectai.org/api/v2/events/4396/?format=api", "deployment": { "id": 216, "name": "LEPS-028_Box1", "details": "https://api.beluga.insectai.org/api/v2/deployments/216/?format=api", "user_permissions": [] }, "start": "2024-08-06T20:30:29", "end": "2024-08-07T03:30:59", "day": "2024-08-06", "date_label": "Aug 6-7 2024", "duration": "25230.0", "duration_label": "7 hours 0 min", "captures_count": 2524, "detections_count": 22, "occurrences_count": 2, "stats": { "detections_max_count": 13, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4396&ordering=timestamp", "first_capture": { "id": 14147067, "details": "https://api.beluga.insectai.org/api/v2/captures/14147067/?format=api", "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/pennsylvania/tebufenozide/LEPS-028_Box1/Box1_20240806203029-snapshot.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=f196f151de3a4b73ad87c0ee6263c173%2F20260404%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260404T093519Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=93dc2bad786b3656fd76df42a871015dcac4aeafd91ef227b48401c852b1f23b", "width": 1920, "height": 1080, "timestamp": "2024-08-06T20:30:29", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "10:00 PM", "11:00 PM" ], "y": [ 2, 1 ], "ticktext": [ "10:00 PM:00", "11:00 PM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 0, 0, 0, 0, 0, 0, 0, 1, 1, 1 ], "y": [ "Borkhausenia minutella", "Campaea perlata", "Caloptilia stigmatella", "Arta statalis", "Bedellia somnulentella", "Baileya levitans", "Anania coronata", "Norape virgo", "Hypena baltimoralis", "Acleris semipurpurana" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-09-14T18:39:39.347193", "updated_at": "2024-09-14T18:39:57.354895", "user_permissions": [] }