Lists messages in a channel, newest first, paginated.
Parameters
Output
Encoding
application/jsoncursor
string
Optional
No description available.
messages
array
Required
No description available.
Errors
InvalidRequest
A parameter or body field was missing or malformed. Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"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"
}