Files
List files
Changed onReturns files owned by the given token. Empty list without token. Files published as pages are listed by GET /api/publications
get/api/files
Request
- Base URLhttps://brewpage.app
- Auth
- none
- or API key in header X-Owner-Token
Query parameters
ns, string
Namespace. Omitted: private. public = gallery & search. Lowercase only.
Headers
X-Owner-Token, unknown
Owner token to filter by ownership. Without token returns empty list
Response
File list
File List Response[] required
id, string required
Unique 10-character alphanumeric file ID
filename, string required
Original filename as uploaded
contentType, string
Detected MIME type (e.g. image/png)
size, integer required
link, string required
Public short URL for browser download
createdAt, string date-time required
Changes
- info
added the optional property
levelto the response with the status
- info
- info
added the optional property
challengeUrlto the response with the status - info
added the optional property
siteKeyto the response with the status
- info