Clone Wiki Page
page_cloneCopy a Yandex Wiki page to a new slug, returning the copy's id and slug. Copies title and content; child pages, comments, attachments stay. Use for relocation: clone then delete original.
Instructions
Copy a Yandex Wiki page to a new slug and return the copy's id and slug once the operation completes. Copies title and content only: child pages, comments, attachments, and edit history stay with the original, and the copy gets a new page id. Fails when the target slug is already occupied. The Wiki API has no true move/rename; to relocate a page, clone it and delete the original — re-uploading attachments and re-creating grids on the copy if they must follow.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | No | Wiki page slug or full Wiki URL. Provide either page_id or slug. | |
| title | No | Optional title for the copied page. | |
| target | Yes | Slug for the copy, like 'users/login/project/copy-name'. A full Wiki page URL is also accepted. Must not be occupied by an existing page. | |
| page_id | No | Wiki page numeric ID. Provide either page_id or slug. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| slug | Yes |