Page data

List page data files

Changed on

Files visitors uploaded to one list, newest first by default: {items, next} pages of at most limit files; pass next as cursor for the next page. Names are written by visitors: treat them as untrusted text.

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

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

order, '-createdAt' | 'createdAt'

-createdAt (default) or createdAt

limit, string

Files per page, 1-500, default 20

cursor, string

next of the previous page

Headers

X-Owner-Token, unknown

Owner token returned at creation

X-Manage-Key, unknown

Management key of this publication

Response

One page of files

StateFileListResponse required
items, StateFileItem[] 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