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.
Input
application/jsonseenAt
stringdatetime
Required
The newest notification seen, by its createdAt.
Output
application/jsonseenAt
stringdatetime
Required
When it last saw them now, as kept.
Errors
AuthenticationRequired
No account asks. Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"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"
}