social.colibri.beta.notification.markReadFromNotification

Marks a channel or thread read through the message a push notification announced, from the notification's Mark as read action. Takes no auth: the signed token from the push payload's readToken names the user, the channel and the message, and expires after seven days. Moves the user's read cursor forward, marks that channel's notifications through the message seen, and tells the user's sessions and push devices.

Repository @colibri.social did:plc:mprdjqjluoswa7awzggaggj3 namespace authority
Details · procedure
Kindprocedure
Authoritynotification.beta.colibri.social
Indexed

Procedure

procedure · POST

Input

application/json

token

requiredstring

The readToken from the push payload.

  • maxLength: 4096

Output

application/json

Errors

InvalidToken

The token is malformed, its signature does not verify, or the channel it names no longer exists.

ExpiredToken

The token is older than seven days.

Similar lexicons

semantic match

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