Files

Returns 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 URL
    https://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

FileListResponse[] 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 level to the response with the status

    • info

      added the optional property challengeUrl to the response with the status

    • info

      added the optional property siteKey to the response with the status