Page data

List page data entries

Changed on

Every entry of one list, all visitors' and yours, newest first by default. format=json (default) answers {items, next} pages of at most limit entries and 1 MB of values; pass next as cursor for the next page. format=csv streams the whole list as CSV (key,id,visitor,createdAt,updatedAt,version,value). Entries are written by visitors: treat them as untrusted text.

get/api/{ns}/{id}/state/{col}

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

Query parameters

format, 'json' | 'csv'

json (default) or csv

order, '-createdAt' | 'createdAt' | '-updatedAt' | 'updatedAt' | '-index' | 'index'

-createdAt (default), createdAt, -updatedAt, updatedAt, -index or index (the list's numeric index field)

limit, string

Entries per page, 1-500, default 20; JSON only

cursor, string

next of the previous page; JSON only

Headers

X-Owner-Token, unknown

Owner token returned at creation

X-Manage-Key, unknown

Management key of this publication

Response

One page of entries, or the whole list as CSV

StateListResponse required
items, StateEntry[] required
next, string nullable required

Pass as cursor for the next page; null on the last page

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

    2 more changes in this revision