Update HTML page
Changed onReplaces page content; requires the owner token returned at creation. Also accepts raw text/* (HTML, Markdown, YAML, XML, CSV, code) bodies — see /llms-full.txt.
Request
- Base URL: https://brewpage.app
- URL: https://brewpage.app/api/html/{ns}/{id}
- Auth: API key in header X-Owner-Token
Path parameters
Query parameters
Optional new content format on republish. Accepts 'html', 'markdown'/'md', or any code format (yaml, json, xml, csv, tsv, log, toml, ini, sql, sh, bat, env, javascript, typescript, tsx, jsx, css, properties, docker, txt). When omitted, the row's stored format is preserved. Body field 'format' on HtmlUpdateRequest takes precedence over the query param when both are present.
Headers
Owner token returned at creation. Required for update and delete
Request body
Response
Page updated
Changes
- 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
update_2removed and replaced withupdate_1 - info
the endpoint scheme security
OwnerTokenwas added to the API - info
added the media type
application/javascriptto 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
- breaking