social.colibri.beta.notification.updateSeen

colibri.social

Documentation

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

main procedure

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

Input

Encodingapplication/json
seenAt stringdatetime Required

Notifications raised at or before this time are marked seen.

Output

Encodingapplication/json
unread integer Required

Number of unread notifications remaining.

Errors

AuthRequired The request has no valid service auth.
Try It

Requests are sent directly from your browser. Some servers may block requests due to CORS.

Base URL for XRPC calls (e.g., https://bsky.social)
Enter valid JSON for the request body
View raw schema
{
  "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"
}

Lexicon Garden

@