Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/3526/?format=api
{ "id": 3526, "name": "Monday, Aug 14-15 2023", "details": "https://api.beluga.insectai.org/api/v2/events/3526/?format=api", "deployment": { "id": 106, "name": "Salisbury", "details": "https://api.beluga.insectai.org/api/v2/deployments/106/?format=api", "user_permissions": [] }, "start": "2023-08-14T21:08:06", "end": "2023-08-15T04:30:00", "day": "2023-08-14", "date_label": "Aug 14-15 2023", "duration": "26514.0", "duration_label": "7 hours 21 min", "captures_count": 1481, "detections_count": 7, "occurrences_count": 0, "stats": { "detections_max_count": 3, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=3526&ordering=timestamp", "first_capture": { "id": 9329460, "details": "https://api.beluga.insectai.org/api/v2/captures/9329460/?format=api", "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/dep000015/motion_images/20230814210806-00-01.jpg", "width": 4096, "height": 2160, "timestamp": "2023-08-14T21:08:06", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "3:00 AM" ], "y": [ 1 ], "ticktext": [ "3:00 AM:00", "3:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 0, 0, 0, 1 ], "y": [ "Crambus pratella", "Coleophora mayrella", "Chrysoteuchia culmella", "Crambus pascuella" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-05-01T23:25:50.829242", "updated_at": "2024-05-01T23:55:15.359983", "user_permissions": [] }