Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/4200/?format=api
{ "id": 4200, "name": "Monday, May 6-7 2024", "details": "https://api.beluga.insectai.org/api/v2/events/4200/?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-05-06T18:28:09", "end": "2024-05-07T03:58:00", "day": "2024-05-06", "date_label": "May 6-7 2024", "duration": "34191.0", "duration_label": "9 hours 29 min", "captures_count": 3420, "detections_count": 80, "occurrences_count": 25, "stats": { "detections_max_count": 34, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4200&ordering=timestamp", "first_capture": { "id": 11963315, "details": "https://api.beluga.insectai.org/api/v2/captures/11963315/?format=api", "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/cri/dep000037/snapshot_images/01-20240506182809-snapshot.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=951e406b7eb1113e1bb05c083ce51481%2F20260413%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260413T030258Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=b4a9e4b753b2c03c8720156a24a30723d0917ef3b879ddbeaa099e482983d5fe", "width": 4096, "height": 2160, "timestamp": "2024-05-06T18:28:09", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "9:00 PM", "2:00 AM" ], "y": [ 2, 30 ], "ticktext": [ "9:00 PM:00", "2:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 1, 1, 1, 2, 2, 2, 2, 2, 2, 4 ], "y": [ "Disclisioprocta stellata", "Automeris io", "Anticarsia gemmatalis", "Chloridea virescens", "Phereoeca uterella", "Synchlora frondaria", "Ommatospila narcaeusalis", "Erastria decrepitaria", "Acrolophus walsinghami", "Macaria abydata" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-09-12T15:26:38.347881", "updated_at": "2024-09-12T15:26:38.649461", "user_permissions": [] }