app.zeens.notification.getUnreadCount

Get the count of unread notifications for a Zeens user (count newer than the user's seenAt cursor).

Repository @zeens.app did:plc:pwpuqwge6g7xrjmfbw73uycw namespace authority
Details · query
Kindquery
Authoritynotification.zeens.app
Indexed
cid bafyreihzrsyftc4finduzkw5v24mjkzu2nmwvxlnfs2hugjj5xvtdxlwtm

Checks

Valid
  • unlimited-string defs.main.parameters.properties.actorsNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Get the count of unread notifications for a Zeens user (count newer than the user's seenAt cursor).",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "count": {
              "minimum": 0,
              "type": "integer"
            }
          },
          "required": [
            "count"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "actors": {
            "description": "Required comma-separated allowlist of author DIDs (the Zeens membership set). Only notifications authored by one of these DIDs are counted, so activity from Bluesky or another atproto client never drives the badge. An empty list counts zero.",
            "type": "string"
          },
          "recipient": {
            "format": "did",
            "type": "string"
          }
        },
        "required": [
          "recipient",
          "actors"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "app.zeens.notification.getUnreadCount",
  "lexicon": 1
}