Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/3001/?format=api
{ "id": 3001, "name": "Wednesday, Aug 23-24 2023", "details": "https://api.beluga.insectai.org/api/v2/events/3001/?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-08-23T20:59:40", "end": "2023-08-24T04:27:28", "day": "2023-08-23", "date_label": "Aug 23-24 2023", "duration": "26868.0", "duration_label": "7 hours 27 min", "captures_count": 7226, "detections_count": 19, "occurrences_count": 1, "stats": { "detections_max_count": 8, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=3001&ordering=timestamp", "first_capture": { "id": 6725626, "details": "https://api.beluga.insectai.org/api/v2/captures/6725626/?format=api", "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/dep000003/motion_images/20230823205940-00-01.jpg", "width": 4096, "height": 2160, "timestamp": "2023-08-23T20:59:40", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "10:00 PM", "3:00 AM" ], "y": [ 2, 1 ], "ticktext": [ "10:00 PM:00", "3:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 0, 0, 0, 0, 0, 0, 0, 0, 1, 2 ], "y": [ "Simyra albovenosa", "Plodia interpunctella", "Pediasia contaminella", "Oinophila v-flava", "Nomophila noctuella", "Niditinea fuscella", "Eriocrania semipurpurella", "Dichrorampha acuminatana", "Cyclophora punctaria", "Mythimna pallens" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-04-25T10:39:28.068257", "updated_at": "2024-04-26T01:17:53.051700", "user_permissions": [] }