social.grain.unspecced.getCommentThread

Get comments for a subject (gallery or story), sorted oldest-first with author profiles.

Repository @grain.social did:plc:e7rftrdyz5e2rw4y6ocszew2 not from the namespace authority
Details · query
Kindquery
Authorityunspecced.grain.social
Indexed
cid bafyreihvhvurram2dcbob4xlslr26k7oexf663xqcvhdgsdjnsudtn2bii

Checks

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