Canonical · Schema
AppActionRestart
Restarts one or more services.
CanonicalCloudLinuxOpen SourceUbuntuContainersBare MetalCharmsIdentity
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/canonical/main/json-schema/canonical-app-action-restart-schema.json",
"title": "AppActionRestart",
"description": "Restarts one or more services.",
"x-generated": "2026-10-04",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/canonical-apps-api-openapi.yml#/components/schemas/AppActionRestart",
"type": "object",
"allOf": [
{
"$ref": "#/$defs/AppActionBase"
},
{
"type": "object",
"required": [
"action"
],
"properties": {
"action": {
"type": "string",
"enum": [
"restart"
]
},
"reload": {
"type": "boolean",
"description": "Tries to reload the service if it supports it; otherwise, it performs a full restart.",
"default": false
}
}
}
],
"$defs": {
"AppActionBase": {
"type": "object",
"required": [
"action",
"names"
],
"properties": {
"action": {
"type": "string",
"description": "The action to perform."
},
"names": {
"type": "array",
"description": "A list of names of snaps (e.g. \"lxd\") or specific apps (e.g. \"lxd.daemon\") to operate on.",
"items": {
"type": "string"
}
},
"scope": {
"type": "array",
"items": {
"type": "string"
}
},
"users": {
"type": "object",
"properties": {
"names": {
"type": "array",
"items": {
"type": "string"
}
},
"selector": {
"type": "string",
"description": "Internally converted to an integer by the servers marshalling/unmarshalling process",
"enum": [
"userX",
"self",
"all"
]
}
}
}
}
}
}
}
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-app-action-restart"
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.