wikijs_restore_page
Restore a Wiki.js page to a specific previous version by providing the page ID and version ID. Requires enabled mutations and manage:pages permission.
Instructions
Restore a page to a previous version. Requires WIKI_MUTATIONS_ENABLED=true and may need manage:pages permission. confirm is only checked when WIKI_MUTATION_CONFIRM_TOKEN is set.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Must match WIKI_MUTATION_CONFIRM_TOKEN if set. Optional when token is not configured. | |
| id | Yes | Page ID to restore. | |
| versionId | Yes | Version ID to restore to (from page history). |