ai.newnal.trustsquare.getComments

List root comments of a Square with a few inline replies each.

Details · query
Kindquery
Authoritytrustsquare.newnal.ai
Indexed
cid bafyreickspyvdexjwcpokgnawm5wbldgfhdf2sgmaxbauyk2mbzttwpby4

Checks

Valid
  • unlimited-string defs.main.parameters.properties.cursorNo maxLength, maxGraphemes or format limits this string.
  • unlimited-string defs.main.parameters.properties.sortNo 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": "List root comments of a Square with a few inline replies each.",
      "errors": [
        {
          "name": "NotFound"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "comments": {
              "items": {
                "ref": "ai.newnal.trustsquare.defs#threadView",
                "type": "ref"
              },
              "type": "array"
            },
            "cursor": {
              "type": "string"
            }
          },
          "required": [
            "comments"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "cursor": {
            "type": "string"
          },
          "limit": {
            "default": 30,
            "maximum": 100,
            "minimum": 1,
            "type": "integer"
          },
          "sort": {
            "default": "trust",
            "knownValues": [
              "trust",
              "newest",
              "top",
              "oldest"
            ],
            "type": "string"
          },
          "square": {
            "format": "at-uri",
            "type": "string"
          }
        },
        "required": [
          "square"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "ai.newnal.trustsquare.getComments",
  "lexicon": 1
}