comAtprotoServerListAppPasswords top-level constant

Map<String, dynamic> const comAtprotoServerListAppPasswords

com.atproto.server.listAppPasswords

Implementation

const comAtprotoServerListAppPasswords = <String, dynamic>{
  "lexicon": 1,
  "id": "com.atproto.server.listAppPasswords",
  "defs": {
    "main": {
      "type": "query",
      "description": "List all App Passwords.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "type": "object",
          "required": ["passwords"],
          "properties": {
            "passwords": {
              "type": "array",
              "items": {"type": "ref", "ref": "#appPassword"}
            }
          }
        }
      },
      "errors": [
        {"name": "AccountTakedown"}
      ]
    },
    "appPassword": {
      "type": "object",
      "required": ["name", "createdAt"],
      "properties": {
        "name": {"type": "string"},
        "createdAt": {"type": "string", "format": "datetime"},
        "privileged": {"type": "boolean"}
      }
    }
  }
};