domains
GET /v1/domains/routes
The registrar routes this organisation can buy a domain through.
Doğrulama
API açarını bearer token kimi göndərin. Bu səhifə spresifikasiyada xüsusi icazə tələb etmir, buna görə də açarınıza ehtiyac duyduğu minimum səviyyədə icazə verin və güman etmək əvəzinə cavabı yoxlayın.
Təşkilatınızın identifikatorunun yerləşdiyi yer
Bu son nöqtə sorğu parametri kimi org_id qəbul edir. Onu buraxın və sorğu bütün kirayə alt ağacınızı əhatə etsin; sorğunu bir təşkilatla məhdudlaşdırmaq üçün onu göndərin.
Təşkilatınızın identifikatoru idarə panelinizdəki API açarları ekranında, açarın özünün yanında yerləşir. Bu, etdiyiniz hər bir sorğuda eyni identifikatordur.
Sınaqdan keçir
Bucaqlı mötərizələrdə olan hór şeyi öz qiymətlərinizlə, açar yertutucusunu isə idarə panelinizdən bir açarla əvəz edin.
curl -X GET https://api.zinndigital.com/v1/domains/routes \
-H "Authorization: Bearer zdk_live_…"Sistemə daxil olmusunuz? İdarə panelinizdəki API konsolu real təşkilatınızın identifikatorunu və öz açarınızı avtomatik doldurur, sorğunu canlı API-yə qarşı icra edir ki, siz faktiki cavabı görə biləsiniz. Bu son nöqtəni API konsolunda açın
Təfərrüatlar
Cloudflare Registrar is offered as **an additional, deliberately-chosen way to register a domain**, beside the organisation's existing registrar — not as a cheaper source the platform switches to silently. The reason the choice is the customer's is `locks_nameservers`. A Cloudflare registration cannot use external nameservers: the API exposes no way to set them, so the domain's DNS stays with Cloudflare for as long as we hold it. That is a constraint somebody has to accept knowingly, not one to discover the first time they try to point the domain elsewhere. Every flag is derived from the registrar driver's advertised capabilities, so a driver that gains or loses an endpoint moves this copy with it. Routes the organisation cannot use are returned with `available: false` and a reason rather than filtered out — a one-option list is indistinguishable from a list whose second option failed to load.
Parametrlər
| Ad | Tip | Tələb olunur | Nədir |
|---|---|---|---|
org_id (query) | string | Xeyr | Whose routes to report. Required when the caller can act for more than one organisation: availability depends on that organisation's registrar connections, so guessing would gre… |
Cavab
| Ad | Tip | Tələb olunur | Nədir |
|---|---|---|---|
routes | RegistrationRoute[] | Bəli | — |
Bu son nöqtənin qaytara biləcəyi xətalar
401 · 403 · 422 · 429