domains
GET /v1/domain-watches
The domains this customer is watching — ours, theirs and third parties'.
توثيقِ شناخت
ایک API کلید بطور بیر ٹوکن (bearer token) ارسال کریں۔ یہ اینڈ پوائنٹ اسپیسیفیکیشن میں کسی مخصوص اجازت کا ذکر نہیں کرتا، اس لیے فرض کرنے کے بجائے اپنی کلید کو کم از کم درکار اجازت دیں اور رسپانس چیک کریں۔
جہاں آپ کی تنظیم کی آئی ڈی آتی ہے
یہ اینڈ پوائنٹ org_id کو بطور کوئری پیرامیٹر لیتا ہے۔ اسے چھوڑ دیں اور کال آپ کے پورے ٹیننسی سب ٹری کا احاطہ کرے گی؛ کال کو کسی ایک آرگنائزیشن تک محدود کرنے کے لیے اسے بھیجیں۔
آپ کی تنظیم کی آئی ڈی آپ کے ڈیش بورڈ پر API کیز کی سکرین پر، خود کلید کے ساتھ موجود ہوتی ہے۔ یہ آپ کی کی جانے والی ہر کال میں ایک ہی آئی ڈی ہوتی ہے۔
آزمائیں
کوئی بھی چیز جو زاویہ دار قوسین میں ہو اسے اپنی اقدار سے بدلیں، اور کلیدی پلیس ہولڈر کو اپنے ڈیش بورڈ کی کسی کلید سے بدلیں۔
curl -X GET https://api.zinndigital.com/v1/domain-watches \
-H "Authorization: Bearer zdk_live_…"لاگ ان ہیں؟ آپ کے ڈیش بورڈ میں موجود API کنسول آپ کی حقیقی تنظیم کی آئی ڈی اور آپ کی اپنی کلید خود بخود پُر کر دیتا ہے، اور لائیو API پر درخواست چلاتا ہے تاکہ آپ اصل ردعمل دیکھ سکیں۔ اس اینڈ پوائنٹ کو API کنسول میں کھولیں
تفصیلات
The domain monitor (⚖️ owner 2026-08-30, `docs/296` §5). Every domain registered with us and every domain attached to hosting with us is on this list automatically; the customer may add any other name they like, mute one, or remove it. ⛔ **A removed watch is soft-removed and never returned here.** Auto-add runs on every provision, so a hard delete would let tomorrow's provision resurrect a domain the customer deliberately took off their list — for ever, with no way for them to make it stop. `last_checked_at` is when the registry last answered, and it is rendered beside every value on the row for a reason: these facts are a snapshot of the outside world and go stale silently (§2.36). A tick with no date on it is indistinguishable from a live one. `expires_at` and `days_until_expiry` are `null` when the registry did not say — which is a different fact from "it expires in a decade" and must not render as one.
پیرامیٹرز
| نام | قسم | لازمی | یہ کیا ہے |
|---|---|---|---|
org_id (query) | string | نہیں | Narrow to one organisation in the caller's subtree — what the dashboard's org switcher sends. ⛔ **Narrow only:** intersected with what the caller may already read, so it can nev… |
source (query) | string<registered, hosting, manual> | نہیں | Only watches that arrived this way. |
limit (query) | integer | نہیں | — |
offset (query) | integer | نہیں | — |
جواب
| نام | قسم | لازمی | یہ کیا ہے |
|---|---|---|---|
items | DomainWatch[] | ہاں | — |
total | integer | ہاں | The full match, so the screen can page all of it. |
وہ خرابیان جو یہ اینڈ پوائنٹ واپس کر سکتا ہے
401 · 403