social.colibri.channel.listMessages
Lists messages in a channel, newest first, paginated.
Details · query
| Kind | query |
|---|---|
| Authority | channel.colibri.social |
| 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.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Lists messages in a channel, newest first, paginated.",
"errors": [
{
"description": "A parameter or body field was missing or malformed.",
"name": "InvalidRequest"
}
],
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"cursor": {
"type": "string"
},
"messages": {
"items": {
"ref": "lex:social.colibri.channel.defs#message",
"type": "ref"
},
"type": "array"
}
},
"required": [
"messages"
],
"type": "object"
}
},
"parameters": {
"properties": {
"all": {
"description": "Include hidden (moderated) messages.",
"type": "boolean"
},
"channel": {
"format": "at-uri",
"type": "string"
},
"cursor": {
"type": "string"
},
"limit": {
"type": "integer"
}
},
"required": [
"channel"
],
"type": "params"
},
"type": "query"
}
},
"id": "social.colibri.channel.listMessages",
"lexicon": 1
}