Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/3231/?format=api
{ "id": 3231, "name": "Friday, Sep 1-2 2023", "details": "https://api.beluga.insectai.org/api/v2/events/3231/?format=api", "deployment": { "id": 97, "name": "Dorset Cont neg", "details": "https://api.beluga.insectai.org/api/v2/deployments/97/?format=api", "user_permissions": [] }, "start": "2023-09-01T21:03:51", "end": "2023-09-02T04:29:59", "day": "2023-09-01", "date_label": "Sep 1-2 2023", "duration": "26768.0", "duration_label": "7 hours 26 min", "captures_count": 1857, "detections_count": 9, "occurrences_count": 2, "stats": { "detections_max_count": 5, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=3231&ordering=timestamp", "first_capture": { "id": 8639806, "details": "https://api.beluga.insectai.org/api/v2/captures/8639806/?format=api", "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/dep000005/motion_images/20230901210351-00-01.jpg", "width": 4096, "height": 2160, "timestamp": "2023-09-01T21:03:51", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "10:00 PM" ], "y": [ 3 ], "ticktext": [ "10:00 PM:00", "10:00 PM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 0, 0, 0, 0, 0, 1, 1, 1 ], "y": [ "Hypena rostralis", "Epiphyas postvittana", "Plodia interpunctella", "Calybites phasianipennella", "Mythimna pallens", "Colostygia pectinataria", "Eublemma purpurina", "Mythimna impura" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-04-30T10:29:44.736720", "updated_at": "2024-04-30T10:29:44.870175", "user_permissions": [] }