node_relocate
Relocate a Voog node to a specific position: before or after a sibling node, or to the first position under a new parent.
Instructions
Relocate a node to a precise position relative to a sibling, or to the first slot under a new parent (PUT /nodes/{id}/relocate). Body is FLAT. Supply EXACTLY ONE of: before (place this node before the given sibling id), after (place after sibling id), or parent_node_id (move to first position under new parent). Mutually exclusive — handler rejects multiple.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | ||
| node_id | Yes | Voog node id to relocate | |
| before | No | Sibling node id; place this node before it | |
| after | No | Sibling node id; place this node after it | |
| parent_node_id | No | New parent node id (moves to first position) |