Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/3421/?format=api
{ "id": 3421, "name": "Friday, Oct 6-7 2023", "details": "https://api.beluga.insectai.org/api/v2/events/3421/?format=api", "deployment": { "id": 100, "name": "North Cont pos", "details": "https://api.beluga.insectai.org/api/v2/deployments/100/?format=api", "user_permissions": [] }, "start": "2023-10-06T21:00:00", "end": "2023-10-07T04:26:10", "day": "2023-10-06", "date_label": "Oct 6-7 2023", "duration": "26770.0", "duration_label": "7 hours 26 min", "captures_count": 3262, "detections_count": 7, "occurrences_count": 0, "stats": { "detections_max_count": 4, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=3421&ordering=timestamp", "first_capture": { "id": 9114362, "details": "https://api.beluga.insectai.org/api/v2/captures/9114362/?format=api", "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/dep000009/snapshot_images/01-20231006210000-snapshot.jpg", "width": 4096, "height": 2160, "timestamp": "2023-10-06T21:00:00", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [], "y": [], "ticktext": [] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 0, 0, 0, 0 ], "y": [ "Ypsolopha parenthesella", "Esperia sulphurella", "Coleophora trifolii", "Calybites phasianipennella" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-04-30T10:37:00.859957", "updated_at": "2024-04-30T10:37:01.152216", "user_permissions": [] }