Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/5782/?format=api
{ "id": 5782, "name": "Monday, Jun 24-25 2024", "details": "https://api.beluga.insectai.org/api/v2/events/5782/?format=api", "deployment": { "id": 255, "name": "BTNR", "details": "https://api.beluga.insectai.org/api/v2/deployments/255/?format=api", "user_permissions": [] }, "start": "2024-06-24T18:59:40", "end": "2024-06-25T04:00:00", "day": "2024-06-24", "date_label": "Jun 24-25 2024", "duration": "32420.0", "duration_label": "9 hours 0 min", "captures_count": 3243, "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=5782&ordering=timestamp", "first_capture": { "id": 20838720, "details": "https://api.beluga.insectai.org/api/v2/captures/20838720/?format=api", "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/sgp/dep000046/snapshot_images/01-20240624185940-snapshot.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=f75d7a3bc98918fc129f53f0a8f434a5%2F20260403%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260403T155804Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=701ff37f50aa5cd1d153025d0492a8ac2f78bb15dc37c4c60707e15aead3db11", "width": 4096, "height": 2160, "timestamp": "2024-06-24T18:59:40", "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:49:27.540852", "updated_at": "2025-01-22T02:19:25.489447", "user_permissions": [] }