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 |
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "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.",
"errors": [
{
"description": "The token is malformed, its signature does not verify, or the channel it names no longer exists.",
"name": "InvalidToken"
},
{
"description": "The token is older than seven days.",
"name": "ExpiredToken"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"token": {
"description": "The readToken from the push payload.",
"maxLength": 4096,
"type": "string"
}
},
"required": [
"token"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {},
"type": "object"
}
},
"type": "procedure"
}
},
"id": "social.colibri.beta.notification.markReadFromNotification",
"lexicon": 1
}