Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/4184/?format=api
{ "id": 4184, "name": "Friday, Mar 29-30 2024", "details": "https://api.beluga.insectai.org/api/v2/events/4184/?format=api", "deployment": { "id": 120, "name": "Costa Rica - Garden", "details": "https://api.beluga.insectai.org/api/v2/deployments/120/?format=api", "user_permissions": [] }, "start": "2024-03-29T18:29:10", "end": "2024-03-30T03:58:59", "day": "2024-03-29", "date_label": "Mar 29-30 2024", "duration": "34189.0", "duration_label": "9 hours 29 min", "captures_count": 3420, "detections_count": 29, "occurrences_count": 29, "stats": { "detections_max_count": 22, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4184&ordering=timestamp", "first_capture": { "id": 11725889, "details": "https://api.beluga.insectai.org/api/v2/captures/11725889/?format=api", "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/cri/dep000037/snapshot_images/01-20240329182910-snapshot.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=951e406b7eb1113e1bb05c083ce51481%2F20260403%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260403T160938Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=91b71cb2538942c99aaa83de1b637f70914e84fdd7710453bb4ceb1fe8e01f3f", "width": 4096, "height": 2160, "timestamp": "2024-03-29T18:29:10", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "7:00 PM", "11:00 PM" ], "y": [ 5, 15 ], "ticktext": [ "7:00 PM:00", "11:00 PM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 0, 0, 1, 1, 1, 1, 2, 2, 5, 7 ], "y": [ "Diploschizia impigritella", "Hileithia rehamalis", "Phereoeca uterella", "Fissicrambus fissiradiellus", "Erastria decrepitaria", "Blepharomastix ranalis", "Ommatospila narcaeusalis", "Megalopyge opercularis", "Not Lepidoptera", "Moth" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-09-12T15:26:33.005672", "updated_at": "2024-09-12T15:26:33.295301", "user_permissions": [] }