domains
GET /v1/domains/{domainId}/settings
Get a domain's registrar settings.
Autentifikacija
Pošaljite API ključ kao nosivi token. Ključ mora imati dozvolu sites.view; ključ bez nje se odbija s kodom 403, a ne 404.
Ova krajnja točka ne prihvaća ID organizacije. Vaš ključ već identificira organizaciju kojoj pripada, a odgovor je ograničen na nju.
Isprobajte
Zamijenite sve unutar šiljastih zagrada svojim vlastitim vrijednostima, a rezervirano mjesto za ključ s ključem iz vaše nadzorne ploče.
curl -X GET https://api.zinndigital.com/v1/domains/{domainId}/settings \
-H "Authorization: Bearer zdk_live_…"Prijavljeni ste? API konzola na vašoj nadzornoj ploči automatski unosi stvarni ID vaše organizacije i vaš vlastiti ključ te šalje zahtjev prema aktivnom API-ju kako biste mogli vidjeti stvarni odgovor. Otvori ovu krajnju točku u API konzoli
Pojedinosti
Auto-renew, registrar transfer lock, DNSSEC and WHOIS privacy for an owned domain. Served from our mirror of the registrar's state rather than a live vendor round-trip, so a detail screen never waits on a third party. Requires `sites.view`. **422 also covers a refusal that will never succeed.** A domain registered through the Cloudflare route has no API-writable transfer lock or WHOIS privacy — Cloudflare exposes neither for a registration made through its registrations endpoint — so the answer names the Cloudflare dashboard and offers support rather than `503 try again`, which is a sentence a customer would act on for ever.
Parametri
| Naziv | Vrsta | Obavezno | Što je to |
|---|---|---|---|
domainId (path) | Uuid | Da | The domain's id. |
Odgovor
| Naziv | Vrsta | Obavezno | Što je to |
|---|---|---|---|
registrar | string | Da | The registrar driver holding this domain (a driver name, never a vendor id). |
auto_renew | boolean | Da | Whether we renew it before expiry. Ours, not the registrar's. |
transfer_lock | boolean | Da | Registrar transfer lock (`clientTransferProhibited`) — blocks an outbound transfer. |
dnssec_enabled | boolean | Da | — |
privacy_enabled | boolean | Da | WHOIS privacy / registrant redaction, where the TLD supports it. |
Pogreške koje ova krajnja točka može vratiti
401 · 403 · 404 · 422 · 429