social.coves.community.post.get

Get posts by AT-URI. Supports batch fetching for feed hydration. Returns posts in same order as input URIs. Auth optional: when authenticated, viewer state is populated.

Repository @coves.social did:web:coves.social namespace authority
Details · query
Kindquery
Authoritypost.community.coves.social
Indexed

Showing version bafyreic7ecgwsnysczxrxm73hkdtn2sohmgh56rv445qa3q3ar7rpvhdju. Show the latest

cid bafyreic7ecgwsnysczxrxm73hkdtn2sohmgh56rv445qa3q3ar7rpvhdju

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Get posts by AT-URI. Supports batch fetching for feed hydration. Returns posts in same order as input URIs. Auth optional: when authenticated, viewer state is populated.",
      "errors": [
        {
          "description": "Invalid URI format or empty array",
          "name": "InvalidRequest"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "posts": {
              "description": "Array of post views. May include notFound, blocked, or removed entries for posts that cannot be shown.",
              "items": {
                "refs": [
                  "social.coves.community.post.defs#postView",
                  "social.coves.community.post.defs#notFoundPost",
                  "social.coves.community.post.defs#removedPost",
                  "social.coves.community.post.defs#blockedPost"
                ],
                "type": "union"
              },
              "type": "array"
            }
          },
          "required": [
            "posts"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "uris": {
            "description": "List of post AT-URIs to fetch (max 25)",
            "items": {
              "format": "at-uri",
              "type": "string"
            },
            "maxLength": 25,
            "minLength": 1,
            "type": "array"
          }
        },
        "required": [
          "uris"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "social.coves.community.post.get",
  "lexicon": 1
}