REST API: storage
Files
List, download and delete a project's stored files with the REST API.
GET /api/projects/:id/storage/files?prefix=uploads/&cursor=...
GET /api/projects/:id/storage/files/containers
GET /api/projects/:id/storage/files/content?path=uploads/42/photo.jpg
DELETE /api/projects/:id/storage/files?path=uploads/42/photo.jpg#List files
GET /storage/files returns { items: [{ path, size, updatedAt }], cursor }. Filter with prefix; limit sets the page size (default 100, at most 500).
#Folders
GET /storage/files/containers returns the top-level folders with file counts and sizes.
#Download
GET /storage/files/content?path=… returns the file's bytes with its content type.
curl -o photo.jpg "https://wispfn.com/api/projects/$PROJECT/storage/files/content?path=uploads/42/photo.jpg" \
-H "Authorization: Bearer $WISP_API_KEY"#Delete
DELETE /storage/files?path=… deletes one file. Scope: storage:write.
From your functions, use the file SDK.