Gallery Platform API
Reference

Get a custom domain

Returns a single custom domain's status and the DNS records to publish.

GET
/gallery/domains/{id}

Returns a single custom domain's status and the DNS records to publish.

Authorization

bearerAuth gallery:read
AuthorizationBearer <token>

A gallery API key, sent as Authorization: Bearer gpk_… (or the x-api-key header).

In: header

Scope: gallery:read

Path Parameters

id*string

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

{  "id": "string",  "hostname": "string",  "status": "pending_dns",  "status_detail": "string",  "verification_token": "string",  "is_primary": true,  "dns_records": [    {      "type": "CNAME",      "name": "string",      "value": "string",      "purpose": "routing"    }  ],  "created_at": "string",  "verified_at": "string",  "updated_at": "string"}