Gallery Platform API
Reference

List the gallery's custom domains

Returns the gallery's custom domains, their verification/attach status, and the DNS records to publish.

GET
/gallery/domains

Returns the gallery's custom domains, their verification/attach 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

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"  }]