Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/3940/?format=api
{ "id": 3940, "name": "Monday, Mar 11-12 2024", "details": "https://api.beluga.insectai.org/api/v2/events/3940/?format=api", "deployment": { "id": 115, "name": "Costa Rica - Forest Edge", "details": "https://api.beluga.insectai.org/api/v2/deployments/115/?format=api", "user_permissions": [] }, "start": "2024-03-11T18:31:01", "end": "2024-03-12T01:29:59", "day": "2024-03-11", "date_label": "Mar 11-12 2024", "duration": "25138.0", "duration_label": "6 hours 58 min", "captures_count": 2515, "detections_count": 14, "occurrences_count": 14, "stats": { "detections_max_count": 8, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=3940&ordering=timestamp", "first_capture": { "id": 11208156, "details": "https://api.beluga.insectai.org/api/v2/captures/11208156/?format=api", "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/cri/dep000032/snapshot_images/01-20240311183101-snapshot.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=951e406b7eb1113e1bb05c083ce51481%2F20260411%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260411T233611Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=7bb432e89952813940d2c8cf631987fe806143ecd860bf9b9dfd3c949911a221", "width": 4096, "height": 2160, "timestamp": "2024-03-11T18:31:01", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "7:00 PM", "9:00 PM", "10:00 PM" ], "y": [ 1, 5, 2 ], "ticktext": [ "7:00 PM:00", "10:00 PM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 0, 0, 0, 0, 0, 1, 1, 2, 4 ], "y": [ "Phobetron hipparchia", "Megalopyge opercularis", "Dysschema magdala", "Pyrausta phoenicealis", "Plutella xylostella", "Chloridea virescens", "Hypsopygia binodulalis", "Erastria decrepitaria", "Not Lepidoptera" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-09-12T15:19:37.619159", "updated_at": "2024-09-12T15:19:37.856804", "user_permissions": [] }