social.coves.feed.getCommentSkeleton

Get the ordered direct replies for one or more parent posts or comments from a comment feed generator. Served by the generator's service and called by the AppView, which hydrates the comments.

Repository @coves.social did:web:coves.social namespace authority
Details · query
Kindquery
Authorityfeed.coves.social
Commit rev3n2v225px4k26
Indexed
cid bafyreigzprbt3azctqydzya66vzgkhfmnoq7arbqnc4zlqubpateq2g4xq

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Get the ordered direct replies for one or more parent posts or comments from a comment feed generator. Served by the generator's service and called by the AppView, which hydrates the comments.",
      "errors": [
        {
          "description": "The generator does not serve the requested feed.",
          "name": "UnknownFeed"
        },
        {
          "description": "The cursor is malformed or expired.",
          "name": "InvalidCursor"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "ref": "#output",
          "type": "ref"
        }
      },
      "parameters": {
        "properties": {
          "cursor": {
            "description": "Cursor for the next page of replies. Applies only when exactly one parent is given.",
            "maxLength": 500,
            "type": "string"
          },
          "feed": {
            "description": "AT-URI of the social.coves.feed.generator record being requested",
            "format": "at-uri",
            "type": "string"
          },
          "limit": {
            "default": 50,
            "description": "Maximum replies per parent",
            "maximum": 100,
            "minimum": 1,
            "type": "integer"
          },
          "parents": {
            "description": "AT-URIs of the parent posts or comments whose replies to order",
            "items": {
              "format": "at-uri",
              "type": "string"
            },
            "maxLength": 25,
            "minLength": 1,
            "type": "array"
          },
          "timeframe": {
            "description": "Timeframe for generators ranked by top score; ignored by other generators.",
            "knownValues": [
              "hour",
              "day",
              "week",
              "month",
              "year",
              "all"
            ],
            "maxLength": 64,
            "type": "string"
          }
        },
        "required": [
          "feed",
          "parents"
        ],
        "type": "params"
      },
      "type": "query"
    },
    "output": {
      "description": "Ordered replies for each requested parent",
      "properties": {
        "replies": {
          "items": {
            "ref": "social.coves.feed.defs#skeletonReplies",
            "type": "ref"
          },
          "type": "array"
        },
        "reqId": {
          "description": "Request ID assigned by the feed generator.",
          "maxLength": 100,
          "type": "string"
        }
      },
      "required": [
        "replies"
      ],
      "type": "object"
    }
  },
  "id": "social.coves.feed.getCommentSkeleton",
  "lexicon": 1
}