Dashboard
How it Works Documentation Quick Start PAPI — Pages & Assets MAPI — Dynamic Data Integrations SAPI — Sessions & Forms MCP Server OpenClaw Skill Tools Deploy Dashboard

Versioning

⚡ Built-in — Platform Built-in

Version history and rollback for text assets (js, css, json, svg, etc). View past versions and restore any of them. Binary assets are overwrite-only and have no history.

⚡ Built-in — No Setup Required This integration is built into the WebsitePublisher platform. All endpoints are available immediately — no API key needed.

Endpoints (2)

GET list-asset-versions

Get the version history of a text asset (js, css, json, svg, etc). Returns metadata only — version numbers, hashes, timestamps, change summaries — no content. Binary assets have no history. Use this to find a version to roll back to.

Field Type Required Description
slug string ✓ Yes The asset path, e.g. "css/style.css" or "js/app.js".
POST rollback-asset

Rollback a text asset to a previous version. Creates a NEW version with the old content (audit trail preserved). Provide target_version OR target_version_hash. Use list-asset-versions to find available versions. Binary assets cannot be rolled back — use upload_asset with overwrite instead.

Field Type Required Description
slug string ✓ Yes The asset path to rollback, e.g. "css/style.css".
target_version integer No Version number to rollback to (use this OR target_version_hash).
target_version_hash string No Version hash (8 chars) to rollback to (use this OR target_version).

MCP Tool Names

When using this integration through an AI assistant (Claude, ChatGPT, Cursor, etc.), the endpoints are available as MCP tools:

EndpointMCP Tool Name
list-asset-versions versioning_list_asset_versions
rollback-asset versioning_rollback_asset
← Back to all integrations