Publications

List my publications

Changed on

Rows of the owner token; a profile token lists the whole profile. Newest first.

get/api/publications

Request

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

Query parameters

type, 'html' | 'site' | 'file' | 'json' | 'kv'

html, site, file, json or kv

status, 'public' | 'hidden' | 'private' | 'password' | 'unavailable'

public, hidden, private, password or unavailable

q, string

Search: title contains it, or a tag starts with it

tag, string

Only rows with this tag (exact, any case)

expiring, boolean

Only rows expiring within 7 days

cursor, string

nextCursor of the previous page

limit, integer

Page size, 1-24 (default 24)

Headers

X-Owner-Token, unknown required

Owner token

Response

One page

PublicationListResponse required
items, PublicationListItemResponse[] required
nextCursor, string

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

total, integer required
customDomains, CustomDomainsBlock

Custom domains for this caller; present only when custom domains are available

secretCounts, SecretCountsResponse

How many one-time secrets you have

Changes

    • warning

      added the new relay enum value to the items/items/pageDataHint response property for the response status

    • info

      added the required property items/items/comments to the response with the status