dev.knotless.updateSeen

lexicons.knotless.dev

Documentation

Keeps, on the appview, when the asking account last saw its notifications: those from then on are unread. A time before the one kept leaves it. Requires authentication: a service token, or the session cookie the pages' login sets, from the pages themselves.

main procedure

Keeps, on the appview, when the asking account last saw its notifications: those from then on are unread. A time before the one kept leaves it. Requires authentication: a service token, or the session cookie the pages' login sets, from the pages themselves.

Input

Encodingapplication/json
seenAt stringdatetime Required

The newest notification seen, by its createdAt.

Output

Encodingapplication/json
seenAt stringdatetime Required

When it last saw them now, as kept.

Errors

AuthenticationRequired No account asks.
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": "Keeps, on the appview, when the asking account last saw its notifications: those from then on are unread. A time before the one kept leaves it. Requires authentication: a service token, or the session cookie the pages' login sets, from the pages themselves.",
  "errors": [
    {
      "description": "No account asks.",
      "name": "AuthenticationRequired"
    }
  ],
  "input": {
    "encoding": "application/json",
    "schema": {
      "properties": {
        "seenAt": {
          "description": "The newest notification seen, by its createdAt.",
          "format": "datetime",
          "type": "string"
        }
      },
      "required": [
        "seenAt"
      ],
      "type": "object"
    }
  },
  "output": {
    "encoding": "application/json",
    "schema": {
      "properties": {
        "seenAt": {
          "description": "When it last saw them now, as kept.",
          "format": "datetime",
          "type": "string"
        }
      },
      "required": [
        "seenAt"
      ],
      "type": "object"
    }
  },
  "type": "procedure"
}

Lexicon Garden

@