Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/4181/?format=api
{ "id": 4181, "name": "Friday, Mar 22-23 2024", "details": "https://api.beluga.insectai.org/api/v2/events/4181/?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-22T18:29:19", "end": "2024-03-23T03:58:59", "day": "2024-03-22", "date_label": "Mar 22-23 2024", "duration": "34180.0", "duration_label": "9 hours 29 min", "captures_count": 3419, "detections_count": 14, "occurrences_count": 13, "stats": { "detections_max_count": 14, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4181&ordering=timestamp", "first_capture": { "id": 11675630, "details": "https://api.beluga.insectai.org/api/v2/captures/11675630/?format=api", "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/cri/dep000037/snapshot_images/01-20240322182919-snapshot.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=951e406b7eb1113e1bb05c083ce51481%2F20260403%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260403T161712Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=f42260e76d9e228364c035fb17d2bd023b79600f7f47dd0fdebdf8fa1c015feb", "width": 4096, "height": 2160, "timestamp": "2024-03-22T18:29:19", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "11:00 PM" ], "y": [ 4 ], "ticktext": [ "11:00 PM:00", "11:00 PM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 0, 0, 0, 0, 0, 0, 0, 1, 1, 2 ], "y": [ "Erastria decrepitaria", "Xylophanes pluto", "Arta olivalis", "Synchlora frondaria", "Pyrausta phoenicealis", "Prolimacodes badia", "Plutella xylostella", "Ostrinia penitalis", "Chloridea virescens", "Phereoeca uterella" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-09-12T15:26:31.872519", "updated_at": "2024-09-12T15:26:32.366470", "user_permissions": [] }