# fyi.opensocial.listAppPasswords

> Published by [lexicons.opensocial.fyi](https://lexicon.garden/identity/did:plc:2gqnilpksz2e7faj3bwvo6qc)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:2gqnilpksz2e7faj3bwvo6qc/fyi.opensocial.listAppPasswords)
- [Documentation](https://lexicon.garden/lexicon/did:plc:2gqnilpksz2e7faj3bwvo6qc/fyi.opensocial.listAppPasswords/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:2gqnilpksz2e7faj3bwvo6qc/fyi.opensocial.listAppPasswords/examples)

## Definitions

### `fyi.opensocial.listAppPasswords#appPassword`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `createdAt` | `string` (datetime) | Yes |  |
| `lastUsedAt` | `string` (datetime) | No | When an app last used a session signed in with it, while one lasts. |
| `member` | `string` (did) | Yes | Who made it, and whose it stays. |
| `name` | `string` | Yes |  |
| `privileged` | `boolean` | Yes |  |

### `fyi.opensocial.listAppPasswords`

**Type**: `query`

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

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `group` | `string` (did) | Yes |  |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `passwords` | `array` | Yes |  |

#### Errors

- **Forbidden**

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "appPassword": {
      "properties": {
        "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
}
```
