Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/3129/?format=api
{ "id": 3129, "name": "Wednesday, Aug 16-17 2023", "details": "https://api.beluga.insectai.org/api/v2/events/3129/?format=api", "deployment": { "id": 95, "name": "Ox Agri neg", "details": "https://api.beluga.insectai.org/api/v2/deployments/95/?format=api", "user_permissions": [] }, "start": "2023-08-16T21:10:00", "end": "2023-08-17T04:30:00", "day": "2023-08-16", "date_label": "Aug 16-17 2023", "duration": "26400.0", "duration_label": "7 hours 20 min", "captures_count": 7884, "detections_count": 23, "occurrences_count": 4, "stats": { "detections_max_count": 9, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=3129&ordering=timestamp", "first_capture": { "id": 8144351, "details": "https://api.beluga.insectai.org/api/v2/captures/8144351/?format=api", "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/dep000004/snapshot_images/20230816211000-snapshot.jpg", "width": 4096, "height": 2160, "timestamp": "2023-08-16T21:10:00", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "10:00 PM", "12:00 AM", "4:00 AM" ], "y": [ 3, 1, 2 ], "ticktext": [ "10:00 PM:00", "4:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 0, 0, 0, 0, 1, 1, 1, 1, 1, 1 ], "y": [ "Lozotaeniodes formosana", "Homoeosoma sinuella", "Hippotion celerio", "Euclidia mi", "Catoptria falsella", "Pleuroptya ruralis", "Noctua janthina", "Lymantria dispar", "Coleophora mayrella", "Udea lutealis" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-04-29T13:53:12.578883", "updated_at": "2024-04-29T13:53:53.389318", "user_permissions": [] }