Sites
Get site info
Changed onReturns site metadata and file list. Requires owner token
get/api/sites/{ns}/{id}
Request
- Base URLhttps://brewpage.app
- Auth
- none
- or API key in header X-Owner-Token
- or API key in header X-Manage-Key
Path parameters
ns, string required
id, string required
Headers
X-Owner-Token, unknown
Owner token returned at creation
X-Manage-Key, unknown
Management key of this site
Response
Site info
Site Info Response required
id, string required
Unique 10-character alphanumeric site ID
namespace, string required
entryFile, string required
Entry HTML file resolved from the upload
fileCount, integer required
totalSizeBytes, integer required
files, Site File Info[] required
List of all files in the site
createdAt, string date-time required
expiresAt, string date-time required
views, integer required
tags, string[] 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