Page data

Read page data totals

Changed on

Number of entries in one list, every visitor's and yours. With countBy (a field with declared choices) also the entries per choice, in declared order, then other.

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

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

countBy, string

Field with declared choices to count by

Headers

X-Owner-Token, unknown

Owner token returned at creation

X-Manage-Key, unknown

Management key of this publication

Response

Totals

StateTotalsResponse required
count, integer required

Entries in the list

scope, 'all' required

Always all: every visitor's entries and yours

countBy, StateCountBy

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

    1 more change in this revision