dev.knotless.updateSeen
Keeps, on the appview, when the asking account last saw its notifications: those from then on are unread. A time before the one kept leaves it. Requires authentication: a service token, or the session cookie the pages' login sets, from the pages themselves.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | knotless.dev |
| Indexed |
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Keeps, on the appview, when the asking account last saw its notifications: those from then on are unread. A time before the one kept leaves it. Requires authentication: a service token, or the session cookie the pages' login sets, from the pages themselves.",
"errors": [
{
"description": "No account asks.",
"name": "AuthenticationRequired"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"seenAt": {
"description": "The newest notification seen, by its createdAt.",
"format": "datetime",
"type": "string"
}
},
"required": [
"seenAt"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"seenAt": {
"description": "When it last saw them now, as kept.",
"format": "datetime",
"type": "string"
}
},
"required": [
"seenAt"
],
"type": "object"
}
},
"type": "procedure"
}
},
"description": "Says the asking account has seen its notifications up to a time.",
"id": "dev.knotless.updateSeen",
"lexicon": 1
}