KV

Returns the value and last update timestamp for a specific key

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

Request

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

Path parameters

ns, string required
id, string required
key, string required

Query parameters

p, string

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

Headers

X-Password, string

Access password via header

User-Agent, string
X-Owner-Token, string

Owner token to bypass password protection when no password supplied

Response

Key value

KvGetResponse required
value, string required
updatedAt, string date-time required

When the value was last written or updated

expiresAt, string date-time required

When the value expires

views, integer required

Total number of reads for this key (post-increment)

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