Roll back a site
POST/ingest/sites/{path}/rollback
Requires the rollback capability on the target group (versioning must
be enabled). With an empty body it restores the latest archived version;
with a revision it promotes that specific revision.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Full site path — group segments (0–2) plus the slug, e.g. claude/app or demo.
Request Body
Section titled “Request Body”Optional rollback target. Omit revision (or send an empty body) to
restore the latest archived version.
object
A revision ID to promote (current is a no-op). Defaults to the latest archived version.
Responses
Section titled “Responses”The restored site.
object
Group path (0–2 segments); empty for a flat site.
Optional preview image URL used by the portal instead of a live iframe.
Total on-disk size in bytes of the current revision’s files.
True when the server has a cached favicon for the site, detected
from the published index.html at publish time. Fetch the bytes from
GET /api/sites/{path}/favicon.
Set when the site is soft-deleted; absent for live sites.
Invalid request (bad path, malformed body, or missing content).
object
Missing or invalid credentials.
object
Authenticated, but not permitted for this target/capability.
object
No such site, key, or connection.