KV

Returns all key names and total count for a store

get/api/kv/{ns}/{id}

Request

  • Base URL: https://brewpage.app
  • URL: https://brewpage.app/api/kv/{ns}/{id}
  • Auth: one of:
    • none
    • API key in header X-Owner-Token
    • API key in header X-Password

Path parameters

nsstring required
idstring required

Query parameters

pstring

Legacy-only query password; ignored for NEW publications. Programmatic access uses X-Password or the owner token.

Headers

X-Passwordstring

Access password via header

User-Agentstring
X-Owner-Tokenstring

Owner token to bypass password protection when no password supplied

Response

Key list

keysstring[] required

All key names in the store

countinteger required

Total number of keys

expiresAtstring date-time required

When the store expires

viewsinteger required

Aggregated views across all keys in this store

Changes

    • breaking

      removed the media type */* for the response with the status

    • breaking

      removed the media type */* for the response with the status

    • breaking

      removed the media type */* for the response with the status

    • info

      the endpoint scheme security OwnerToken was added to the API

    • info

      the endpoint scheme security Password was added to the API

    • info

      added the media type application/json for the response with the status

    • info

      added the media type application/json for the response with the status

    • info

      added the media type application/json for the response with the status