BrewPage · JSON Structure

Brewpage Html Page Structure

Logical structure for a BrewPage hosted HTML/Markdown page and how each field is sourced.

Type: Properties: 0
HostingMarkdownHTMLAI ArtifactsFile HostingDeveloper Tools

BrewPage HTML Page Structure is a JSON Structure definition published by BrewPage.

Meta-schema:

JSON Structure

Raw ↑
{
  "name": "BrewPage HTML Page Structure",
  "description": "Logical structure for a BrewPage hosted HTML/Markdown page and how each field is sourced.",
  "entity": "HTMLPage",
  "fields": [
    {"name": "id", "type": "string", "required": true, "source": "Server-issued 10-char identifier on POST /api/html"},
    {"name": "namespace", "type": "string", "required": true, "source": "Query param `ns` (defaults to `public`)"},
    {"name": "link", "type": "uri", "required": true, "source": "Composed by server: https://brewpage.app/{ns}/{id}"},
    {"name": "ownerLink", "type": "uri", "source": "Owner-only API URL returned at creation"},
    {"name": "ownerToken", "type": "string", "required": true, "source": "Issued at creation; required for PUT/DELETE via X-Owner-Token"},
    {"name": "filename", "type": "string", "source": "Body field at creation; immutable on update"},
    {"name": "format", "type": "enum", "values": ["html", "markdown", "md"], "source": "Query param `format` (defaults to html)"},
    {"name": "tags", "type": "array<string>", "source": "Query param `tags` (CSV); immutable on update"},
    {"name": "ttlDays", "type": "integer", "source": "Query param `ttl` (1..30, default 15)"},
    {"name": "passwordProtected", "type": "boolean", "source": "Derived: true when X-Password set at creation"},
    {"name": "showTopBar", "type": "boolean", "source": "Body field; overrides global default; immutable on update"},
    {"name": "createdAt", "type": "datetime", "source": "Server timestamp on POST"},
    {"name": "expiresAt", "type": "datetime", "source": "createdAt + ttlDays"},
    {"name": "views", "type": "integer", "source": "Incremented on each GET /{ns}/{id}"}
  ],
  "relationships": [
    {"name": "shortLink", "type": "hasOne", "target": "ShortLink"},
    {"name": "previewImage", "type": "hasOne", "target": "PreviewImage", "source": "Generated by GET /preview/{ns}/{id}.png"},
    {"name": "reports", "type": "hasMany", "target": "AbuseReport"}
  ]
}

Work with this as data

Every JSON Structure here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for json structure

4 MCP tools reach this
  • find_json_structuresBrowse and filter every JSON Structure in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Structure
curl "https://apis.io/api/v1/json-structures/brewpage-html-page-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.