appBskyFeedDescribeFeedGenerator top-level constant

Map<String, dynamic> const appBskyFeedDescribeFeedGenerator

app.bsky.feed.describeFeedGenerator

Implementation

const appBskyFeedDescribeFeedGenerator = <String, dynamic>{
  "lexicon": 1,
  "id": "app.bsky.feed.describeFeedGenerator",
  "defs": {
    "main": {
      "type": "query",
      "description":
          "Get information about a feed generator, including policies and offered feed URIs. Does not require auth; implemented by Feed Generator services (not App View).",
      "output": {
        "encoding": "application/json",
        "schema": {
          "type": "object",
          "required": ["did", "feeds"],
          "properties": {
            "did": {"type": "string", "format": "did"},
            "feeds": {
              "type": "array",
              "items": {"type": "ref", "ref": "#feed"}
            },
            "links": {"type": "ref", "ref": "#links"}
          }
        }
      }
    },
    "feed": {
      "type": "object",
      "required": ["uri"],
      "properties": {
        "uri": {"type": "string", "format": "at-uri"}
      }
    },
    "links": {
      "type": "object",
      "properties": {
        "privacyPolicy": {"type": "string"},
        "termsOfService": {"type": "string"}
      }
    }
  }
};