Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/4502/?format=api
{ "id": 4502, "name": "Wednesday, Apr 17-18 2024", "details": "https://api.beluga.insectai.org/api/v2/events/4502/?format=api", "deployment": { "id": 144, "name": "SBWR", "details": "https://api.beluga.insectai.org/api/v2/deployments/144/?format=api", "user_permissions": [] }, "start": "2024-04-17T19:00:30", "end": "2024-04-18T04:01:00", "day": "2024-04-17", "date_label": "Apr 17-18 2024", "duration": "32430.0", "duration_label": "9 hours 0 min", "captures_count": 3244, "detections_count": 9, "occurrences_count": 0, "stats": { "detections_max_count": 9, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4502&ordering=timestamp", "first_capture": { "id": 14274977, "details": "https://api.beluga.insectai.org/api/v2/captures/14274977/?format=api", "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/sgp/dep000052/snapshot_images/01-20240417190030-snapshot.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=f75d7a3bc98918fc129f53f0a8f434a5%2F20260412%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260412T010831Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=2beb503c681ce9d50eaed620a379da8684e19974692f28a36fb826213ff463c8", "width": 4096, "height": 2160, "timestamp": "2024-04-17T19:00:30", "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, 0, 0, 0, 0, 0, 0 ], "y": [ "Tineola bisselliella", "Tinea apicimaculella", "Tetanolita mynesalis", "Spragueia apicalis", "Phricanthes flexilineana", "Opostega salaciella", "Idia rotundalis", "Elasmopalpus lignosella", "Archips grisea" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-09-20T06:11:23.788820", "updated_at": "2024-09-20T06:35:39.261384", "user_permissions": [] }