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.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | notification.beta.colibri.social |
| Indexed |
Procedure
procedure · POSTInput
application/jsonThe readToken from the push payload.
maxLength: 4096
Output
application/jsonErrors
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 matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
app.didpic.chat.markRead
procedureMark a conversation as read by the caller up to its most recent message.
-
Marks the notifications raised by one message seen.
-
app.didpic.notification.updateSeen
procedureMark notifications as seen up to seenAt.
-
Marks every notification raised at or before a point in time seen.
-
site.mochott.notification.updateSeen
procedureMark notifications of the requesting account as read. Requires auth.