Create HTML page
Changed onStores HTML or markdown content and returns a shareable link. Reuse existing owner token to group entities under one owner. Also accepts raw text/* (HTML, Markdown, YAML, XML, CSV, code) and application/octet-stream bodies — see /llms-full.txt.
Request
- Base URL: https://brewpage.app
- URL: https://brewpage.app/api/html
- Auth: one of:
- none
- API key in header X-Owner-Token
Query parameters
Namespace (default public). Custom namespaces are unlisted, accessible to anyone with the URL. Public discovery additionally requires eligibility and no password.
Comma-separated tags
TTL in integer days (1-30); accepts 15, 15d, 15 day or 15 days, case-insensitive. Omitted or blank uses 15 days.
Content format. 'html' (default) — stored verbatim. 'markdown' / 'md' — rendered to styled HTML via github-markdown-css. Code/text languages stored and served raw with format-specific MIME (text/csv, application/json, text/xml, text/plain) plus X-Content-Type-Options: nosniff: yaml, json, xml, csv, tsv, log, toml, ini, sql, sh, bat, env, javascript, typescript, tsx, jsx, css, properties, docker, txt
Headers
Access password. Empty means no password restriction; public discovery additionally requires eligibility. Protected pages are hidden from the gallery. OLD links accept ?p=; NEW access uses X-Password or a reader access cookie after password entry.
Reuse existing owner token to group entities under one owner. If omitted, a new token is generated
NEW delivery preference: path or subdomain. Non-public namespaces require subdomain; omission allows smart selection.
Request body
Response
Page created
Changes
- breaking
added the pattern
^\s*(?:\d+\s*(?:[dD]|[dD][aA][yY][sS]?)?)?\s*$to thequeryrequest parameterttl - breaking
the request property
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
create_2removed and replaced withcreate_1 - info
the endpoint scheme security
OwnerTokenwas added to the API - info
added the new optional
headerrequest parameterX-Delivery-Mode - info
added the media type
application/javascriptto the request body - info
added the media type
application/octet-streamto the request body - info
added the media type
application/tomlto the request body - info
added the media type
application/x-yamlto the request body - info
added the media type
application/xmlto the request body - info
added the media type
application/yamlto the request body - info
added the media type
text/cssto the request body - info
added the media type
text/csvto the request body - info
added the media type
text/htmlto the request body - info
added the media type
text/javascriptto the request body - info
added the media type
text/markdownto the request body - info
added the media type
text/plainto the request body - info
added the media type
text/x-tomlto the request body - info
added the media type
text/xmlto the request body - info
added the media type
text/yamlto the request body - info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status
- breaking
- breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
added
subschema #2to theresponse propertyoneOflist for the response status - breaking
added
subschema #2to theresponse propertyoneOflist for the response status - breaking
added
subschema #2to theresponse propertyoneOflist for the response status - breaking
the
response's property type changed fromobjectto no type for status - breaking
the
response's property type changed fromobjectto no type for status - breaking
the
response's property type changed fromobjectto no type for status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - info
the request property
became nullable - info
the request property
became nullable
- breaking