HTML

Get HTML page raw source

Changed on

Returns the raw user-submitted content (pre-render, pre-sanitize) plus metadata for republish. Owner-only — requires the owner token returned at creation.

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

Request

  • Base URL: https://brewpage.app
  • URL: https://brewpage.app/api/html/{ns}/{id}/source
  • 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 source access

Response

Raw source body and metadata

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 getSource removed and replaced with getHtmlSource

    • 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