Properties
| Name | Type | Description |
|---|---|---|
| site_id | object | Site id (number) or site name. |
| files | array | |
| clear_assets | boolean | Delete current files in assets/ first. |
| dry_run | boolean | Only report what would be published. |
| expected_version | string | Optional. Version from getSite (field version). If someone saved the site since then, the call returns 409 version_conflict and changes nothing. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/hostilo-app/json-schema/hostilo-app-publish-files-request-schema.json",
"title": "PublishFilesRequest",
"x-generated": "2026-11-11",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/hostilo-app-openapi.json#/components/schemas/PublishFilesRequest",
"type": "object",
"required": [
"site_id",
"files"
],
"properties": {
"site_id": {
"oneOf": [
{
"type": "integer"
},
{
"type": "string"
}
],
"description": "Site id (number) or site name."
},
"files": {
"type": "array",
"minItems": 1,
"maxItems": 300,
"items": {
"type": "object",
"required": [
"path",
"content"
],
"additionalProperties": false,
"properties": {
"path": {
"type": "string",
"description": "Path from the site root, e.g. index.html, css/style.css, img/logo.png."
},
"content": {
"type": "string",
"description": "Text content, or base64 when encoding is base64."
},
"encoding": {
"type": "string",
"enum": [
"utf-8",
"base64"
],
"default": "utf-8"
}
}
}
},
"clear_assets": {
"type": "boolean",
"default": false,
"description": "Delete current files in assets/ first."
},
"dry_run": {
"type": "boolean",
"default": false,
"description": "Only report what would be published."
},
"expected_version": {
"type": "string",
"description": "Optional. Version from getSite (field version). If someone saved the site since then, the call returns 409 version_conflict and changes nothing."
}
}
}
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/hostilo-app-publish-files-request"
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. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.