app.didpic.notification.updateSeen

Mark notifications as seen up to seenAt.

Details · procedure
Kindprocedure
Authoritynotification.didpic.app
Indexed

Procedure

procedure · POST

Input

application/json

seenAt

requiredstring · datetime

token

string

Caller's push token. When supplied and bound to the viewer, the response carries the post-update device badge.

Output

application/json

badge

integer

Device-wide unread sum across every DID bound to the supplied token.

  • minimum: 0

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • Mark a conversation as read by the caller up to its most recent message.

  • ink.resenha.notification.updateSeen

    procedure not from the namespace authority

    Marks the caller's notifications seen up to a time.

  • Mark the requesting viewer's notifications as seen up to seenAt. Server clamps the stored value to max(stored, received) so the marker is monotonic. The viewer DID is read from the service-auth JWT (`iss` claim) — no `?viewer=` query parameter.

  • Notify server that the requesting account has seen notifications. Requires auth.

  • town.delve.notification.updateSeen

    procedure not from the namespace authority

    Notify server that the requesting account has seen notifications. Requires auth.