reseller

GET /v1/reseller/nameservers

Your own nameserver brand.

Όλα τα τελικά σημεία reseller

Πισtoποίηση

Στείλτε ένα κλειδί API ως διακριτικό φορέα (bearer token). Το κλειδί πρέπει να διαθέτει το δικαίωμα reseller.view· ένα κλειδί που δεν το διαθέτει απορρίπτεται με 403, όχι 404.

Πού μπαίνει το αναγνωριστικό του οργανισμού σας

Αυτό το τελικό σημείο δέχεται την παράμετρο org_id ως παράμετρο ερωτήματος. Παραλείψτε την και η κλήση καλύπτει ολόκληρο το υποδέντρο μίσθωσής σας· στείλτε την για να περιορίσετε την κλήση σε έναν οργανισμό.

Το αναγνωριστικό του οργανισμού σας βρίσκεται στην οθόνη των κλειδιών API στον πίνακα ελέγχου σας, δίπλα στο ίδιο το κλειδί. Είναι το ίδιο αναγνωριστικό σε κάθε κλήση που πραγματοποιείτε.

Δοκιμάστε το

Ατικatastήstε ό,τι βρίskεtai μέσα σe γώniaδeς μe τis δikές sas timές, kai to placeholder klεidioύ μe éna klεidi apó ton pinaka ελέgchou sas.

curl -X GET https://api.zinndigital.com/v1/reseller/nameservers \
  -H "Authorization: Bearer zdk_live_…"

Συνδεθήκατε; Η κονσόλα API στον πίνακα ελέγχου σας συμπληρώνει το πραγματικό αναγνωριστικό του οργανισμού σας και το δικό σας κλειδί, και εκτελεί το αίτημα στο ζωντανό API, ώστε να μπορείτε να δείτε την πραγματική απόκριση. Ανοίξτε αυτό το τελικό σημείο στην κονσόλα API

Λεπτομέρειες

The nameserver brand your clients' domains are delegated to, and the glue records you must register for it. Requires `reseller.view`. A reseller who has never set one up gets an empty payload rather than a `404` — the screen has to render on the first visit.

Παράμετροι

ΌνομαΤύpοςΥποχρεωτικόΤι είναι
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…

Απάντηση

ΌνομαΤύpοςΥποχρεωτικόΤι είναι
domainstringΝαιThe reseller's own domain, or `""` when they have not claimed one.
hostnamesstring[]ΝαιDerived from `domain` — `ns1.acme-hosting.com`, `ns2.acme-hosting.com`. Two, because registries reject a single-nameserver delegation.
glueResellerNameserverGlue[]Ναι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.
servingbooleanΝαι
statusstringΝαιOne sentence from the last check, for the screen and for support.
vendorstringΝαιWhich of our anycast DNS providers serves these hostnames.
checked_atstringΌχιWhen it was last CHECKED, whatever the outcome. `null` means nobody has looked — a different fact from "checked and not serving".
checkedbooleanΌχι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_vendorsstring[]ΌχιThe anycast providers that can serve a nameserver brand of your own.

Σφάλματα που μπορεί να επιστρέψει αυτό το τελικό σημείο

401 · 403 · 429