appBskyGraphGetBlocks top-level constant

Map<String, dynamic> const appBskyGraphGetBlocks

app.bsky.graph.getBlocks

Implementation

const appBskyGraphGetBlocks = <String, dynamic>{
  "lexicon": 1,
  "id": "app.bsky.graph.getBlocks",
  "defs": {
    "main": {
      "type": "query",
      "description":
          "Enumerates which accounts the requesting account is currently blocking. Requires auth.",
      "parameters": {
        "type": "params",
        "properties": {
          "limit": {
            "type": "integer",
            "default": 50,
            "minimum": 1,
            "maximum": 100
          },
          "cursor": {"type": "string"}
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "type": "object",
          "required": ["blocks"],
          "properties": {
            "cursor": {"type": "string"},
            "blocks": {
              "type": "array",
              "items": {"type": "ref", "ref": "app.bsky.actor.defs#profileView"}
            }
          }
        }
      }
    }
  }
};