yuque_web_move_catalog_node
Move a single Yuque catalog node to a target node or repository, including cross-repo moves and whole subtrees, to reorganize your table of contents.
Instructions
Cookie-based: Move a single catalog node to a target catalog node / target repo. PUT /api/catalog_nodes/move. Supports cross-repo move (target_book_id may differ from book_id) and moving the whole subtree (with_children). No membership required. 详见 references/api/web_doc_api.md
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | Move action. Default 'prependChild'. Common values: prependChild (as first child), appendChild (as last child). | |
| book_id | Yes | Source repository ID (numeric, required). The repo the node currently lives in. | |
| node_uuid | Yes | Catalog node UUID to move (required). | |
| target_uuid | No | Target catalog node UUID to move into. Leave empty / null to move to the root of the target repo. | |
| with_children | No | Move the whole subtree (all descendant nodes) together. Default true. | |
| target_book_id | No | Target repository ID (numeric). For cross-repo move set this to the destination repo. Defaults to book_id (same-repo move). | |
| insert_to_catalog | No | Whether to insert into the catalog/TOC. Default true. |