Skip to content
Topolo Platform Topolo Docs
Open workspace
Documentation

Get preview addresses and viewports

Read a site’s draft-preview and public addresses with the responsive widths to check.

On this page

Find the addresses and viewport sizes for reviewing a site’s draft before a publishing decision.

Select the site#

Find siteId with List workspace sites and select the same Web workspace. Your credential needs studio:read and access to that workspace.

Make the request#

Replace both placeholders with identifiers discovered in your account. With Topolo MCP, call topolo_read_action with these arguments.

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

Read the response#

Confirm the response’s siteId. previewUrl opens the draft preview, and publicUrl identifies the public address. Each entry in viewports has an id, width and description of what to inspect. The current set covers 390, 768, 1440 and 2560 CSS pixels.

Continue#

Review the draft at each returned width, including its navigation, content and forms. Keep its preview URL within the authorized review audience. Use Check publish readiness to inspect the publication quality gates. This address lookup changes no content or publication state.

If the request fails#

After a permission refusal, check the selected account, Web workspace and studio:read access. For a missing site, rediscover its ID in the same workspace. Validate input against the live action schema. Honor Retry-After when rate limited and retain the request ID if a service error persists.