domains

GET /v1/domains/{domainId}/settings

Get a domain's registrar settings.

Све domains крајње тачке

Сва документација за програмере →

Аутентификација

Пошаљите API кључ као bearer токен. Кључ мора имати дозволу sites.view; кључ без ње се одбија уз 403, а не 404.

Ова крајња тачка не прихвата id организације. Ваш кључ већ идентификује организацију којој припада, а одговор је ограничен на њу.

Испробајте

Замените све што је у угластим заградама сопственим вредностима, а чувар места кључа кључем са своје контролне табле.

curl -X GET https://api.zinndigital.com/v1/domains/{domainId}/settings \
  -H "Authorization: Bearer zdk_live_…"

Пријављени сте? API конзола на вашој контролној табли попуњава ваш прави id организације и ваш сопствени кључ, и покреће захтев према живом API-ју како бисте могли да видите стварни одговор. Отворите ову крајњу тачку у API конзоли

Детаљи

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.

Параметри

НазивТипОбавезноШта је ово
domainId (path)UuidДаThe domain's id.

Одговор

НазивТипОбавезноШта је ово
registrarstringДаThe registrar driver holding this domain (a driver name, never a vendor id).
auto_renewbooleanДаWhether we renew it before expiry. Ours, not the registrar's.
transfer_lockbooleanДаRegistrar transfer lock (clientTransferProhibited) — blocks an outbound transfer.
dnssec_enabledbooleanДа—
privacy_enabledbooleanДаWHOIS privacy / registrant redaction, where the TLD supports it.

Грешке које ова крајња тачка може вратити

401 · 403 · 404 · 422 · 429