AppPatch
Every field optional: what is not sent keeps the value the app has, and takes the default named here on an app being created. A body that omits `port` does not move the app's port, and one that omits `public` does not unpublish it.
Properties
| Name | Type | Description |
|---|---|---|
| image | object | An image reference the box can pull, e.g. ghcr.io/you/app:1.4. Omit to keep the one it runs. |
| port | object | The port the app listens on. It owns this port and the two above it, which are the slots a new version comes up on, so leave three between apps. Omit to keep it; 8080 on a new app. |
| health_path | object | A path that answers 200 when the app is ready. A new version takes over only once it does. Omit to keep it; / on a new app, which for a server-rendered site is the most expensive route there is - name |
| public | object | Public: served by the box's front door on a name of its own, |
| default | object | The public app the box's own hostname goes to as well. One per box: marking this one unmarks the other. Unmarked everywhere, the first public app answers there. Omit to keep it. |
| domains | object | Custom hostnames for a public app; point them at the box first. A wildcard one level deep (*.tenants.example.com) needs a domain_check, which approves each name under it. Omit to keep the ones it has. |
| subdomain | object | A name of your choosing under our own zone for a public app, the label alone (shop) or the full name. We write its record and the certificate follows on the first request, so nothing is needed at a DN |
| memory_mb | object | The app's share of the apps engine's budget; omit to keep what it has. |
| cpu_limit | object | CPU cap in vCPUs, fractional values allowed, at most the plan's vCPUs; 0 removes the cap. Omit to keep. Applied without restarting. |
| cpu_weight | object | Relative CPU priority under contention, 1 to 10000, default 100. Spare CPU remains available. Applied without restarting. |
| singleton | object | The app holds a lock or a data directory a second copy would corrupt: restarted in place rather than beside itself, so a deploy has a moment of downtime. Omit to keep it. |
| links | object | Other apps on the box this one talks to; each appears in its environment as |
| read_only | object | Run with a read-only root filesystem (/data and /tmp stay writable). Turn on once the image is known to tolerate it. Omit to keep it. |
| capabilities | object | Linux capabilities the image needs, e.g. CAP_NET_BIND_SERVICE. None by default. Omit to keep them. |
| cgroup_delegate | object | Let the app hold its own processes to memory and CPU limits: its container's control group is made writable, beneath the limits the box holds the app to, which it cannot raise. For an app that runs wo |
| upload_mb | object | The largest request body the front door passes to the app, in MB; 0 for no limit. 32 on a new app. Raise it for an app that takes uploads. Omit to keep it. |
| domain_check | object | A path of the app's, like /domain-check, that approves the names the app serves: before a certificate is issued for one, the box asks this path with ?domain= |
| analytics | object | Count this app's traffic for Analytics, where it is enabled on the account: requests, pageviews, visitors, errors and response times, kept as totals with no address or cookie. true on a new app; false |
| analytics_events | object | The custom event names this app may send, each 1 to 40 of a-z, 0-9, dot, dash and underscore, at most 50. Empty keeps the first 50 names seen each day. Omit to keep them. |
| inbound | object | Ports to open to the internet for this app, for a protocol the front door cannot carry: a game server, a VPN or TURN endpoint, MQTT, a peer-to-peer client. Each is a port, or a port and a protocol: 25 |
| network | object | host (the default): the app shares the box's network and reaches the box's engines and other apps. isolated: a network of its own that reaches only what egress names, and nothing of the box itself. Om |
| egress | object | For an isolated app, everything it may open a connection to, and nothing else: internet (any public address), internet:443 (public addresses on one port), another isolated app by name or name:port (re |
| untrusted | object | For code its owner expects an attacker to control, such as a browser opening sites nobody vouches for: an isolated network reaching only egress (internet unless set, never an engine), no engine creden |
| health | object | http (the default): the health path answers 200. tcp: the app accepts a connection on its port, for an app that speaks no HTTP, such as a proxy; such an app cannot be public. Omit to keep it. |
| public_allow | object | For a public app, the only addresses or ranges its names answer, e.g. 203.0.113.9 or 198.51.100.0/24; a connection from anywhere else is closed before it reaches the app. A WebSocket connection is let |
| max_lifetime | object | Seconds after which the app's container is replaced by a fresh one from the image, 300 at least; 0 never. Omit to keep it. |
| runtime | object | sandboxed: the container runs on a kernel of its own in user space, one more wall between its code and the box. Slower to start and for some system calls. "" for the default. Omit to keep it. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/lathe-live/json-schema/lathe-live-app-patch-schema.json",
"title": "AppPatch",
"description": "Every field optional: what is not sent keeps the value the app has, and takes the default named here on an app\nbeing created. A body that omits `port` does not move the app's port, and one that omits `public` does not\nunpublish it.",
"x-generated": "2026-11-15",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/lathe-live-openapi.json#/components/schemas/AppPatch",
"properties": {
"image": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Image",
"description": "An image reference the box can pull, e.g. ghcr.io/you/app:1.4. Omit to keep the one it runs."
},
"port": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Port",
"description": "The port the app listens on. It owns this port and the two above it, which are the slots a new version comes up on, so leave three between apps. Omit to keep it; 8080 on a new app."
},
"health_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Health Path",
"description": "A path that answers 200 when the app is ready. A new version takes over only once it does. Omit to keep it; / on a new app, which for a server-rendered site is the most expensive route there is - name a path that touches nothing instead."
},
"public": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Public",
"description": "Public: served by the box's front door on a name of its own, <instance>-<name>.<the box's zone>, and any domains below. Internal: loopback only, for the box's other apps and engines. Omit to keep it; internal on a new app."
},
"default": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Default",
"description": "The public app the box's own hostname goes to as well. One per box: marking this one unmarks the other. Unmarked everywhere, the first public app answers there. Omit to keep it."
},
"domains": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Domains",
"description": "Custom hostnames for a public app; point them at the box first. A wildcard one level deep (*.tenants.example.com) needs a domain_check, which approves each name under it. Omit to keep the ones it has."
},
"subdomain": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Subdomain",
"description": "A name of your choosing under our own zone for a public app, the label alone (shop) or the full name. We write its record and the certificate follows on the first request, so nothing is needed at a DNS provider. One per app; \"\" takes it off, and a name let go is held for you for 30 days. Needs to be enabled on the account. Omit to keep it."
},
"memory_mb": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Memory Mb",
"description": "The app's share of the apps engine's budget; omit to keep what it has."
},
"cpu_limit": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Cpu Limit",
"description": "CPU cap in vCPUs, fractional values allowed, at most the plan's vCPUs; 0 removes the cap. Omit to keep. Applied without restarting."
},
"cpu_weight": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Cpu Weight",
"description": "Relative CPU priority under contention, 1 to 10000, default 100. Spare CPU remains available. Applied without restarting."
},
"singleton": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Singleton",
"description": "The app holds a lock or a data directory a second copy would corrupt: restarted in place rather than beside itself, so a deploy has a moment of downtime. Omit to keep it."
},
"links": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Links",
"description": "Other apps on the box this one talks to; each appears in its environment as <NAME>_URL on its stable port. Nothing else about a neighbour reaches this app. Omit to keep them."
},
"read_only": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Read Only",
"description": "Run with a read-only root filesystem (/data and /tmp stay writable). Turn on once the image is known to tolerate it. Omit to keep it."
},
"capabilities": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Capabilities",
"description": "Linux capabilities the image needs, e.g. CAP_NET_BIND_SERVICE. None by default. Omit to keep them."
},
"cgroup_delegate": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Cgroup Delegate",
"description": "Let the app hold its own processes to memory and CPU limits: its container's control group is made writable, beneath the limits the box holds the app to, which it cannot raise. For an app that runs work it did not write and must keep one job from slowing the rest. Changing it restarts the app. Needs to be enabled on the account. Omit to keep it."
},
"upload_mb": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Upload Mb",
"description": "The largest request body the front door passes to the app, in MB; 0 for no limit. 32 on a new app. Raise it for an app that takes uploads. Omit to keep it."
},
"domain_check": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Domain Check",
"description": "A path of the app's, like /domain-check, that approves the names the app serves: before a certificate is issued for one, the box asks this path with ?domain=<name>, and only a 2xx gets one. With a wildcard in domains it gates the names under it, and any number of apps on a box can have their own; without one, the app answers every name pointing at the box that no other app claims, one such app per box. For an app serving its own customers' names. Public apps only. \"\" turns it off. Omit to keep it."
},
"analytics": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Analytics",
"description": "Count this app's traffic for Analytics, where it is enabled on the account: requests, pageviews, visitors, errors and response times, kept as totals with no address or cookie. true on a new app; false stops counting and keeps what was counted. Omit to keep it."
},
"analytics_events": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Analytics Events",
"description": "The custom event names this app may send, each 1 to 40 of a-z, 0-9, dot, dash and underscore, at most 50. Empty keeps the first 50 names seen each day. Omit to keep them."
},
"inbound": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Inbound",
"description": "Ports to open to the internet for this app, for a protocol the front door cannot carry: a game server, a VPN or TURN endpoint, MQTT, a peer-to-peer client. Each is a port, or a port and a protocol: 25565, 51820/udp. A bare port means TCP. 1024 and above, and not one the box holds for itself. Needs to be enabled on the account - what the port is for decides it. Omit to keep them, [] to close them."
},
"network": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Network",
"description": "host (the default): the app shares the box's network and reaches the box's engines and other apps. isolated: a network of its own that reaches only what egress names, and nothing of the box itself. Omit to keep it."
},
"egress": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Egress",
"description": "For an isolated app, everything it may open a connection to, and nothing else: internet (any public address), internet:443 (public addresses on one port), another isolated app by name or name:port (reached by that name), an engine by name (postgres, redis, couchdb, nats, seaweedfs), or a public address or range with an optional port (203.0.113.9:443, 198.51.100.0/24). Private, local and reserved ranges and the box itself are refused whatever this says. internet when the app becomes isolated; [] for nothing at all. Omit to keep it."
},
"untrusted": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Untrusted",
"description": "For code its owner expects an attacker to control, such as a browser opening sites nobody vouches for: an isolated network reaching only egress (internet unless set, never an engine), no engine credentials in its environment, a /data that is emptied whenever the container is replaced, a read-only root, no capability but CAP_SYS_CHROOT (for a browser's own sandbox) and no link to sign-in. Restart the app to replace its container with a fresh one from the image. Omit to keep it."
},
"health": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Health",
"description": "http (the default): the health path answers 200. tcp: the app accepts a connection on its port, for an app that speaks no HTTP, such as a proxy; such an app cannot be public. Omit to keep it."
},
"public_allow": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Public Allow",
"description": "For a public app, the only addresses or ranges its names answer, e.g. 203.0.113.9 or 198.51.100.0/24; a connection from anywhere else is closed before it reaches the app. A WebSocket connection is let in or refused by the same list. [] answers everyone. Omit to keep it."
},
"max_lifetime": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Max Lifetime",
"description": "Seconds after which the app's container is replaced by a fresh one from the image, 300 at least; 0 never. Omit to keep it."
},
"runtime": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Runtime",
"description": "sandboxed: the container runs on a kernel of its own in user space, one more wall between its code and the box. Slower to start and for some system calls. \"\" for the default. Omit to keep it."
}
},
"type": "object"
}
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
curl "https://apis.io/api/v1/json-schemas/lathe-live-app-patch"
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.