Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/4093/?format=api
{ "id": 4093, "name": "Monday, Mar 4-5 2024", "details": "https://api.beluga.insectai.org/api/v2/events/4093/?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-04T18:30:40", "end": "2024-03-05T03:10:50", "day": "2024-03-04", "date_label": "Mar 4-5 2024", "duration": "31210.0", "duration_label": "8 hours 40 min", "captures_count": 2493, "detections_count": 53, "occurrences_count": 53, "stats": { "detections_max_count": 25, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4093&ordering=timestamp", "first_capture": { "id": 11554754, "details": "https://api.beluga.insectai.org/api/v2/captures/11554754/?format=api", "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/cri/dep000033/snapshot_images/01-20240304183040-snapshot.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=951e406b7eb1113e1bb05c083ce51481%2F20260403%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260403T092631Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=d8ef692835f3f4e2c3ac9833c7247696d1c365ca7585b1ced82397d9eb5c4861", "width": 4096, "height": 2160, "timestamp": "2024-03-04T18:30:40", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "7:00 PM", "9:00 PM", "10:00 PM" ], "y": [ 5, 9, 9 ], "ticktext": [ "7:00 PM:00", "10:00 PM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 1, 1, 1, 1, 1, 1, 1, 2, 3, 9 ], "y": [ "Ommatospila narcaeusalis", "Arta olivalis", "Cryptographis nitidalis", "Erastria decrepitaria", "Anomis flava", "Eublemma recta", "Anomis erosa", "Megalopyge opercularis", "Not Lepidoptera", "Moth" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-09-12T15:24:45.203307", "updated_at": "2024-09-12T15:24:45.453606", "user_permissions": [] }