# lol.dids.admin.getDomain

> Published by [ngerakines.me](https://lexicon.garden/identity/did:plc:cbkjy5n7bk3ax2wplmtjofq2)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:cbkjy5n7bk3ax2wplmtjofq2/lol.dids.admin.getDomain)
- [Documentation](https://lexicon.garden/lexicon/did:plc:cbkjy5n7bk3ax2wplmtjofq2/lol.dids.admin.getDomain/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:cbkjy5n7bk3ax2wplmtjofq2/lol.dids.admin.getDomain/examples)

## Definitions

### `lol.dids.admin.getDomain`

**Type**: `query`

The full internal state of one domain: its registration, its event history, its job log, its certificate state, and its last verification result.

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `domain` | `string` | Yes | The hostname. |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `tls` | `ref` → `lol.dids.defs#tlsView` | Yes |  |
| `jobs` | `array` | Yes |  |
| `domain` | `ref` → `lol.dids.defs#domainView` | Yes |  |
| `events` | `array` | Yes |  |
| `verification` | `ref` → `lol.dids.defs#verificationView` | Yes |  |

## Raw Schema

```json
{
  "id": "lol.dids.admin.getDomain",
  "defs": {
    "main": {
      "type": "query",
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "domain",
            "events",
            "jobs",
            "tls",
            "verification"
          ],
          "properties": {
            "tls": {
              "ref": "lol.dids.defs#tlsView",
              "type": "ref"
            },
            "jobs": {
              "type": "array",
              "items": {
                "ref": "lol.dids.defs#jobView",
                "type": "ref"
              }
            },
            "domain": {
              "ref": "lol.dids.defs#domainView",
              "type": "ref"
            },
            "events": {
              "type": "array",
              "items": {
                "ref": "lol.dids.defs#domainEvent",
                "type": "ref"
              }
            },
            "verification": {
              "ref": "lol.dids.defs#verificationView",
              "type": "ref"
            }
          }
        },
        "encoding": "application/json"
      },
      "parameters": {
        "type": "params",
        "required": [
          "domain"
        ],
        "properties": {
          "domain": {
            "type": "string",
            "maxLength": 253,
            "description": "The hostname."
          }
        }
      },
      "description": "The full internal state of one domain: its registration, its event history, its job log, its certificate state, and its last verification result."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
