wiki.lichen.listNotes

lichen.wiki

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "List a public wiki's notes, each with its head revision. Compare latestRevisionUri with what you hold, then call getNote for the notes that changed.",
      "errors": [
        {
          "name": "NotFound"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "cursor": {
              "description": "Absent on the last page.",
              "type": "string"
            },
            "notes": {
              "items": {
                "ref": "#noteView",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "notes"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "cursor": {
            "type": "string"
          },
          "limit": {
            "default": 50,
            "maximum": 100,
            "minimum": 1,
            "type": "integer"
          },
          "wiki": {
            "description": "AT-URI of the wiki record.",
            "format": "at-uri",
            "type": "string"
          }
        },
        "required": [
          "wiki"
        ],
        "type": "params"
      },
      "type": "query"
    },
    "noteView": {
      "properties": {
        "latestRevisionUri": {
          "description": "The head revision, the same value getNote returns. Compare it with what you hold to spot a change. Set it as parentRevision to write.",
          "format": "at-uri",
          "type": "string"
        },
        "slug": {
          "type": "string"
        },
        "title": {
          "type": "string"
        },
        "updatedAt": {
          "description": "When the head last moved. The appview computes this.",
          "format": "datetime",
          "type": "string"
        },
        "uri": {
          "description": "AT-URI of the note record. The rkey is a TID, so read it from here or address the note by wiki and slug.",
          "format": "at-uri",
          "type": "string"
        }
      },
      "required": [
        "uri",
        "slug",
        "title",
        "latestRevisionUri",
        "updatedAt"
      ],
      "type": "object"
    }
  },
  "id": "wiki.lichen.listNotes",
  "lexicon": 1
}

Validate Record

Validate a record against wiki.lichen.listNotes

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:xfs42pjf3n7imvgrdrp7xvez
CID
bafyreid6ng2itcskvphqjxx57kld6ckiepxg6qe6er4yu3jn5tkbjbzx6e
Indexed At
2026-09-08 05:54 UTC
AT-URI
at://did:plc:xfs42pjf3n7imvgrdrp7xvez/com.atproto.lexicon.schema/wiki.lichen.listNotes

Version History (3 versions)

Similar Lexicons

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • Get a note's current content and the head revision to write against. Public wikis only.

  • List note records from a repo, with optional pagination.

  • Get a wiki. Pass viewer to also get what that DID can do with it. Public wikis only. Takes a DID, so resolve a handle to one first with com.atproto.identity.resolveHandle.

  • List the public wikis a DID owns or belongs to. Returns them all in one response.

  • A contributor's full copy of a note as they last saved it. Revisions define the note. The rkey is the note's rkey.

Lexicon Garden

@