Something went wrong. Try again.
Monorepo for Tangled tangled.org
Something went wrong. Try again.
JSON
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273{ "lexicon": 1, "id": "sh.tangled.feed.listComments", "defs": { "main": { "type": "query", "parameters": { "type": "params", "required": ["subject"], "properties": { "subject": { "type": "string", "format": "at-uri", "description": "Record AT-URI the comments attach to." }, "cursor": { "type": "string", "description": "Pagination cursor" }, "offset": { "type": "integer", "minimum": 0, "description": "Absolute offset for random-access pagination. Mutually exclusive with cursor; offsets drift under concurrent writes, so follow up with the returned cursor." }, "limit": { "type": "integer", "minimum": 1, "maximum": 1000, "default": 50 }, "order": { "type": "string", "knownValues": ["asc", "desc"], "default": "desc", "description": "Sort direction by createdAt." } } }, "output": { "encoding": "application/json", "schema": { "type": "object", "required": ["items"], "properties": { "items": { "type": "array", "items": { "type": "ref", "ref": "sh.tangled.feed.defs#commentView" } }, "cursor": { "type": "string" }, "total": { "type": "integer", "description": "Total items in the full list; omitted for filtered or merged views" } } } } }, "listItem": { "type": "object", "description": "DEPRECATED: only sh.tangled.feed.listCommentsBy still answers with this shape. Use #commentView.", "required": ["uri", "value"], "properties": { "uri": { "type": "string", "format": "at-uri" }, "cid": { "type": "string", "format": "cid" }, "value": { "type": "unknown", "description": "Embedded sh.tangled.feed.comment record" } } } }}