HTML

Get HTML page settings

Changed on

Returns republish-prefill settings (namespace, ttlDays, hasPassword, showTopBar, format, title, filename, createdAt, expiresAt) without the content body. Owner-only — requires the owner token returned at creation.

get/api/html/{ns}/{id}/settings

Request

  • Base URL: https://brewpage.app
  • URL: https://brewpage.app/api/html/{ns}/{id}/settings
  • Auth: API key in header X-Owner-Token

Path parameters

nsstring required
idstring required

Headers

X-Owner-Tokenstring required

Owner token returned at creation. Required for settings access

Response

Settings projection

Changes

    • breaking

      the header request parameter X-Owner-Token became required

    • breaking

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

    • breaking

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

    • breaking

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

    • info

      api operation id getSettings removed and replaced with getHtmlSettings

    • info

      the endpoint scheme security OwnerToken was added to the API

    • info

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

    • info

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