Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/4476/?format=api
{ "id": 4476, "name": "Monday, Apr 29-30 2024", "details": "https://api.beluga.insectai.org/api/v2/events/4476/?format=api", "deployment": { "id": 146, "name": "BAMK", "details": "https://api.beluga.insectai.org/api/v2/deployments/146/?format=api", "user_permissions": [] }, "start": "2024-04-29T19:00:20", "end": "2024-04-30T04:00:00", "day": "2024-04-29", "date_label": "Apr 29-30 2024", "duration": "32380.0", "duration_label": "8 hours 59 min", "captures_count": 3239, "detections_count": 3, "occurrences_count": 0, "stats": { "detections_max_count": 3, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4476&ordering=timestamp", "first_capture": { "id": 14345180, "details": "https://api.beluga.insectai.org/api/v2/captures/14345180/?format=api", "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/sgp/dep000050/snapshot_images/20240429190020-snapshot.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=f75d7a3bc98918fc129f53f0a8f434a5%2F20260403%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260403T155023Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=61aede9ad9085c8858b4bcc7068c76535c0456633711a703dceaa79c69c2bf77", "width": 4096, "height": 2160, "timestamp": "2024-04-29T19:00:20", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [], "y": [], "ticktext": [] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 0, 0, 0 ], "y": [ "Xanthopastis regnatrix", "Peribatodes rhomboidaria", "Cydosia aurivitta" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-09-20T06:05:44.090770", "updated_at": "2024-09-20T06:35:56.009441", "user_permissions": [] }