Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/4115/?format=api
{ "id": 4115, "name": "Monday, Apr 22-23 2024", "details": "https://api.beluga.insectai.org/api/v2/events/4115/?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-22T18:30:39", "end": "2024-04-23T04:00:59", "day": "2024-04-22", "date_label": "Apr 22-23 2024", "duration": "34220.0", "duration_label": "9 hours 30 min", "captures_count": 3423, "detections_count": 39, "occurrences_count": 39, "stats": { "detections_max_count": 9, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4115&ordering=timestamp", "first_capture": { "id": 11888067, "details": "https://api.beluga.insectai.org/api/v2/captures/11888067/?format=api", "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/cri/dep000033/snapshot_images/01-20240422183039-snapshot.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=951e406b7eb1113e1bb05c083ce51481%2F20260404%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260404T090259Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=a9e094e1acc469e6a6965b6e87c605a0da2ea15468af4655060a1604f2d01c62", "width": 4096, "height": 2160, "timestamp": "2024-04-22T18:30:39", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "7:00 PM", "8:00 PM", "9:00 PM", "10:00 PM", "11:00 PM" ], "y": [ 3, 4, 3, 6, 1 ], "ticktext": [ "7:00 PM:00", "11:00 PM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 0, 0, 0, 1, 1, 1, 1, 2, 5, 6 ], "y": [ "Anomis erosa", "Basacallis tarachodes", "Chloridea virescens", "Pyrausta tyralis", "Eublemma minima", "Bagisara repanda", "Sphacelodes vulneraria", "Norape ovina", "Not Lepidoptera", "Moth" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-09-12T15:24:51.411400", "updated_at": "2024-09-12T15:24:51.702595", "user_permissions": [] }