social.respawn.feed.getComments

Comments on a log, oldest first, with the log author's replygate applied: hidden comments and comments from accounts the replygate doesn't allow are left out.

Repository @respawn.social did:plc:hiabolqnnpdnrb5grmdaaepg namespace authority
Details · query
Kindquery
Authorityfeed.respawn.social
Commit rev3n2mfwnaxpx2y
Indexed
cid bafyreiedmuqpjat6ctgvdvmjtrxbkihc3zbrphptl6tehy7lsijutukcly

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": {
    "commentView": {
      "properties": {
        "cid": {
          "format": "cid",
          "type": "string"
        },
        "did": {
          "description": "The commenter.",
          "format": "did",
          "type": "string"
        },
        "hidden": {
          "description": "Set when the author hid the comment; only returned with includeHidden.",
          "type": "boolean"
        },
        "record": {
          "description": "The social.respawn.feed.comment record.",
          "type": "unknown"
        },
        "uri": {
          "format": "at-uri",
          "type": "string"
        }
      },
      "required": [
        "uri",
        "cid",
        "did",
        "record"
      ],
      "type": "object"
    },
    "main": {
      "description": "Comments on a log, oldest first, with the log author's replygate applied: hidden comments and comments from accounts the replygate doesn't allow are left out.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "comments": {
              "items": {
                "ref": "#commentView",
                "type": "ref"
              },
              "type": "array"
            },
            "count": {
              "description": "Visible comments on the subject in total, excluding hidden ones whether or not they are returned.",
              "minimum": 0,
              "type": "integer"
            },
            "cursor": {
              "type": "string"
            }
          },
          "required": [
            "comments",
            "count"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "cursor": {
            "type": "string"
          },
          "includeHidden": {
            "default": false,
            "description": "Also return comments the author hid, flagged with `hidden`. For the author's own view, so they can unhide them.",
            "type": "boolean"
          },
          "limit": {
            "default": 50,
            "maximum": 100,
            "minimum": 1,
            "type": "integer"
          },
          "subject": {
            "description": "The log the comments are on.",
            "format": "at-uri",
            "type": "string"
          }
        },
        "required": [
          "subject"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "social.respawn.feed.getComments",
  "lexicon": 1
}