# blog.pckt.domain.getStatus

> Published by [pckt.blog](https://lexicon.garden/identity/did:plc:revjuqmkvrw6fnkxppqtszpv)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:revjuqmkvrw6fnkxppqtszpv/blog.pckt.domain.getStatus)
- [Documentation](https://lexicon.garden/lexicon/did:plc:revjuqmkvrw6fnkxppqtszpv/blog.pckt.domain.getStatus/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:revjuqmkvrw6fnkxppqtszpv/blog.pckt.domain.getStatus/examples)

## Definitions

### `blog.pckt.domain.getStatus`

**Type**: `query`

Get the current SSL and hostname status for a publication's custom domain.

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `blog` | `string` (at-uri) | Yes | AT-URI of the publication record. Authority MUST match the caller's DID. |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `status` | `string` | No | Custom hostname status (null when no domain configured). |
| `sslStatus` | `string` | No | SSL provisioning state (null when no domain configured). |

#### Errors

- **BlogNotFound**

## Raw Schema

```json
{
  "id": "blog.pckt.domain.getStatus",
  "defs": {
    "main": {
      "type": "query",
      "errors": [
        {
          "name": "BlogNotFound"
        }
      ],
      "output": {
        "schema": {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "description": "Custom hostname status (null when no domain configured)."
            },
            "sslStatus": {
              "type": "string",
              "description": "SSL provisioning state (null when no domain configured)."
            }
          }
        },
        "encoding": "application/json"
      },
      "parameters": {
        "type": "params",
        "required": [
          "blog"
        ],
        "properties": {
          "blog": {
            "type": "string",
            "format": "at-uri",
            "description": "AT-URI of the publication record. Authority MUST match the caller's DID."
          }
        }
      },
      "description": "Get the current SSL and hostname status for a publication's custom domain."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
