wiki.lichen.listNotes
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.
Details · query
| Kind | query |
|---|---|
| Authority | lichen.wiki |
| Indexed |
Checks
Validunlimited-stringdefs.main.parameters.properties.cursorNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.output.schema.properties.cursorNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.noteView.properties.slugNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.noteView.properties.statusNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.noteView.properties.titleNo maxLength, maxGraphemes or format limits this string.
{
"$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"
},
"includeDeleted": {
"default": false,
"description": "Also list deleted notes, each marked by its status.",
"type": "boolean"
},
"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"
},
"status": {
"description": "Present on a deleted note, which is listed only with includeDeleted.",
"knownValues": [
"live",
"deleted"
],
"type": "string"
},
"title": {
"type": "string"
},
"updatedAt": {
"description": "The head revision's own timestamp, so appviews holding the same history agree. An unusable stamp falls back to our ingest time.",
"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
}