Restore a retained version
restore_versionCreates a new version whose files equal a retained version, without uploading those files again. Inputs: slug, version, optional expected_version, and token. When expected_version does not match the live version, the result is version_conflict and nothing is written. The previous permalink keeps serving until retention drops it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Slug you own. | |
| token | No | Bearer token returned by your first publish (deed_tok_...). Optional if the MCP client sends Authorization: Bearer. | |
| version | Yes | Version to copy forward, such as "v2". | |
| expected_version | No | Live version this restore is based on, such as "v4". A mismatch returns version_conflict. |