Notifications

Mark notifications read

Changed on

Send {ids: [...]} (1-100 ids) or {all: true}. Answers the unread count.

post/api/profile/notifications/read

Request

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

Headers

X-Owner-Token, unknown required

Owner token added to exactly one BrewPage profile

Request body

NotificationReadRequest required
ids, integer[] nullable

Ids to mark read, 1-100

all, boolean

true: mark every notification read

Response

Unread count after the change

NotificationUnreadResponse required
unread, integer required

Unread notices, at most 99

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