Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/3039/?format=api
{ "id": 3039, "name": "Friday, Jul 14-15 2023", "details": "https://api.beluga.insectai.org/api/v2/events/3039/?format=api", "deployment": { "id": 104, "name": "Pymoor pos", "details": "https://api.beluga.insectai.org/api/v2/deployments/104/?format=api", "user_permissions": [] }, "start": "2023-07-14T21:09:59", "end": "2023-07-15T04:00:00", "day": "2023-07-14", "date_label": "Jul 14-15 2023", "duration": "24601.0", "duration_label": "6 hours 50 min", "captures_count": 4812, "detections_count": 76, "occurrences_count": 20, "stats": { "detections_max_count": 14, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=3039&ordering=timestamp", "first_capture": { "id": 6940814, "details": "https://api.beluga.insectai.org/api/v2/captures/6940814/?format=api", "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/dep000013/snapshot_images/01-20230714210959-snapshot.jpg", "width": 4096, "height": 2160, "timestamp": "2023-07-14T21:09:59", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "11:00 PM", "12:00 AM", "1:00 AM", "2:00 AM", "3:00 AM" ], "y": [ 3, 8, 3, 5, 4 ], "ticktext": [ "11:00 PM:00", "3:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 0, 0, 0, 0, 1, 1, 1, 2, 5, 13 ], "y": [ "Calybites phasianipennella", "Amblyptilia acanthadactyla", "Aspilapteryx tringipennella", "Bohemannia quadrimaculella", "Yponomeuta plumbella", "Crambus pratella", "Esperia sulphurella", "Coleophora deauratella", "Chrysoteuchia culmella", "Phragmatobia fuliginosa" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-04-25T10:42:19.816804", "updated_at": "2024-04-26T01:16:46.924314", "user_permissions": [] }