Download Archive
GET/api/media/download-archive
Stream a ZIP of every file under path (empty = the whole library).
Backs the Media Library's "Download all" toolbar action and a folder's "Download" menu item. Existence/non-empty validation happens synchronously up front so an empty target returns a 404 before the stream begins; the ZIP is then built and streamed file-by-file so server memory stays bounded by the largest single file rather than the whole archive.
Request
Responses
- 200
- 422
Successful Response
Validation Error