Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/3056/?format=api
{ "id": 3056, "name": "Wednesday, Aug 23-24 2023", "details": "https://api.beluga.insectai.org/api/v2/events/3056/?format=api", "deployment": { "id": 104, "name": "Pymoor pos", "details": "https://api.beluga.insectai.org/api/v2/deployments/104/?format=api", "user_permissions": [] }, "start": "2023-08-23T21:01:40", "end": "2023-08-24T04:00:00", "day": "2023-08-23", "date_label": "Aug 23-24 2023", "duration": "25100.0", "duration_label": "6 hours 58 min", "captures_count": 11743, "detections_count": 23, "occurrences_count": 6, "stats": { "detections_max_count": 9, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=3056&ordering=timestamp", "first_capture": { "id": 6804333, "details": "https://api.beluga.insectai.org/api/v2/captures/6804333/?format=api", "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/dep000013/motion_images/20230823210140-00-01.jpg", "width": 4096, "height": 2160, "timestamp": "2023-08-23T21:01:40", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "11:00 PM", "2:00 AM", "3:00 AM" ], "y": [ 1, 3, 3 ], "ticktext": [ "11:00 PM:00", "3:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 0, 0, 0, 0, 0, 0, 1, 2, 2, 2 ], "y": [ "Phigalia pilosaria", "Operophtera brumata", "Nematopogon adansoniella Vill.", "Mythimna straminea", "Lyonetia clerkella", "Endotricha flammealis", "Aspilapteryx tringipennella", "Chiasmia clathrata", "Mythimna unipuncta", "Diachrysia chrysitis" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-04-25T10:42:27.182629", "updated_at": "2024-04-26T01:16:55.728067", "user_permissions": [] }