{
"id": "app.didpic.notification.updateSeen",
"defs": {
"main": {
"type": "procedure",
"input": {
"schema": {
"type": "object",
"required": [
"seenAt"
],
"properties": {
"seenAt": {
"type": "string",
"format": "datetime",
"description": "Timestamp indicating everything indexed at or before this moment has been seen. Clients should echo back the serverTime returned by listNotifications rather than using a locally-computed `now`."
}
}
},
"encoding": "application/json"
},
"description": "Push the authenticated viewer's notification seenAt boundary forward. Server-enforced monotonic: a stale or out-of-order client call with an older seenAt is a no-op, not a regression."
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}