Download a zip
GET/api/v1/download
Packs the listed files and directories into one zip archive and streams it as the attachment {name}.zip. Entries may mix home, share and group folder paths.
Directories are added with all their contents. Each item is stored in the zip under its path with the skipPath prefix removed; the app passes the directory the entries are in, so the zip holds just their names.
The caller must be able to read every entry: their home, group folders they belong to (any role), and shares they receive. Any unreadable or missing entry fails the whole request; a password-protected share returns 423 until unlocked.
Request
Responses
- 200
- 400
- 403
- 404
- 423
Zip archive.
Request failed.
Request failed.
Request failed.
Request failed.