Preview a maintenance page
Returns the HTML visitors would see: the service's page when serviceId is given, otherwise the global page, with the message filled in. The web app shows it in a sandboxed frame.
Any signed-in caller. Not available to MCP clients or the assistant.
seylo_session<token>serviceId?stringPanel-issued id.
^[a-z0-9]{16}$Success.
application/json- response
html*stringcurl -X GET 'https://example.com/api/v1/maintenance.preview'{ "html": "string"}Get the global maintenance page GET
Returns whether panel-wide maintenance mode is on, and the global page shown for services without their own. Needs `settings.view`, which owners and admins hold. Available to MCP clients and the assistant.
Set a service's maintenance page POST
Turns a service's maintenance mode on or off and sets its own page or message. Fields left out keep their value; html null falls back to the global page. Takes effect on the node right away, without a deploy. Needs `services.edit` on the service (a grant on its project covers it). Available to MCP clients and the assistant.