domains

GET /v1/domains/{domainId}/contacts

The registrant contact on public WHOIS for this domain.

همه نقاط پایانی domains

احراز هویت

یک کلید API را به عنوان یک توکن برbearer ارسال کنید. این نقطه پایانی مجوز خاصی را در مشخصات خود ذکر نمی‌کند، بنابراین به جای فرض کردن، حداقل نیازهای کلید خود را بدهید و پاسخ را بررسی کنید.

این نقطه پایانی هیچ شناسه سازمانی را دریافت نمی‌کند. کلید شما در حال حاضر سازمان مربوطه را مشخص می‌کند و پاسخ در همان محدوده ارائه می‌شود.

امتحان کنید

هر چیزی را که داخل براکت‌های زاویه‌دار قرار دارد با مقادیر خودتان جایگزین کنید، و نگهدارنده کلید را با کلیدی از داشبورد خود جایگزین نمایید.

curl -X GET https://api.zinndigital.com/v1/domains/{domainId}/contacts \
  -H "Authorization: Bearer zdk_live_…"

وارد شده‌اید؟ کنسول API در داشبورد شما شناسه سازمان واقعی و کلید خودتان را پر می‌کند و درخواست را روی API زنده اجرا می‌کند تا بتوانید پاسخ واقعی را ببینید. این نقطه پایانی را در کنسول API باز کنید

جزئیات

Who the registry believes owns this domain. `contact` is `null` where we hold none — deliberately, because "we have no contact" and "the contact is blank" are different facts and an empty object asserts the second. `editable` says whether this domain's registrar publishes a way to change it. It is `false` on the Cloudflare route, which accepts contacts only when the domain is first registered, so the console renders the panel read-only rather than offering a control that would answer 422.

پارامترها

نامنوعالزامیچیست
domainId (path)UuidبلهThe domain's id.

پاسخ

نامنوعالزامیچیست
contactDomainContact | nullبله
editablebooleanبلهWhether this domain's registrar publishes a contact-update path. `false` on the Cloudflare route; the console renders the panel read-only rather than offering a control that ans…

خطاهایی که این نقطه پایانی می‌تواند برگرداند

401 · 403 · 404 · 429