PageGoat · Schema
UploadSiteForm
Multipart form for creating a site.
File SharingLinkGenerationContentHostingDeveloper ToolsSoftware-as-a-Service
Properties
| Name | Type | Description |
|---|---|---|
| title | string | Display name. Required. |
| slug | stringnull | Preferred slug. Derived from the title when omitted, and de-duplicated if taken. |
| visibility | stringnull | Defaults to private. Password protection is turned on afterwards, from the site's Sharing settings. |
| publicRole | stringnull | Role for anyone with the link. Only meaningful when going public. |
| file | string | The file to publish, recognised by its name: an HTML file (`.html`, `.htm`), a ZIP of a multi-file site with an `index.html`, Markdown (`.md`, `.markdown`) or plain text (`.txt`), which are rendered i |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/pagegoat-com/json-schema/pagegoat-com-upload-site-form-schema.json",
"title": "UploadSiteForm",
"description": "Multipart form for creating a site.",
"x-generated": "2026-11-20",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/pagegoat-com-openapi.yml#/components/schemas/UploadSiteForm",
"required": [
"file",
"title"
],
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "Display name. Required."
},
"slug": {
"type": [
"string",
"null"
],
"description": "Preferred slug. Derived from the title when omitted, and de-duplicated if taken."
},
"visibility": {
"type": [
"string",
"null"
],
"description": "Defaults to private. Password protection is turned on afterwards, from the site's Sharing settings.",
"enum": [
"public",
"private"
]
},
"publicRole": {
"type": [
"string",
"null"
],
"description": "Role for anyone with the link. Only meaningful when going public.",
"enum": [
"viewer",
"commenter"
]
},
"file": {
"type": "string",
"description": "The file to publish, recognised by its name: an HTML file (`.html`, `.htm`), a ZIP of a multi-file site with an `index.html`, Markdown (`.md`, `.markdown`) or plain text (`.txt`), which are rendered into a page, or a PDF (`.pdf`), shown in pagegoat's viewer. Any other type is refused with 415, and a file whose contents contradict its name (a `.pdf` that isn't a PDF, a `.txt` that is binary) with 400. `GET /api/usage` lists the formats this deployment accepts.",
"format": "binary"
}
}
}
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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/pagegoat-com-upload-site-form"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.