appBskyGraphGetSuggestedFollowsByActor top-level constant

Map<String, dynamic> const appBskyGraphGetSuggestedFollowsByActor

app.bsky.graph.getSuggestedFollowsByActor

Implementation

const appBskyGraphGetSuggestedFollowsByActor = <String, dynamic>{
  "lexicon": 1,
  "id": "app.bsky.graph.getSuggestedFollowsByActor",
  "defs": {
    "main": {
      "type": "query",
      "description":
          "Enumerates follows similar to a given account (actor). Expected use is to recommend additional accounts immediately after following one account.",
      "parameters": {
        "type": "params",
        "required": ["actor"],
        "properties": {
          "actor": {"type": "string", "format": "at-identifier"}
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "type": "object",
          "required": ["suggestions"],
          "properties": {
            "suggestions": {
              "type": "array",
              "items": {"type": "ref", "ref": "app.bsky.actor.defs#profileView"}
            }
          }
        }
      }
    }
  }
};