Files

Returns files owned by the given token. Empty list without token

get/api/files

Request

  • Base URL: https://brewpage.app
  • URL: https://brewpage.app/api/files
  • Auth: one of:
    • none
    • API key in header X-Owner-Token

Query parameters

nsstring

Namespace (default public). Custom namespaces are unlisted, accessible to anyone with the URL. Public discovery additionally requires eligibility and no password.

Headers

X-Owner-Tokenstring

Owner token to filter by ownership. Without token returns empty list

Response

File list

idstring required

Unique 10-character alphanumeric file ID

filenamestring required

Original filename as uploaded

contentTypestring

Detected MIME type (e.g. image/png)

sizeinteger required
linkstring required

Public short URL for browser download

createdAtstring date-time required

Changes

    • breaking

      removed the media type */* for the response with the status

    • info

      the endpoint scheme security OwnerToken was added to the API

    • info

      added the media type application/json for the response with the status

    • breaking

      the response property / became nullable for the status