Publish Site
POST/api/websites/:site_id/publish
Publish a tree of files to a website in one call.
Accepts text files (files) and base64-encoded binary files
(binary_files) and writes each to the site's Bunny storage zone.
Per-file failures are reported in the response rather than aborting
the whole call. CDN cache is purged once at the end when
purge_cache is true (default).
Request
Responses
- 200
- 422
Successful Response
Validation Error