org.cairnsproto.draft.listBlocks
Public block records, oldest first, optionally about one subject. A block changes no weight on its own; labelers weigh blocks as one signal.
Details · query
| Kind | query |
|---|---|
| Authority | draft.cairnsproto.org |
| Indexed |
Showing version bafyreiael67fz3k4cmyozji22jis4dqsofvtb2bephfd4k3sxm774r2bei. Show the latest
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"blockView": {
"properties": {
"author": {
"format": "did",
"type": "string"
},
"cid": {
"format": "cid",
"type": "string"
},
"record": {
"ref": "org.cairnsproto.draft.block",
"type": "ref"
},
"uri": {
"format": "at-uri",
"type": "string"
}
},
"required": [
"uri",
"cid",
"author",
"record"
],
"type": "object"
},
"main": {
"description": "Public block records, oldest first, optionally about one subject. A block changes no weight on its own; labelers weigh blocks as one signal.",
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"blocks": {
"items": {
"ref": "#blockView",
"type": "ref"
},
"type": "array"
},
"cursor": {
"maxLength": 32,
"type": "string"
}
},
"required": [
"blocks"
],
"type": "object"
}
},
"parameters": {
"properties": {
"cursor": {
"maxLength": 32,
"type": "string"
},
"limit": {
"default": 100,
"maximum": 500,
"minimum": 1,
"type": "integer"
},
"subject": {
"description": "Keep blocks of this DID.",
"format": "did",
"type": "string"
}
},
"type": "params"
},
"type": "query"
}
},
"id": "org.cairnsproto.draft.listBlocks",
"lexicon": 1
}