Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/4531/?format=api
{ "id": 4531, "name": "Monday, Jun 24-25 2024", "details": "https://api.beluga.insectai.org/api/v2/events/4531/?format=api", "deployment": { "id": 144, "name": "SBWR", "details": "https://api.beluga.insectai.org/api/v2/deployments/144/?format=api", "user_permissions": [] }, "start": "2024-06-24T19:00:00", "end": "2024-06-25T03:59:59", "day": "2024-06-24", "date_label": "Jun 24-25 2024", "duration": "32399.0", "duration_label": "8 hours 59 min", "captures_count": 3241, "detections_count": 32, "occurrences_count": 1, "stats": { "detections_max_count": 32, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4531&ordering=timestamp", "first_capture": { "id": 14432948, "details": "https://api.beluga.insectai.org/api/v2/captures/14432948/?format=api", "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/sgp/dep000052/snapshot_images/01-20240624190000-snapshot.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=f75d7a3bc98918fc129f53f0a8f434a5%2F20260412%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260412T013710Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=56f0488d0f1ea282b1c70fc3d79b618ac583210f4776e43308977cc62cc8db51", "width": 4096, "height": 2160, "timestamp": "2024-06-24T19:00:00", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "3:00 AM" ], "y": [ 1 ], "ticktext": [ "3:00 AM:00", "3:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 ], "y": [ "Bracharoa quadripunctata", "Manulea cereola", "Lomographa vestaliata", "Eubaphe unicolor", "Hemileuca juno", "Euproctis habrostola", "Eucarta amethystina", "Laelia coenosa", "Coleophora striatipennella", "Micropterix calthella" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-09-20T06:11:32.910582", "updated_at": "2024-09-20T06:35:48.096000", "user_permissions": [] }