Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/3358/?format=api
{ "id": 3358, "name": "Friday, Sep 1-2 2023", "details": "https://api.beluga.insectai.org/api/v2/events/3358/?format=api", "deployment": { "id": 99, "name": "Dorset Agri neg", "details": "https://api.beluga.insectai.org/api/v2/deployments/99/?format=api", "user_permissions": [] }, "start": "2023-09-01T21:03:19", "end": "2023-09-02T04:30:07", "day": "2023-09-01", "date_label": "Sep 1-2 2023", "duration": "26808.0", "duration_label": "7 hours 26 min", "captures_count": 5309, "detections_count": 19, "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=3358&ordering=timestamp", "first_capture": { "id": 8836921, "details": "https://api.beluga.insectai.org/api/v2/captures/8836921/?format=api", "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/dep000007/motion_images/20230901210319-00-01.jpg", "width": 4096, "height": 2160, "timestamp": "2023-09-01T21:03:19", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "1:00 AM", "3:00 AM" ], "y": [ 3, 2 ], "ticktext": [ "1:00 AM:00", "3:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 0, 0, 0, 0, 0, 1, 1, 1, 1, 1 ], "y": [ "Ypsolopha mucronella", "Scythris sinensis", "Pammene aurita", "Noctua pronuba", "Mythimna pallens", "Emmelina monodactyla", "Hypena proboscidalis", "Mythimna impura", "Peridroma saucia", "Macroglossum stellatarum" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-04-30T10:32:41.874407", "updated_at": "2024-04-30T10:32:42.176283", "user_permissions": [] }