Page addresses and redirects
Change a page address with awareness of saved links and redirects.
Reference#
GET cantata-edit/v1/address?text=…&parent=…&post_id=… (editors only) answers what WordPress will store for typed text: slug (readable), stored (percent-encoded as saved), available and suggested (a free variant under the same parent). The new-page and change-address dialogs preview from it, so accents, ligatures, sharp s and underscores follow WordPress (Straße → strase, hello_world stays). Creating a page checks the address it will have once published; a taken address answers 409 cantata_edit_slug_exists with suggested_slug, an address with no usable characters 400 cantata_edit_slug_empty.