ink.branchline.markNotificationsRead

branchline.ink

Documentation

Mark one or more notification groups as read for the authenticated viewer. Each entry stamps the viewer's readAt for that groupKey, hiding the group from ink.branchline.listNotifications until fresh activity pushes latestAt past the stamp. Responds 401 without a session.

main procedure

Mark one or more notification groups as read for the authenticated viewer. Each entry stamps the viewer's readAt for that groupKey, hiding the group from ink.branchline.listNotifications until fresh activity pushes latestAt past the stamp. Responds 401 without a session.

Input

Encodingapplication/json
entries array Required

No description available.

maxLength: 100 itemsminLength: 1 items

Output

Encodingapplication/json
updated integer Required

No description available.

Errors

Unauthorized The caller is not signed in.
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": [
        "entries"
      ],
      "properties": {
        "entries": {
          "type": "array",
          "items": {
            "ref": "#entry",
            "type": "ref"
          },
          "maxLength": 100,
          "minLength": 1
        }
      }
    },
    "encoding": "application/json"
  },
  "errors": [
    {
      "name": "Unauthorized",
      "description": "The caller is not signed in."
    }
  ],
  "output": {
    "schema": {
      "type": "object",
      "required": [
        "updated"
      ],
      "properties": {
        "updated": {
          "type": "integer",
          "minimum": 0
        }
      }
    },
    "encoding": "application/json"
  },
  "description": "Mark one or more notification groups as read for the authenticated viewer. Each entry stamps the viewer's readAt for that groupKey, hiding the group from ink.branchline.listNotifications until fresh activity pushes latestAt past the stamp. Responds 401 without a session."
}
entry object

No description available.

Properties

groupKey string Required

Opaque identifier returned by ink.branchline.listNotifications.

readAt string datetime Required

latestAt of the group at the moment it was dismissed. Typically the same value returned in the notification view.

View raw schema
{
  "type": "object",
  "required": [
    "groupKey",
    "readAt"
  ],
  "properties": {
    "readAt": {
      "type": "string",
      "format": "datetime",
      "description": "latestAt of the group at the moment it was dismissed. Typically the same value returned in the notification view."
    },
    "groupKey": {
      "type": "string",
      "description": "Opaque identifier returned by ink.branchline.listNotifications."
    }
  }
}

Lexicon Garden

@