{ "lexicon": 1, "id": "social.grain.unspecced.getCommentThread", "defs": { "main": { "type": "query", "description": "Get comments for a subject (gallery or story), sorted oldest-first with author profiles.", "parameters": { "type": "params", "required": [ "subject" ], "properties": { "subject": { "type": "string", "format": "at-uri", "description": "The subject URI to fetch comments for." }, "limit": { "type": "integer", "minimum": 1, "maximum": 100, "default": 20 }, "cursor": { "type": "string" } } }, "output": { "encoding": "application/json", "schema": { "type": "object", "required": [ "comments" ], "properties": { "comments": { "type": "array", "items": { "type": "ref", "ref": "social.grain.comment.defs#commentView" } }, "cursor": { "type": "string" }, "totalCount": { "type": "integer" } } } } } } }