Short Links

Open short-link sub-path

Changed on

Serves a site file or KV value under the link. Any miss is 404.

get/{ns}/{id}/{sub}

Request

  • Base URL
    https://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
sub, string required

Query parameters

p, string

Legacy-only query password; ignored for NEW publications. Programmatic access uses X-Password or the owner token.

dl, boolean

Force download as attachment

Headers

X-Password, string

Access password for protected resources

Range, string
X-Resolve, string
User-Agent, string
X-Owner-Token, string

Owner token; when supplied, response carries X-Is-Owner: true on match

Response

OK

object required

Changes

    • info

      the endpoint scheme security OwnerToken was added to the API

    • info

      the endpoint scheme security Password was added to the API

    • info

      added the new optional header request parameter Range

    3 more changes in this revision