{
"id": "app.tempomusic.feed.getPostReplies",
"defs": {
"main": {
"type": "query",
"errors": [
{
"name": "NotFound",
"description": "No post is indexed at the requested AT-URI."
}
],
"output": {
"schema": {
"type": "object",
"required": [
"replies"
],
"properties": {
"cursor": {
"type": "string",
"maxLength": 1024,
"description": "Cursor for fetching the next page. Absent when no further results are available."
},
"replies": {
"type": "array",
"items": {
"ref": "app.tempomusic.feed.defs#replyView",
"type": "ref"
}
}
}
},
"encoding": "application/json"
},
"parameters": {
"type": "params",
"required": [
"uri"
],
"properties": {
"uri": {
"type": "string",
"format": "at-uri",
"description": "AT-URI of the root post whose replies are requested."
},
"limit": {
"type": "integer",
"default": 50,
"maximum": 100,
"minimum": 1,
"description": "Maximum number of replies to return."
},
"cursor": {
"type": "string",
"maxLength": 1024,
"description": "Opaque pagination cursor returned by a previous call."
}
}
},
"description": "Paginated flat list of replies whose root is the given post URI, in chronological order. When the request carries a service-auth JWT, the viewer DID is read from its `iss` claim and each returned reply carries a viewer projection; anonymous requests receive replies without viewer state."
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}