Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/3172/?format=api
{ "id": 3172, "name": "Tuesday, Dec 5-6 2023", "details": "https://api.beluga.insectai.org/api/v2/events/3172/?format=api", "deployment": { "id": 112, "name": "Panama - trap 5", "details": "https://api.beluga.insectai.org/api/v2/deployments/112/?format=api", "user_permissions": [] }, "start": "2023-12-05T17:59:49", "end": "2023-12-06T04:59:59", "day": "2023-12-05", "date_label": "Dec 5-6 2023", "duration": "39610.0", "duration_label": "11 hours 0 min", "captures_count": 3962, "detections_count": 860, "occurrences_count": 150, "stats": { "detections_max_count": 36, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=3172&ordering=timestamp", "first_capture": { "id": 8270947, "details": "https://api.beluga.insectai.org/api/v2/captures/8270947/?format=api", "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/pan/dep000021/snapshot_images/20231205175949-snapshot.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=951e406b7eb1113e1bb05c083ce51481%2F20260403%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260403T160646Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=e1bd885016057f0e962c45b4f6dada1e0a78da6a39e49a3fa9c4e8ddbf605491", "width": 4096, "height": 2160, "timestamp": "2023-12-05T17:59:49", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "6:00 PM", "7:00 PM", "8:00 PM", "9:00 PM", "10:00 PM", "11:00 PM", "1:00 AM", "2:00 AM", "3:00 AM" ], "y": [ 7, 31, 33, 22, 39, 22, 20, 33, 23 ], "ticktext": [ "6:00 PM:00", "3:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 5, 5, 6, 7, 8, 10, 11, 12, 21, 86 ], "y": [ "Enyo lugubris", "Paragonia cruraria", "Dinia mena", "Ascalapha odorata", "Lobocleta ossularia", "Agaraea semivitrea", "Pilocrocis ramentalis", "Sosxetra grata", "Herpetogramma phaeopteralis", "Plodia interpunctella" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-04-29T14:51:23.834967", "updated_at": "2024-09-20T07:04:11.731593", "user_permissions": [] }