Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/4109/?format=api
{ "id": 4109, "name": "Monday, Apr 8-9 2024", "details": "https://api.beluga.insectai.org/api/v2/events/4109/?format=api", "deployment": { "id": 116, "name": "Costa Rica - Swamp", "details": "https://api.beluga.insectai.org/api/v2/deployments/116/?format=api", "user_permissions": [] }, "start": "2024-04-08T18:30:40", "end": "2024-04-09T04:00:30", "day": "2024-04-08", "date_label": "Apr 8-9 2024", "duration": "34190.0", "duration_label": "9 hours 29 min", "captures_count": 3050, "detections_count": 21, "occurrences_count": 21, "stats": { "detections_max_count": 21, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4109&ordering=timestamp", "first_capture": { "id": 11800663, "details": "https://api.beluga.insectai.org/api/v2/captures/11800663/?format=api", "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/cri/dep000033/snapshot_images/01-20240408183040-snapshot.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=951e406b7eb1113e1bb05c083ce51481%2F20260411%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260411T233402Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=b1c6df83999a9a9ec27fb021626fabaa2b68896fe328df144bcf0eb800128772", "width": 4096, "height": 2160, "timestamp": "2024-04-08T18:30:40", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "9:00 PM" ], "y": [ 8 ], "ticktext": [ "9:00 PM:00", "9:00 PM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 0, 0, 0, 0, 1, 1, 1, 1, 2, 2 ], "y": [ "Syssphinx molina", "Samea baccatalis", "Pyrausta signatalis", "Norape ovina", "Erastria decrepitaria", "Chloridea virescens", "Eublemma minima", "Ommatospila narcaeusalis", "Not Lepidoptera", "Phereoeca uterella" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-09-12T15:24:49.565459", "updated_at": "2024-09-12T15:24:49.824363", "user_permissions": [] }