Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/3435/?format=api
{ "id": 3435, "name": "Monday, Feb 5-6 2024", "details": "https://api.beluga.insectai.org/api/v2/events/3435/?format=api", "deployment": { "id": 119, "name": "Costa Rica - Wetland", "details": "https://api.beluga.insectai.org/api/v2/deployments/119/?format=api", "user_permissions": [] }, "start": "2024-02-05T09:06:31", "end": "2024-02-06T06:00:59", "day": "2024-02-05", "date_label": "Feb 5-6 2024", "duration": "75268.0", "duration_label": "20 hours 54 min", "captures_count": 4327, "detections_count": 135, "occurrences_count": 23, "stats": { "detections_max_count": 37, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=3435&ordering=timestamp", "first_capture": { "id": 9116517, "details": "https://api.beluga.insectai.org/api/v2/captures/9116517/?format=api", "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/cri/dep000036/snapshot_images/01-20240205090631-snapshot.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=951e406b7eb1113e1bb05c083ce51481%2F20260411%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260411T234302Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=fa51229ab5c51c13c212b1b8494662c3ec3fba0bd0855801e01b0d3594f9e748", "width": 4096, "height": 2160, "timestamp": "2024-02-05T09:06:31", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "1:00 AM", "2:00 AM", "4:00 AM", "5:00 AM", "6:00 AM" ], "y": [ 9, 7, 8, 5, 4 ], "ticktext": [ "1:00 AM:00", "6:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 1, 1, 1, 1, 2, 2, 2, 2, 4, 8 ], "y": [ "Anticarsia gemmatalis", "Pareuchaetes insulata", "Megalopyge opercularis", "Melanchroia chephise", "Prolimacodes badia", "Chloridea virescens", "Pyrausta bicoloralis", "Herpetogramma phaeopteralis", "Pyrausta tyralis", "Plodia interpunctella" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-05-01T22:46:16.357997", "updated_at": "2024-09-12T19:40:51.846565", "user_permissions": [] }