Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/5937/?format=api
{ "id": 5937, "name": "Monday, Jul 1-2 2024", "details": "https://api.beluga.insectai.org/api/v2/events/5937/?format=api", "deployment": { "id": 259, "name": "BAMK", "details": "https://api.beluga.insectai.org/api/v2/deployments/259/?format=api", "user_permissions": [] }, "start": "2024-07-01T18:59:09", "end": "2024-07-02T03:58:59", "day": "2024-07-01", "date_label": "Jul 1-2 2024", "duration": "32390.0", "duration_label": "8 hours 59 min", "captures_count": 3240, "detections_count": 0, "occurrences_count": 0, "stats": { "detections_max_count": 0, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=5937&ordering=timestamp", "first_capture": { "id": 21362282, "details": "https://api.beluga.insectai.org/api/v2/captures/21362282/?format=api", "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/sgp/dep000050/snapshot_images/20240701185909-snapshot.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=f75d7a3bc98918fc129f53f0a8f434a5%2F20260403%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260403T160410Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=a5258cbacf622b3783b074c0aca9e25102f02aa3eaecc21e74ba8a701aa7c0f5", "width": null, "height": null, "timestamp": "2024-07-01T18:59:09", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [], "y": [], "ticktext": [] }, "type": "bar" }, { "title": "Top species", "data": { "x": [], "y": [] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2025-01-21T23:50:09.408838", "updated_at": "2025-01-22T00:31:44.406988", "user_permissions": [] }