# app.didpic.actor.getPrefs

> Published by [lexicons.didpic.app](https://lexicon.garden/identity/did:plc:an2jtp4jgkkbtmwfzhpbxawd)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:an2jtp4jgkkbtmwfzhpbxawd/app.didpic.actor.getPrefs)
- [Documentation](https://lexicon.garden/lexicon/did:plc:an2jtp4jgkkbtmwfzhpbxawd/app.didpic.actor.getPrefs/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:an2jtp4jgkkbtmwfzhpbxawd/app.didpic.actor.getPrefs/examples)

## Definitions

### `app.didpic.actor.getPrefs`

**Type**: `query`

The authenticated viewer's preferences.

#### Output

**Encoding**: `application/json`

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

### `app.didpic.actor.getPrefs#prefEntry`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `kind` | `string` | Yes | Lexicon ref naming the shape of value. |
| `value` | `unknown` | Yes |  |
| `updatedAt` | `string` (datetime) | No |  |

## Raw Schema

```json
{
  "id": "app.didpic.actor.getPrefs",
  "defs": {
    "main": {
      "type": "query",
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "prefs"
          ],
          "properties": {
            "prefs": {
              "type": "array",
              "items": {
                "ref": "#prefEntry",
                "type": "ref"
              }
            }
          }
        },
        "encoding": "application/json"
      },
      "description": "The authenticated viewer's preferences."
    },
    "prefEntry": {
      "type": "object",
      "required": [
        "kind",
        "value"
      ],
      "properties": {
        "kind": {
          "type": "string",
          "description": "Lexicon ref naming the shape of value."
        },
        "value": {
          "type": "unknown"
        },
        "updatedAt": {
          "type": "string",
          "format": "datetime"
        }
      }
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
