Canonical · Schema
NodePatch
NodePatch describes a request to update an existing node
CanonicalCloudLinuxOpen SourceUbuntuContainersBare MetalCharmsIdentity
Properties
| Name | Type | Description |
|---|---|---|
| cpu_allocation_rate | number | Update the CPU allocation rate for the node |
| cpus | integer | Update the number of CPUs for the node |
| gpu_encoder_slots | integer | Update the number of GPU encoder slots to configure on the node |
| gpu_slots | integer | Update the number of GPU slots to configure on the node |
| gpus | array | |
| memory | string | Update the memory (in GB) for the node |
| memory_allocation_rate | number | Update the memory allocation rate for the node |
| public_address | string | Update the public IP Address of the node |
| subnet | string | Update the subnet info of the node if the subnet of a node is changed |
| tags | array | Update the tags of the node |
| unscheduable | boolean | DEPRECATED Flag in favour of `unschedulable` flag |
| unschedulable | boolean | Flag used to remove the node from scheduler and not schedule containers on it |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/canonical/main/json-schema/canonical-node-patch-schema.json",
"title": "NodePatch",
"description": "NodePatch describes a request to update an existing node",
"x-generated": "2026-10-04",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/canonical-nodes-api-openapi.yml#/components/schemas/NodePatch",
"type": "object",
"properties": {
"cpu_allocation_rate": {
"description": "Update the CPU allocation rate for the node",
"type": "number",
"format": "float"
},
"cpus": {
"description": "Update the number of CPUs for the node",
"type": "integer",
"format": "int64"
},
"gpu_encoder_slots": {
"description": "Update the number of GPU encoder slots to configure on the node",
"type": "integer",
"format": "int64"
},
"gpu_slots": {
"description": "Update the number of GPU slots to configure on the node",
"type": "integer",
"format": "int64"
},
"gpus": {
"type": "array",
"items": {
"$ref": "#/$defs/NodeGPUPatch"
}
},
"memory": {
"description": "Update the memory (in GB) for the node",
"type": "string"
},
"memory_allocation_rate": {
"description": "Update the memory allocation rate for the node",
"type": "number",
"format": "float"
},
"public_address": {
"description": "Update the public IP Address of the node",
"type": "string",
"format": "ipv4"
},
"subnet": {
"description": "Update the subnet info of the node if the subnet of a node is changed",
"type": "string",
"format": "ipv4"
},
"tags": {
"description": "Update the tags of the node",
"type": "array",
"items": {
"type": "string"
}
},
"unscheduable": {
"description": "DEPRECATED Flag in favour of `unschedulable` flag",
"type": "boolean"
},
"unschedulable": {
"description": "Flag used to remove the node from scheduler and not schedule containers on it",
"type": "boolean"
}
},
"$defs": {
"NodeGPUPatch": {
"description": "NodeGPUPatch allows changing configuration for individual GPUs",
"type": "object",
"properties": {
"encoder_slots": {
"description": "Update the number of GPU encoder slots",
"type": "integer",
"format": "int64"
},
"id": {
"description": "ID of the GPU configured on the node",
"type": "integer",
"format": "uint64"
},
"slots": {
"description": "Update the number of the GPU slots available on the Node",
"type": "integer",
"format": "int64"
}
}
}
}
}
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/canonical-node-patch"
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.