Download Site Zip
GET/api/websites/:site_id/files/download-zip
Stream the entire current state of a site's storage zone as a ZIP.
Used by the chat-rollback dialog so a user can keep a snapshot of the current files before applying a destructive restore. ZIP is built in memory; sites are typically tiny (a handful of HTML/CSS/JS/image files) so the in-memory approach is fine — bound by Bunny's storage limits, not by request memory.
Request
Responses
- 200
- 422
Successful Response
Validation Error