app.didpic.notification.updateSeen

lexicons.didpic.app

Documentation

Mark notifications as seen up to seenAt.

main procedure

Mark notifications as seen up to seenAt.

Input

Encodingapplication/json
seenAt stringdatetime Required

An RFC 3339 formatted timestamp.

token string Optional

Caller's push token. When supplied and bound to the viewer, the response carries the post-update device badge.

Output

Encodingapplication/json
badge integer Optional

Device-wide unread sum across every DID bound to the supplied token.

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
{
  "type": "procedure",
  "input": {
    "schema": {
      "type": "object",
      "required": [
        "seenAt"
      ],
      "properties": {
        "token": {
          "type": "string",
          "description": "Caller's push token. When supplied and bound to the viewer, the response carries the post-update device badge."
        },
        "seenAt": {
          "type": "string",
          "format": "datetime"
        }
      }
    },
    "encoding": "application/json"
  },
  "output": {
    "schema": {
      "type": "object",
      "properties": {
        "badge": {
          "type": "integer",
          "minimum": 0,
          "description": "Device-wide unread sum across every DID bound to the supplied token."
        }
      }
    },
    "encoding": "application/json"
  },
  "description": "Mark notifications as seen up to seenAt."
}

Lexicon Garden

@