Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/3005/?format=api
{ "id": 3005, "name": "Friday, Sep 1-2 2023", "details": "https://api.beluga.insectai.org/api/v2/events/3005/?format=api", "deployment": { "id": 94, "name": "Ox Agri pos", "details": "https://api.beluga.insectai.org/api/v2/deployments/94/?format=api", "user_permissions": [] }, "start": "2023-09-01T20:59:25", "end": "2023-09-02T04:28:26", "day": "2023-09-01", "date_label": "Sep 1-2 2023", "duration": "26941.0", "duration_label": "7 hours 29 min", "captures_count": 2044, "detections_count": 1, "occurrences_count": 0, "stats": { "detections_max_count": 1, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=3005&ordering=timestamp", "first_capture": { "id": 6779207, "details": "https://api.beluga.insectai.org/api/v2/captures/6779207/?format=api", "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/dep000003/motion_images/20230901205925-00-01.jpg", "width": 4096, "height": 2160, "timestamp": "2023-09-01T20:59:25", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "9:00 PM" ], "y": [ 1 ], "ticktext": [ "9:00 PM:00", "9:00 PM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 1 ], "y": [ "Mythimna pallens" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-04-25T10:39:29.402862", "updated_at": "2024-04-26T01:17:54.598269", "user_permissions": [] }