domains

GET /v1/domains/{domainId}/nameservers/resync

Who can move this domain's nameservers, and what the last resync concluded.

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

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

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

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

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

Испробајте

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

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

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

Детаљи

W43-79 (docs/719). Answered from our own records with no call to any registrar, so a screen may render it on every load. holder says whether a resync is possible at all: zinn (registered with us), locked (a route that keeps its own nameservers), a linked registrar vendor such as godaddy, connected_unknown (a registrar is connected but no import has placed this domain in it yet), or none. Requires sites.view, RLS-scoped.

Параметри

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

Одговор

НазивТипОбавезноШта је ово
domain_idstringДа—
fqdnstringДа—
holderstringДаzinn, locked, connected_unknown, none, or the vendor slug of the linked registrar account holding the domain (godaddy, namecheap, porkbun, namecom, gandi,…
has_sitebooleanДа—
has_zonebooleanДаWhether we hold a DNS zone for this domain (docs/844). For a domain with no site the POST PREPARES that zone when this is false (a copy of what the domain publishes today,…
dns_copyobjectДаWhat we copied of the domain's live DNS into our zone (a transfer-in, or the first "use our nameservers" press). null means never copied. unsupported lists records we SAW at…
nameserversstring[]ДаThe last delegation we applied or read (a cache; the registrar is the truth).
last_synced_atstringДа—
last_outcomestring<aligned, already, byo, no_registrar, unknown, failed, locked, no_site, missing, zone_prepared, zone_not_answering>Даnull means never resynced. aligned moved it; already it was right; byo no connected registrar could move it; failed the registrar refused; unknown the authority could…
last_triggerstring<manual, site_provisioned, site_renamed, cdn_changed, dns_provider_changed, plan_changed, site_transferred, site_moved, registrar_connected, authority_moved, registration, transfer_in>Да—
startedbooleanНеPresent on the POST response only.

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

401 · 403 · 404 · 429