ink.resenha.notification.listNotifications

Requires the caller's service token. Only the caller's own.

Repository @resenha.ink did:plc:v7itjf4h3sb5zuegiiskctqb not from the namespace authority
Details · query
Kindquery
Authoritynotification.resenha.ink
Indexed
cid bafyreiavpydnwts6qxqt4otjdn6al47xarfozuimu6fsah2wv4avduvw2q

Checks

Valid
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Requires the caller's service token. Only the caller's own.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "cursor": {
              "description": "Where the previous page ended.",
              "type": "string"
            },
            "notifications": {
              "items": {
                "ref": "#notification",
                "type": "ref"
              },
              "type": "array"
            },
            "preferences": {
              "ref": "#preferences",
              "type": "ref"
            },
            "seenAt": {
              "format": "datetime",
              "type": "string"
            }
          },
          "required": [
            "notifications"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "cursor": {
            "description": "Where the previous page ended.",
            "type": "string"
          },
          "limit": {
            "default": 50,
            "maximum": 100,
            "minimum": 1,
            "type": "integer"
          }
        },
        "type": "params"
      },
      "type": "query"
    },
    "notification": {
      "properties": {
        "author": {
          "format": "did",
          "type": "string"
        },
        "book": {
          "description": "For readingLike, readingComment and a Resenha reply: the caller's book.",
          "properties": {
            "hiveId": {
              "type": "string"
            },
            "title": {
              "type": "string"
            }
          },
          "type": "object"
        },
        "indexedAt": {
          "format": "datetime",
          "type": "string"
        },
        "kind": {
          "description": "like and quote group under their review; readingLike groups under the book record it's on, and readingComment is a comment on the caller reading a book; reply is to a comment of the caller's, on Bluesky (with thread), Popfeed, BookHive or Resenha (with thread, the book record).",
          "knownValues": [
            "follow",
            "friendRequest",
            "like",
            "quote",
            "reviewComment",
            "reply",
            "comicComment",
            "readingLike",
            "readingComment"
          ],
          "type": "string"
        },
        "review": {
          "description": "The caller's review it groups under, when there is one: its post, Popfeed review or book record.",
          "format": "at-uri",
          "type": "string"
        },
        "source": {
          "knownValues": [
            "bluesky",
            "popfeed",
            "bookhive",
            "resenha",
            "sequential"
          ],
          "type": "string"
        },
        "subject": {
          "description": "What it's about: the caller's post, review or comment.",
          "format": "at-uri",
          "type": "string"
        },
        "text": {
          "maxGraphemes": 300,
          "maxLength": 3000,
          "type": "string"
        },
        "thread": {
          "description": "For a reply to the caller's comment: the post the thread hangs from, some reader's review.",
          "format": "at-uri",
          "type": "string"
        },
        "uri": {
          "description": "The record that caused it.",
          "format": "at-uri",
          "type": "string"
        }
      },
      "required": [
        "uri",
        "kind",
        "source",
        "author",
        "indexedAt"
      ],
      "type": "object"
    },
    "preferences": {
      "properties": {
        "likes": {
          "description": "Whose likes and quotes are pushed to the caller's devices. They're always listed.",
          "knownValues": [
            "everyone",
            "following",
            "off"
          ],
          "type": "string"
        }
      },
      "required": [
        "likes"
      ],
      "type": "object"
    }
  },
  "description": "The caller's notifications from Bluesky, BookHive, Popfeed, comics and Resenha, newest first.",
  "id": "ink.resenha.notification.listNotifications",
  "lexicon": 1
}