social.colibri.beta.notification.updateSeenForMessage
Marks the notifications raised by one message seen.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | notification.beta.colibri.social |
| Indexed |
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Marks the notifications raised by one message seen.",
"errors": [
{
"description": "The request has no valid service auth.",
"name": "AuthRequired"
},
{
"description": "No channel matches the given space reference.",
"name": "ChannelNotFound"
},
{
"description": "No message matches the given record reference in that channel.",
"name": "MessageNotFound"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"channel": {
"description": "The channel the message was posted in.",
"format": "space-ref",
"type": "string"
},
"message": {
"description": "The message whose notifications are marked seen.",
"ref": "social.colibri.beta.defs#recordRef",
"type": "ref"
}
},
"required": [
"channel",
"message"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"unread": {
"description": "Number of unread notifications remaining.",
"type": "integer"
}
},
"required": [
"unread"
],
"type": "object"
}
},
"type": "procedure"
}
},
"id": "social.colibri.beta.notification.updateSeenForMessage",
"lexicon": 1
}