appBskyLabelerGetServices top-level constant

Map<String, dynamic> const appBskyLabelerGetServices

app.bsky.labeler.getServices

Implementation

const appBskyLabelerGetServices = <String, dynamic>{
  "lexicon": 1,
  "id": "app.bsky.labeler.getServices",
  "defs": {
    "main": {
      "type": "query",
      "description": "Get information about a list of labeler services.",
      "parameters": {
        "type": "params",
        "required": ["dids"],
        "properties": {
          "dids": {
            "type": "array",
            "items": {"type": "string", "format": "did"}
          },
          "detailed": {"type": "boolean", "default": false}
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "type": "object",
          "required": ["views"],
          "properties": {
            "views": {
              "type": "array",
              "items": {
                "type": "union",
                "refs": [
                  "app.bsky.labeler.defs#labelerView",
                  "app.bsky.labeler.defs#labelerViewDetailed"
                ]
              }
            }
          }
        }
      }
    }
  }
};