Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/4493/?format=api
{ "id": 4493, "name": "Friday, Jun 7-8 2024", "details": "https://api.beluga.insectai.org/api/v2/events/4493/?format=api", "deployment": { "id": 146, "name": "BAMK", "details": "https://api.beluga.insectai.org/api/v2/deployments/146/?format=api", "user_permissions": [] }, "start": "2024-06-07T18:59:30", "end": "2024-06-08T03:59:59", "day": "2024-06-07", "date_label": "Jun 7-8 2024", "duration": "32429.0", "duration_label": "9 hours 0 min", "captures_count": 3244, "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=4493&ordering=timestamp", "first_capture": { "id": 14443497, "details": "https://api.beluga.insectai.org/api/v2/captures/14443497/?format=api", "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/sgp/dep000050/snapshot_images/20240607185930-snapshot.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=f75d7a3bc98918fc129f53f0a8f434a5%2F20260403%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260403T100422Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=8f7e6648e0c76103158f6b7dffede48d82ffa2fc81e95720d90cd72c944f1588", "width": 4096, "height": 2160, "timestamp": "2024-06-07T18:59: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 ], "y": [ "Odonestis pruni", "Callopistria mollissima", "Acharia hyperoche" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-09-20T06:05:48.453075", "updated_at": "2024-09-20T06:36:01.626621", "user_permissions": [] }