# app.rocksky.equalizer.listPresets

> Published by [rocksky.app](https://lexicon.garden/identity/did:plc:vegqomyce4ssoqs7zwqvgqty)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:vegqomyce4ssoqs7zwqvgqty/app.rocksky.equalizer.listPresets)
- [Documentation](https://lexicon.garden/lexicon/did:plc:vegqomyce4ssoqs7zwqvgqty/app.rocksky.equalizer.listPresets/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:vegqomyce4ssoqs7zwqvgqty/app.rocksky.equalizer.listPresets/examples)

## Definitions

### `app.rocksky.equalizer.listPresets`

**Type**: `query`

List equalizer presets. If `did` is provided the request is public; otherwise an auth token is required and the caller's own presets are returned.

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `did` | `string` (at-identifier) | No | DID or handle of the user whose presets to fetch. Required for unauthenticated requests. |

#### Output

**Encoding**: `application/json`

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

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "List equalizer presets. If `did` is provided the request is public; otherwise an auth token is required and the caller's own presets are returned.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "presets": {
              "items": {
                "ref": "app.rocksky.equalizer.defs#presetView",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "presets"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "did": {
            "description": "DID or handle of the user whose presets to fetch. Required for unauthenticated requests.",
            "format": "at-identifier",
            "type": "string"
          }
        },
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "app.rocksky.equalizer.listPresets",
  "lexicon": 1
}
```
