Skip to content
Open Vivreal

Site Management Endpoints

Secure API endpoints for listing, fetching, and reverting site versions

intermediate4 min readUpdated For developers

Site Management Endpoints

These are the Secure API endpoints behind the portal's site version history. Use them when you are managing sites programmatically rather than through the portal UI.

For the owner-facing walkthrough of the same feature, see Version History.

Site versions

MethodPathPurpose
GET/api/siteVersions?siteId={id}List versions for a site (newest first)
GET/api/siteVersion?siteId={id}&version={n}Fetch a specific version snapshot
PUT/api/siteVersion/revertRevert to a version (body: { siteId, version })

Every revert writes a new version entry recording what was reverted and to which prior version, so a revert is itself revertible: revert again to the post-revert version.

Matching MCP tools

The MCP server exposes the same three operations as tools, which is usually the easier path if you are driving Vivreal from an AI agent:

ToolScopeNotes
list-site-versionscms.readRead-only
get-site-versioncms.readRead-only
revert-site-versioncms.writeContent rollback only, does not redeploy

See MCP Tools for the full catalogue.