# ai.newnal.pdn.server.listAppPasswords

> List all App Passwords with their OAuth scope. An entry without scope is an unscoped app password created through com.atproto.server.createAppPassword.

- Kind: query
- Authority: server.pdn.newnal.ai
- Lexicon: 1
- Published by [newnal-platform.newnal.id](https://lexicon.garden/identity/did:plc:vciktevzoffubdvdaajz2yp3), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:vciktevzoffubdvdaajz2yp3/ai.newnal.pdn.server.listAppPasswords)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:vciktevzoffubdvdaajz2yp3/ai.newnal.pdn.server.listAppPasswords/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:vciktevzoffubdvdaajz2yp3/ai.newnal.pdn.server.listAppPasswords/analytics)

## Query (`ai.newnal.pdn.server.listAppPasswords`)

Type: query · GET

### Output (application/json)

- `passwords` (array, required)
  - `items` (ref)
    - Reference: `#appPassword`

### Errors

- `AccountTakedown`: No description in schema.

## #appPassword (`ai.newnal.pdn.server.listAppPasswords#appPassword`)

Type: object

### Properties

- `createdAt` (string · datetime, required)
- `name` (string, required)
- `privileged` (boolean)
- `scope` (string)

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "appPassword": {
      "properties": {
        "createdAt": {
          "format": "datetime",
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "privileged": {
          "type": "boolean"
        },
        "scope": {
          "type": "string"
        }
      },
      "required": [
        "name",
        "createdAt"
      ],
      "type": "object"
    },
    "main": {
      "description": "List all App Passwords with their OAuth scope. An entry without scope is an unscoped app password created through com.atproto.server.createAppPassword.",
      "errors": [
        {
          "name": "AccountTakedown"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "passwords": {
              "items": {
                "ref": "#appPassword",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "passwords"
          ],
          "type": "object"
        }
      },
      "type": "query"
    }
  },
  "id": "ai.newnal.pdn.server.listAppPasswords",
  "lexicon": 1
}
```
