links

GET /v1/content/targets/facets

Filter counts over the whole matching set, not the current page.

تمام links اینڈ پوائنٹس

توثيقِ شناخت

ایک API کلید بطور بیر ٹوکن (bearer token) ارسال کریں۔ یہ اینڈ پوائنٹ اسپیسیفیکیشن میں کسی مخصوص اجازت کا ذکر نہیں کرتا، اس لیے فرض کرنے کے بجائے اپنی کلید کو کم از کم درکار اجازت دیں اور رسپانس چیک کریں۔

جہاں آپ کی تنظیم کی آئی ڈی آتی ہے

یہ اینڈ پوائنٹ org_id کو بطور کوئری پیرامیٹر لیتا ہے۔ اسے چھوڑ دیں اور کال آپ کے پورے ٹیننسی سب ٹری کا احاطہ کرے گی؛ کال کو کسی ایک آرگنائزیشن تک محدود کرنے کے لیے اسے بھیجیں۔

آپ کی تنظیم کی آئی ڈی آپ کے ڈیش بورڈ پر API کیز کی سکرین پر، خود کلید کے ساتھ موجود ہوتی ہے۔ یہ آپ کی کی جانے والی ہر کال میں ایک ہی آئی ڈی ہوتی ہے۔

آزمائیں

کوئی بھی چیز جو زاویہ دار قوسین میں ہو اسے اپنی اقدار سے بدلیں، اور کلیدی پلیس ہولڈر کو اپنے ڈیش بورڈ کی کسی کلید سے بدلیں۔

curl -X GET https://api.zinndigital.com/v1/content/targets/facets \
  -H "Authorization: Bearer zdk_live_…"

لاگ ان ہیں؟ آپ کے ڈیش بورڈ میں موجود API کنسول آپ کی حقیقی تنظیم کی آئی ڈی اور آپ کی اپنی کلید خود بخود پُر کر دیتا ہے، اور لائیو API پر درخواست چلاتا ہے تاکہ آپ اصل ردعمل دیکھ سکیں۔ اس اینڈ پوائنٹ کو API کنسول میں کھولیں

تفصیلات

Counts per suitability, product line, CMS and site group, computed over **every** site matching the current filters. Gated on `links.view`. ⭐ This is what makes "select all 214 matching" a number a customer can trust rather than an extrapolation from the 50 rows on screen. It accepts the same filter parameters as `listContentTargets`. ⛔ The `unknown` count **includes every site that has never been probed**. A facet that counted only stored rows would report `unknown: 0` on an estate where nothing had been checked — a blind instrument reporting that everything is fine.

پیرامیٹرز

نامقسملازمییہ کیا ہے
org_id (query)stringنہیں
q (query)stringنہیں
suitability (query)string<ready, needs_setup, unknown, unsuitable, blocked>نہیں
product_line (query)stringنہیں
stack_type (query)stringنہیں
group_id (query)stringنہیں
cms (query)stringنہیں

جواب

نامقسملازمییہ کیا ہے
totalintegerہاں
suitabilityContentTargetFacetCount[]ہاں
product_lineContentTargetFacetCount[]ہاں
cmsContentTargetFacetCount[]ہاں
groupContentTargetFacetCount[]ہاں

وہ خرابیان جو یہ اینڈ پوائنٹ واپس کر سکتا ہے

401 · 403