Page data

Write an author entry

Changed on

Creates or replaces your own entry key in a list (for example a menu in a list with write author); visitors' entries stay untouched. The body is the entry's value, any one JSON value (object, array, string, number, true, false or null) stored as sent, at most the page's entry size (16 KB by default). If-Match: <version> replaces only that version. A page that has not turned page data on answers 404 STATE_UNAVAILABLE: turn it on first (PATCH .../state with {}, or publish with state).

put/api/{ns}/{id}/state/{col}/{key}

Request

  • Base URL
    https://brewpage.app
  • Auth
    • API key in header X-Owner-Token
    • or API key in header X-Manage-Key

Path parameters

ns, string required
id, string required
col, string required

List name

key, string required

Entry name: 1-128 letters, digits, '.', - or _, not starting with _

Headers

If-Match, string

Version last read: 3 or "3"

X-Owner-Token, unknown

Owner token returned at creation

X-Manage-Key, unknown

Management key of this publication

Request body

unknown required

Response

Saved

StateWriteResponse required
key, string required
id, string required
version, integer required
createdAt, string date-time required
updatedAt, string date-time required

Changes

    • info

      added the optional property level to the response with the status

    • info

      added the optional property level to the response with the status

    • info

      added the optional property level to the response with the status

    4 more changes in this revision