Skip to main content
POST
UpsertKnowledgePage

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
id
string

Id of the page: a UUID, or the page's entity_id.

Pattern: ^(knowledgepage-)?[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$
name
string | null

Name of the page. Required to create a page, or to bring back a deleted one. When not set on a change, the page keeps its name.

Required string length: 1 - 200
etag
string | null

When set, the change is refused with ABORTED if the page changed since this etag was read, and with NOT_FOUND if the page does not exist. Leave it empty to create a page.

Maximum string length: 200
actor
Actor · object

Who is making the change. Optional: the identity is completed from the calling credentials. Set it to attribute the change to a person.

Response

200 - application/json

Success

page
KnowledgePage · object

The page as stored, with its new etag. When the request changed nothing, the page and its etag are as they were.