List root comments of a Square with a few inline replies each.
Parameters
Output
Encoding
application/jsoncomments
array
Required
No description available.
cursor
string
Optional
No description available.
Errors
NotFound
Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"type": "query",
"errors": [
{
"name": "NotFound"
}
],
"output": {
"schema": {
"type": "object",
"required": [
"comments"
],
"properties": {
"cursor": {
"type": "string"
},
"comments": {
"type": "array",
"items": {
"ref": "ai.newnal.trustsquare.defs#threadView",
"type": "ref"
}
}
}
},
"encoding": "application/json"
},
"parameters": {
"type": "params",
"required": [
"square"
],
"properties": {
"sort": {
"type": "string",
"default": "trust",
"knownValues": [
"trust",
"newest",
"top",
"oldest"
]
},
"limit": {
"type": "integer",
"default": 30,
"maximum": 100,
"minimum": 1
},
"cursor": {
"type": "string"
},
"square": {
"type": "string",
"format": "at-uri"
}
}
},
"description": "List root comments of a Square with a few inline replies each."
}