appBskyGraphGetLists top-level constant

Map<String, dynamic> const appBskyGraphGetLists

app.bsky.graph.getLists

Implementation

const appBskyGraphGetLists = <String, dynamic>{
  "lexicon": 1,
  "id": "app.bsky.graph.getLists",
  "defs": {
    "main": {
      "type": "query",
      "description":
          "Enumerates the lists created by a specified account (actor).",
      "parameters": {
        "type": "params",
        "required": ["actor"],
        "properties": {
          "actor": {
            "type": "string",
            "format": "at-identifier",
            "description": "The account (actor) to enumerate lists from."
          },
          "limit": {
            "type": "integer",
            "default": 50,
            "minimum": 1,
            "maximum": 100
          },
          "cursor": {"type": "string"}
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "type": "object",
          "required": ["lists"],
          "properties": {
            "cursor": {"type": "string"},
            "lists": {
              "type": "array",
              "items": {"type": "ref", "ref": "app.bsky.graph.defs#listView"}
            }
          }
        }
      }
    }
  }
};