# tools.ozone.server.getConfig

> Published by [ozone-lexicons.bsky.social](https://lexicon.garden/identity/did:plc:33dt5kftu3jq2h5h4jjlqezt)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:33dt5kftu3jq2h5h4jjlqezt/tools.ozone.server.getConfig)
- [Documentation](https://lexicon.garden/lexicon/did:plc:33dt5kftu3jq2h5h4jjlqezt/tools.ozone.server.getConfig/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:33dt5kftu3jq2h5h4jjlqezt/tools.ozone.server.getConfig/examples)

## Definitions

### `tools.ozone.server.getConfig`

**Type**: `query`

Get details about ozone's server configuration.

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `pds` | `ref` → `#serviceConfig` | No |  |
| `chat` | `ref` → `#serviceConfig` | No |  |
| `viewer` | `ref` → `#viewerConfig` | No |  |
| `appview` | `ref` → `#serviceConfig` | No |  |
| `blobDivert` | `ref` → `#serviceConfig` | No |  |
| `verifierDid` | `string` (did) | No | The did of the verifier used for verification. |

### `tools.ozone.server.getConfig#viewerConfig`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `role` | `string` | No |  |

### `tools.ozone.server.getConfig#serviceConfig`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `url` | `string` (uri) | No |  |

## Raw Schema

```json
{
  "id": "tools.ozone.server.getConfig",
  "defs": {
    "main": {
      "type": "query",
      "output": {
        "schema": {
          "type": "object",
          "properties": {
            "pds": {
              "ref": "#serviceConfig",
              "type": "ref"
            },
            "chat": {
              "ref": "#serviceConfig",
              "type": "ref"
            },
            "viewer": {
              "ref": "#viewerConfig",
              "type": "ref"
            },
            "appview": {
              "ref": "#serviceConfig",
              "type": "ref"
            },
            "blobDivert": {
              "ref": "#serviceConfig",
              "type": "ref"
            },
            "verifierDid": {
              "type": "string",
              "format": "did",
              "description": "The did of the verifier used for verification."
            }
          }
        },
        "encoding": "application/json"
      },
      "description": "Get details about ozone's server configuration."
    },
    "viewerConfig": {
      "type": "object",
      "properties": {
        "role": {
          "type": "string",
          "knownValues": [
            "tools.ozone.team.defs#roleAdmin",
            "tools.ozone.team.defs#roleModerator",
            "tools.ozone.team.defs#roleTriage",
            "tools.ozone.team.defs#roleVerifier"
          ]
        }
      }
    },
    "serviceConfig": {
      "type": "object",
      "properties": {
        "url": {
          "type": "string",
          "format": "uri"
        }
      }
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
