Projects

Rename a wiki page and/or write a new revision

Send title, content, or both — a patch asking for neither would be a 200 that wrote nothing. Rewriting the text exactly as it already stands is refused for the same reason: it would look like a revision that was never recorded. message is the note left on the revision, like a commit message.

patch/projects/{projectId}/wiki/{pageId}

Request

  • Base URL: https://api.atako.ai
  • URL: https://api.atako.ai/projects/{projectId}/wiki/{pageId}
  • Auth: HTTP bearer

Path parameters

projectIdstring uuid required

Project id

pageIdstring uuid required

Wiki page id

Request body

titlestring
contentstring
messagestring
autosaveboolean

Editor autosave: extends the newest revision when it belongs to the same author and the same sessionId, carries no message and is less than 10 minutes old.

sessionIdstring

The editor writing (one per browser tab). Two sessions never share a revision.

baseShastring

The sha of the head revision the caller edited on. If the page changed since, nothing is written and the answer is 409 WIKI_CONFLICT.

Response

Changes

No recorded changes to this operation across all 2 revisions of this API.