ink.branchline.listAuthorBookmarks

List bookmarks authored by an actor, newest first. Bookmarks are public records; any viewer may list them.

Repository @branchline.ink did:plc:brvu7akhdvsqcomb67pafw25 namespace authority
Details · query
Kindquery
Authoritybranchline.ink
Indexed
cid bafyreieemqqih7aofkao7mfx5hklm7ueluhzcrkyjyhb2ogawtwmczamdq

Checks

Valid
  • unlimited-string defs.main.parameters.properties.cursorNo maxLength, maxGraphemes or format limits this string.
  • unlimited-string defs.main.output.schema.properties.cursorNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "bookmarkView": {
      "properties": {
        "createdAt": {
          "format": "datetime",
          "type": "string"
        },
        "subjectPathUris": {
          "description": "Ordered AT-URIs from the root bud to (and including) the subject bud.",
          "items": {
            "format": "at-uri",
            "type": "string"
          },
          "type": "array"
        },
        "subjectRootUri": {
          "description": "AT-URI of the root bud in the story tree the subject belongs to.",
          "format": "at-uri",
          "type": "string"
        },
        "subjectUri": {
          "description": "AT-URI of the bud this bookmark points at.",
          "format": "at-uri",
          "type": "string"
        },
        "uri": {
          "description": "The bookmark record AT-URI.",
          "format": "at-uri",
          "type": "string"
        }
      },
      "required": [
        "uri",
        "subjectUri",
        "subjectRootUri",
        "subjectPathUris",
        "createdAt"
      ],
      "type": "object"
    },
    "main": {
      "description": "List bookmarks authored by an actor, newest first. Bookmarks are public records; any viewer may list them.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "bookmarks": {
              "items": {
                "ref": "#bookmarkView",
                "type": "ref"
              },
              "type": "array"
            },
            "cursor": {
              "description": "Opaque pagination token for the next page. Absent when there are no more results.",
              "type": "string"
            }
          },
          "required": [
            "bookmarks"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "actor": {
            "description": "DID of the author whose bookmarks to list.",
            "format": "did",
            "type": "string"
          },
          "cursor": {
            "description": "Opaque pagination token returned by a prior call.",
            "type": "string"
          },
          "limit": {
            "default": 50,
            "maximum": 100,
            "minimum": 1,
            "type": "integer"
          }
        },
        "required": [
          "actor"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "ink.branchline.listAuthorBookmarks",
  "lexicon": 1
}