# fyi.opensocial.listAppPasswords

> The group's app passwords, never the passwords themselves: every one for whoever has group.configure, and their own for whoever may make them.

- Kind: query
- Authority: opensocial.fyi
- Lexicon: 1
- Published by [lexicons.opensocial.fyi](https://lexicon.garden/identity/did:plc:2gqnilpksz2e7faj3bwvo6qc), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:2gqnilpksz2e7faj3bwvo6qc/fyi.opensocial.listAppPasswords)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:2gqnilpksz2e7faj3bwvo6qc/fyi.opensocial.listAppPasswords/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:2gqnilpksz2e7faj3bwvo6qc/fyi.opensocial.listAppPasswords/analytics)

## Query (`fyi.opensocial.listAppPasswords`)

Type: query · GET

### Parameters (query string)

- `group` (string · did, required)

### Output (application/json)

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

### Errors

- `Forbidden`: No description in schema.

## #appPassword (`fyi.opensocial.listAppPasswords#appPassword`)

Type: object

### Properties

- `actor` (ref): Who made it, with their handle where it can be read.
  - Reference: `fyi.opensocial.defs#actorView`
- `createdAt` (string · datetime, required)
- `lastUsedAt` (string · datetime): When an app last used a session signed in with it, while one lasts.
- `member` (string · did, required): Who made it, and whose it stays.
- `name` (string, required)
- `privileged` (boolean, required)

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "appPassword": {
      "properties": {
        "actor": {
          "description": "Who made it, with their handle where it can be read.",
          "ref": "fyi.opensocial.defs#actorView",
          "type": "ref"
        },
        "createdAt": {
          "format": "datetime",
          "type": "string"
        },
        "lastUsedAt": {
          "description": "When an app last used a session signed in with it, while one lasts.",
          "format": "datetime",
          "type": "string"
        },
        "member": {
          "description": "Who made it, and whose it stays.",
          "format": "did",
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "privileged": {
          "type": "boolean"
        }
      },
      "required": [
        "name",
        "member",
        "privileged",
        "createdAt"
      ],
      "type": "object"
    },
    "main": {
      "description": "The group's app passwords, never the passwords themselves: every one for whoever has group.configure, and their own for whoever may make them.",
      "errors": [
        {
          "name": "Forbidden"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "passwords": {
              "items": {
                "ref": "#appPassword",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "passwords"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "group": {
            "format": "did",
            "type": "string"
          }
        },
        "required": [
          "group"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "fyi.opensocial.listAppPasswords",
  "lexicon": 1
}
```
