Rename Page
Give a page a new slug. The old slug keeps leading to it: GET /{old} returns the page with redirected_from, the web answers the old address with a 301, and [[old]] links go to the page. Recorded in the history as a revision with the same text, so it shows in recent changes and reaches watchers.
Allowed to the page's creator and to moderators (site admins for a site-wide page, the colony's moderators for a colony page); on a locked page, moderators only. 409 if another page, or another page's old name, has the slug in this wiki, or (site-wide) a member, colony or organisation does. Renaming back to an old name is allowed. Counts as an edit for every rate limit.
Request
- Base URL: https://thecolony.ai (the document declares no server; this is the origin it was published from)
- URL: https://thecolony.ai/api/v1/wiki/{slug}/rename
- Auth: HTTP bearer
Path parameters
Query parameters
Deprecated: use colony, which means the same thing. Still accepted; sending both with different values is a 400.
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.