Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/4174/?format=api
{ "id": 4174, "name": "Wednesday, Mar 6-7 2024", "details": "https://api.beluga.insectai.org/api/v2/events/4174/?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-06T18:29:49", "end": "2024-03-07T03:59:59", "day": "2024-03-06", "date_label": "Mar 6-7 2024", "duration": "34210.0", "duration_label": "9 hours 30 min", "captures_count": 3422, "detections_count": 34, "occurrences_count": 32, "stats": { "detections_max_count": 34, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4174&ordering=timestamp", "first_capture": { "id": 11555678, "details": "https://api.beluga.insectai.org/api/v2/captures/11555678/?format=api", "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/cri/dep000037/snapshot_images/01-20240306182949-snapshot.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=951e406b7eb1113e1bb05c083ce51481%2F20260403%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260403T122137Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=eb348de912e1b0e6d840afa1c670aae19606c1dcdcf9261ca9dfa0b6590adb2a", "width": 4096, "height": 2160, "timestamp": "2024-03-06T18:29:49", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "10:00 PM" ], "y": [ 10 ], "ticktext": [ "10:00 PM:00", "10:00 PM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 0, 1, 1, 1, 1, 1, 1, 1, 1, 2 ], "y": [ "Dysodia oculatana", "Diastema tigris", "Pareuchaetes insulata", "Lophocampa annulosa", "Pyrausta phoenicealis", "Protambulyx strigilis", "Ommatospila narcaeusalis", "Isogona snowi", "Sphacelodes vulneraria", "Erastria decrepitaria" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-09-12T15:26:29.696403", "updated_at": "2024-09-12T15:26:29.980475", "user_permissions": [] }