appBskyFeedGetFeed top-level constant

Map<String, dynamic> const appBskyFeedGetFeed

app.bsky.feed.getFeed

Implementation

const appBskyFeedGetFeed = <String, dynamic>{
  "lexicon": 1,
  "id": "app.bsky.feed.getFeed",
  "defs": {
    "main": {
      "type": "query",
      "description":
          "Get a hydrated feed from an actor's selected feed generator. Implemented by App View.",
      "parameters": {
        "type": "params",
        "required": ["feed"],
        "properties": {
          "feed": {"type": "string", "format": "at-uri"},
          "limit": {
            "type": "integer",
            "default": 50,
            "minimum": 1,
            "maximum": 100
          },
          "cursor": {"type": "string"}
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "type": "object",
          "required": ["feed"],
          "properties": {
            "cursor": {"type": "string"},
            "feed": {
              "type": "array",
              "items": {"type": "ref", "ref": "app.bsky.feed.defs#feedViewPost"}
            }
          }
        }
      },
      "errors": [
        {"name": "UnknownFeed"}
      ]
    }
  }
};