Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/4101/?format=api
{ "id": 4101, "name": "Wednesday, Mar 20-21 2024", "details": "https://api.beluga.insectai.org/api/v2/events/4101/?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-03-20T18:30:40", "end": "2024-03-21T04:00:59", "day": "2024-03-20", "date_label": "Mar 20-21 2024", "duration": "34219.0", "duration_label": "9 hours 30 min", "captures_count": 3354, "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=4101&ordering=timestamp", "first_capture": { "id": 11667940, "details": "https://api.beluga.insectai.org/api/v2/captures/11667940/?format=api", "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/cri/dep000033/snapshot_images/01-20240320183040-snapshot.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=951e406b7eb1113e1bb05c083ce51481%2F20260404%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260404T091742Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=e4b2bfd246b43daf77304fc41fe15d6edf8d435f7b9fd1f691439aed25f49e49", "width": 4096, "height": 2160, "timestamp": "2024-03-20T18:30:40", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "10:00 PM" ], "y": [ 5 ], "ticktext": [ "10:00 PM:00", "10:00 PM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 0, 0, 0, 0, 0, 0, 1, 1, 1, 2 ], "y": [ "Eublemma recta", "Prolimacodes badia", "Norape ovina", "Manduca rustica", "Isogona snowi", "Ammalo helops", "Pyrausta phoenicealis", "Pyrausta bicoloralis", "Eublemma minima", "Arta olivalis" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-09-12T15:24:47.167041", "updated_at": "2024-09-12T15:24:47.433930", "user_permissions": [] }