domains
GET /v1/domains/routes
The registrar routes this organisation can buy a domain through.
المصادقة
أرسل مفتاح واجهة برمجة التطبيقات (API) كرمز حامل (bearer token). لا يحدد نقطة النهاية هذه إذنًا محددًا في المواصفات، لذا امنح مفتاحك الحد الأدنى الذي محتاجه وتحقق من الاستجابة بدلاً من الافتراض.
حيث يتم إدخال معرف مؤسستك
تأخذ نقطة النهاية هذه org_id كمعلمة استعلام. اتركه فارغاً ليغطي الاستدعاء شجرة مستأجريك بالكامل، أو أرسله لتضييق نطاق الاستدعاء ليشمل منظمة واحدة.
معرف مؤسستك موجود على شاشة مفاتيح واجهة برمجة التطبيقات (API) في لوحة تحكمك، بجوار المفتاح نفسه. وهو نفس المعرف في كل طلب تجريه.
جربه الآن
استبدل أي شيء بين أقواس زاوية بقيمك الخاصة، والعنصر النائب للمفتاح بمفتاح من لوحة تحكمك.
curl -X GET https://api.zinndigital.com/v1/domains/routes \
-H "Authorization: Bearer zdk_live_…"هل سجلت الدخول؟ تقوم وحدة تحكم واجهة برمجة التطبيقات في لوحة التحكم الخاصة بك بربط معرف مؤسستك الحقيقي ومفتاحك الخاص، وتنفذ الطلب مقابل واجهة برمجة التطبيقات المباشرة لتتمكن من رؤية الاستجابة الفعلية. افتح هذه النهاية الطرفية في وحدة تحكم API
التفاصيل
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.
المعلمات
| الاسم | النوع | مطلوب | ما هو هذا |
|---|---|---|---|
org_id (query) | string | لا | 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… |
الاستجابة
| الاسم | النوع | مطلوب | ما هو هذا |
|---|---|---|---|
routes | RegistrationRoute[] | نعم | — |
الأخطاء التي يمكن أن تُرجعها نقطة النهاية هذه
401 · 403 · 422 · 429