Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/3128/?format=api
{ "id": 3128, "name": "Monday, Aug 14-15 2023", "details": "https://api.beluga.insectai.org/api/v2/events/3128/?format=api", "deployment": { "id": 95, "name": "Ox Agri neg", "details": "https://api.beluga.insectai.org/api/v2/deployments/95/?format=api", "user_permissions": [] }, "start": "2023-08-14T21:09:59", "end": "2023-08-15T04:29:59", "day": "2023-08-14", "date_label": "Aug 14-15 2023", "duration": "26400.0", "duration_label": "7 hours 20 min", "captures_count": 4532, "detections_count": 38, "occurrences_count": 10, "stats": { "detections_max_count": 11, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=3128&ordering=timestamp", "first_capture": { "id": 8144306, "details": "https://api.beluga.insectai.org/api/v2/captures/8144306/?format=api", "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/dep000004/snapshot_images/20230814210959-snapshot.jpg", "width": 4096, "height": 2160, "timestamp": "2023-08-14T21:09:59", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "10:00 PM", "11:00 PM", "12:00 AM", "1:00 AM", "3:00 AM" ], "y": [ 2, 2, 1, 2, 5 ], "ticktext": [ "10:00 PM:00", "3:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 0, 0, 0, 0, 0, 0, 1, 1, 5, 5 ], "y": [ "Eilema complana", "Chrysoteuchia culmella", "Eriocrania sparrmannella", "Apocheima hispidaria", "Diarsia rubi", "Coleophora mayrella", "Tortrix viridana", "Eilema sororcula", "Idaea aversata", "Lymantria monacha" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-04-29T13:52:49.839944", "updated_at": "2024-04-29T13:53:12.569738", "user_permissions": [] }