reseller
POST /v1/reseller/nameservers/verify
Check whether your nameservers answer.
Аутентификация
API кілтін bearer токені ретінде жіберіңіз. Кілтте reseller.manage рұқсаты болуы тиіс; онсыз кілтке 404 емес, 403 қатесі қайтарылады.
Ұйымыңыздың идентификаторы орналасатын жер
Бұл соңғы нүкте сұрау параметрі ретінде org_id мәнін қабылдайды. Оны бос қалдырсаңыз, шақыру бүкіл жалға алушы тармағын қамтиды; шақыруды бір ұйымға шектеу үшін оны жіберіңіз.
Сіздің ұйым идентификаторыңыз басқару панеліндегі API кілттері экранында, кілттің өзінің жанында орналасқан. Бұл сіз жасайтын әрбір шақырудағы бірдей идентификатор.
Әрекет етіп көру
Бұрыштық жақшалардағы кез келген нәрсені өз мәндеріңізбен, ал кілт орналастырушысын басқару тақтасынан алынған кілтпен алмастырыңыз.
curl -X POST https://api.zinndigital.com/v1/reseller/nameservers/verify \
-H "Authorization: Bearer zdk_live_…"Жүйеге кіргенсіз бе? Бақылау тақтасындағы API консолі ұйымыңыздың нақты идентификаторы мен жеке кілтіңізді автоматты түрде толтырады да, нақты жауапты көре алуыңыз үшін сұрауды тікелей жұмыс істеп тұрған API арқылы орындайды. Бұл соңғы нүктені API консолінде ашыңыз
Мәліметтер
Looks your hostnames up on the public internet and confirms they resolve to our anycast addresses. Requires `reseller.manage`. ⛔ This is the only thing that turns `serving` on, and `serving` is what lets a real client zone be delegated to you. ⛔ `checked` is `false` when our resolver could not answer. That is **not** "your glue is missing" — nothing is changed, and the two send you to opposite actions.
Параметрлер
| Аты | Tүрі | Міндетті | Мазмұны |
|---|---|---|---|
org_id (query) | Uuid | Жоқ | The organization this call acts on. Optional for a caller with exactly one direct membership; **required** for anyone with more than one — which is every reseller and every agen… |
Жауап
| Аты | Tүрі | Міндетті | Мазмұны |
|---|---|---|---|
domain | string | Иә | The reseller's own domain, or `""` when they have not claimed one. |
hostnames | string[] | Иә | Derived from `domain` — `ns1.acme-hosting.com`, `ns2.acme-hosting.com`. Two, because registries reject a single-nameserver delegation. |
glue | ResellerNameserverGlue[] | Иә | The `A` records the reseller must register at THEIR registrar. Nothing we hold can create them: they are a registry operation on a domain we do not sponsor. |
serving | boolean | Иә | — |
status | string | Иә | One sentence from the last check, for the screen and for support. |
vendor | string | Иә | Which of our anycast DNS providers serves these hostnames. |
checked_at | string | Жоқ | When it was last CHECKED, whatever the outcome. `null` means nobody has looked — a different fact from "checked and not serving". |
checked | boolean | Жоқ | Verify responses only. `false` means our resolver could not answer and **nothing was changed** — not that the glue is missing. The two send a reseller to opposite actions. |
supported_vendors | string[] | Жоқ | The anycast providers that can serve a nameserver brand of your own. |
Бұл соңғы нүкте қайтара алатын қателер
401 · 403 · 404 · 429