app.bivri.notif.getNotifications

Get the authenticated member's notifications, paginated by cursor.

Details · query
Kindquery
Authoritynotif.bivri.app
Commit rev3mzzcr4srgz2x
Indexed

Showing version bafyreiatnuryvmgrxqj7ycvxylo66ik6xptpdmtthefz4gbxmx4c6rojxu. Show the latest

cid bafyreiatnuryvmgrxqj7ycvxylo66ik6xptpdmtthefz4gbxmx4c6rojxu

Checks

Valid
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "cursor": {
              "type": "string"
            },
            "notifications": {
              "items": {
                "ref": "#notificationView",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "notifications"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "cursor": {
            "type": "string"
          },
          "limit": {
            "default": 50,
            "maximum": 100,
            "minimum": 1,
            "type": "integer"
          }
        },
        "type": "params"
      },
      "type": "query"
    },
    "notificationView": {
      "properties": {
        "commentText": {
          "description": "For a comment notification, the comment's text while the artwork's comment list still shows that comment. Absent once the comment is deleted or its author is no longer served, and on every other reason.",
          "type": "string"
        },
        "commissionId": {
          "description": "The Bivri-local commission identifier for commission notifications. A commission is not an AT Protocol repository record.",
          "maxLength": 36,
          "minLength": 36,
          "type": "string"
        },
        "createdAt": {
          "format": "datetime",
          "type": "string"
        },
        "id": {
          "type": "integer"
        },
        "indexedAt": {
          "format": "datetime",
          "type": "string"
        },
        "isRead": {
          "type": "boolean"
        },
        "reason": {
          "knownValues": [
            "like",
            "comment",
            "follow",
            "commission_request",
            "commission_message",
            "commission_status",
            "quest_bid",
            "quest_bid_accepted",
            "quest_bid_not_selected",
            "commission_review",
            "collection_request",
            "collection_response"
          ],
          "type": "string"
        },
        "sender": {
          "ref": "app.bivri.actor.defs#profileView",
          "type": "ref"
        },
        "subjectUri": {
          "description": "The related AT Protocol record URI, when present. Bivri-local commissions use commissionId instead.",
          "format": "at-uri",
          "type": "string"
        }
      },
      "required": [
        "id",
        "reason",
        "isRead",
        "sender",
        "createdAt",
        "indexedAt"
      ],
      "type": "object"
    }
  },
  "description": "Get the authenticated member's notifications, paginated by cursor.",
  "id": "app.bivri.notif.getNotifications",
  "lexicon": 1
}