Sites
Serve site file
Changed onServes an individual file from the site with correct content type
get/api/sites/{ns}/{id}/files/{filePath}
Request
- Base URLhttps://brewpage.app
- Auth
- none
- or API key in header X-Owner-Token
- or API key in header X-Password
Path parameters
ns, string required
id, string required
filePath, string required
Relative file path, including nested directories; encode each segment and retain slash separators.
Query parameters
p, string
Legacy-only query password; ignored for NEW publications. Programmatic access uses X-Password or the owner token.
Headers
X-Password, string
Access password via header
User-Agent, string
X-Owner-Token, string
Owner token to bypass password protection when no password supplied
Range, string
Response
File content
object required
Changes
- info
added the optional property
levelto the response with the status - info
added the optional property
levelto the response with the status - info
added the optional property
levelto the response with the status
- info