Skip to content
Topolo Platform Topolo Docs
Open workspace
Documentation

Read a saved site version

Read the snapshot for a selected site version.

On this page

Read the saved content for one specific version of a Web site.

Find the version#

Select the Web workspace that owns the site. Get the site ID from List workspace sites, then get the version ID from List site versions. Your credential needs studio:read and access to that workspace.

Call the action#

Set WEB_WORKSPACE_ID to the owning workspace ID. Save this as payload.json and replace both placeholders.

json
{
  "siteId": "<site ID>",
  "versionId": "<saved version ID>"
}
bash
topolo actions call app_topolo_web.sites.versions.get \
  --resource-type workspace --resource-id "$WEB_WORKSPACE_ID" \
  --data @payload.json --json

In Topolo MCP, call topolo_read_action with these arguments.

json
{
  "actionId": "app_topolo_web.sites.versions.get",
  "input": {
    "siteId": "<site ID>",
    "versionId": "<saved version ID>"
  },
  "resourceType": "workspace",
  "resourceId": "<Web workspace ID>"
}

Read the result#

Confirm id and siteId match your request. Use snapshot to inspect the content stored with that version. To check whether this saved version is currently published, compare its id with site.currentVersionId from Get site.

Keep the returned previewToken private. If the version is unavailable, check that both IDs came from the same site and workspace.

Live action contract