reseller

GET /v1/reseller/nameservers

Your own nameserver brand.

すべての reseller エンドポイント

すべての開発者向けドキュメント

認証

ベアラー トークンとして API キーを送信します。キーには reseller.view 権限が付与されている必要があります。権限のないキーは 404 ではなく 403 で拒否されます。

組織 ID を入力する場所

このエンドポイントはクエリパラメータとして org_id を受け取ります。省略した場合はテナントサブツリー全体が対象になり、指定した場合は特定の組織のみに絞り込まれます。

組織IDは、ダッシュボードのAPIキー画面にキーのすぐ横に表示されています。これは、実行するすべての呼び出しで同じIDになります。

試してみる

アングルブラケット内のすべてをご自身の値に置き換え、キーのプレースホルダーをご利用中のダッシュボードのキーに置き換えてください。

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

ログインしていますか?ダッシュボード内のAPIコンソールでは、実際の組織IDやお客様ご自身のキーが自動入力され、ライブ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.

パラメータ

名前タイプ必須これがその内容です
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 agency…

返信

名前タイプ必須これがその内容です
domainstringはいThe reseller's own domain, or "" when they have not claimed one.
hostnamesstring[]はいDerived from domainns1.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