social.colibri.beta.notification.updateSeen

Marks every notification raised at or before a point in time seen.

Repository @colibri.social did:plc:mprdjqjluoswa7awzggaggj3 namespace authority
Details · procedure
Kindprocedure
Authoritynotification.beta.colibri.social
Indexed
cid bafyreibtmd23l3htb3djsskb2s4cr7e3bandybfr5ub2cbx7idgn5ty5xy

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Marks every notification raised at or before a point in time seen.",
      "errors": [
        {
          "description": "The request has no valid service auth.",
          "name": "AuthRequired"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "seenAt": {
              "description": "Notifications raised at or before this time are marked seen.",
              "format": "datetime",
              "type": "string"
            }
          },
          "required": [
            "seenAt"
          ],
          "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.updateSeen",
  "lexicon": 1
}