kythene.v1.KytheneService

GetPage

GetPage returns one page: its body, its state, the revision to write against, and what links to it.

post/kythene.v1.KytheneService/GetPage

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/GetPage
  • 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 the page is in - its id or slug. Required when addressing a page by path; optional when page is an id.

pagestring

page is the page's id or its full path within the wiki.

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

bodystring

body is the markdown you are reading: the published version for a reader, the newest version for someone who can edit.

baseRevisioninteger

base_revision is the revision this body came from. Pass it back as base_revision on update_page - a write against a superseded revision is refused rather than silently overwriting whoever got there first.

publishedRevisioninteger

published_revision is the revision readers currently see; 0 when nothing has been published.

viewingDraftboolean

viewing_draft is true when this body is NOT what readers see.

publishedAtstring

published_at is when the live version went out (YYYY-MM-DD), empty if never.

urlstring

url is the page's canonical link.

watchersinteger

watchers is how many people are watching this page. Check it before publishing a significant change - it should be a deliberate act.

Changes

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