BrewPage · Schema

BrewPage File

A binary or text file uploaded to BrewPage via POST /api/files (multipart). Files are 5 MB max and 1000 per namespace.

HostingMarkdownHTMLAI ArtifactsFile HostingDeveloper Tools

Properties

Name Type Description
id string 10-char short identifier assigned by the server.
namespace string
link string Short URL: https://brewpage.app/{ns}/{id}. Append ?dl=1 to force download.
ownerLink string
ownerToken string
filename string Original filename preserved on upload.
contentType string Detected MIME type used to choose inline preview vs download.
size integer File size in bytes. Per-file cap is 5 MB.
ttlDays integer
passwordProtected boolean
createdAt string
expiresAt string
downloads integer
View JSON Schema on GitHub

JSON Schema

brewpage-file-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/brewpage/main/json-schema/brewpage-file-schema.json",
  "title": "BrewPage File",
  "description": "A binary or text file uploaded to BrewPage via POST /api/files (multipart). Files are 5 MB max and 1000 per namespace.",
  "type": "object",
  "required": ["id", "namespace", "link", "ownerToken"],
  "properties": {
    "id": {
      "type": "string",
      "minLength": 10,
      "maxLength": 10,
      "description": "10-char short identifier assigned by the server."
    },
    "namespace": {
      "type": "string",
      "pattern": "^[a-z0-9-]{1,32}$"
    },
    "link": {
      "type": "string",
      "format": "uri",
      "description": "Short URL: https://brewpage.app/{ns}/{id}. Append ?dl=1 to force download."
    },
    "ownerLink": {"type": "string", "format": "uri"},
    "ownerToken": {"type": "string"},
    "filename": {
      "type": "string",
      "description": "Original filename preserved on upload."
    },
    "contentType": {
      "type": "string",
      "description": "Detected MIME type used to choose inline preview vs download."
    },
    "size": {
      "type": "integer",
      "minimum": 0,
      "maximum": 5242880,
      "description": "File size in bytes. Per-file cap is 5 MB."
    },
    "ttlDays": {
      "type": "integer",
      "minimum": 1,
      "maximum": 30
    },
    "passwordProtected": {"type": "boolean"},
    "createdAt": {"type": "string", "format": "date-time"},
    "expiresAt": {"type": "string", "format": "date-time"},
    "downloads": {"type": "integer", "minimum": 0}
  },
  "additionalProperties": false
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema 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 Schema
curl "https://apis.io/api/v1/json-schemas/brewpage-file"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.