kythene.v1.KytheneService

CreatePage

CreatePage adds a page to a wiki's tree, as a draft.

post/kythene.v1.KytheneService/CreatePage

Request

  • Base URL: https://kythene.com (the document declares no server; this is the origin it was published from)
  • URL: https://kythene.com/kythene.v1.KytheneService/CreatePage
  • Auth: none required

Headers

Connect-Protocol-Version1 required

Define the version of the Connect protocol

Connect-Timeout-Msnumber

Define the timeout, in ms

Request body

wikistring

wiki is the wiki to add to - its id or slug.

parentstring

parent is the page to create under - an id or a path. Omit it for a page directly under the wiki's root.

titlestring

title is the page's heading, and the name it is listed under.

slugstring

slug is the page's own path segment; derived from the title when omitted. It must be unique among its SIBLINGS, not across the wiki - two branches can each hold a "setup".

bodystring

body is the page's markdown. Omitted, it starts as the title as a heading.

spacestring

space optionally selects which of your spaces to act in (an id or name from list_spaces). Omit it when you belong to a single space.

Response

Success

urlstring
baseRevisioninteger

base_revision is what to pass to update_page for the first edit.

Changes

No recorded changes to this operation across all 1 revision of this API.