Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/3154/?format=api
{ "id": 3154, "name": "Tuesday, Feb 27-28 2024", "details": "https://api.beluga.insectai.org/api/v2/events/3154/?format=api", "deployment": { "id": 109, "name": "Panama - trap 2", "details": "https://api.beluga.insectai.org/api/v2/deployments/109/?format=api", "user_permissions": [] }, "start": "2024-02-27T18:02:19", "end": "2024-02-28T05:01:59", "day": "2024-02-27", "date_label": "Feb 27-28 2024", "duration": "39580.0", "duration_label": "10 hours 59 min", "captures_count": 3959, "detections_count": 12, "occurrences_count": 5, "stats": { "detections_max_count": 12, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=3154&ordering=timestamp", "first_capture": { "id": 8269746, "details": "https://api.beluga.insectai.org/api/v2/captures/8269746/?format=api", "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/pan/dep000018/snapshot_images/20240227180219-snapshot.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=951e406b7eb1113e1bb05c083ce51481%2F20260412%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260412T005842Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=8216cfb57e6fa50d6878fdb40b20d6bbb59343662da0722773f546de1e8c7397", "width": 4096, "height": 2160, "timestamp": "2024-02-27T18:02:19", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "4:00 AM" ], "y": [ 6 ], "ticktext": [ "4:00 AM:00", "4:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 0, 0, 0, 0, 1, 1, 1, 1, 1, 1 ], "y": [ "Mocis disseverans", "Macaria abydata", "Cecrita biundata", "Syssphinx molina", "Lobocleta ossularia", "Athyrma adjutrix", "Acrolophus panamae", "Plodia interpunctella", "Pleuroprucha insulsaria", "Pachylia ficus" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-04-29T14:50:37.801480", "updated_at": "2024-09-20T06:48:49.660198", "user_permissions": [] }