links

GET /v1/content/targets/facets

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

सर्व links एंडपॉइंट्स

प्रमाणीकरण

बेअरर टोकन म्हणून API की पाठवा. या एंडपॉईंटने स्पष्टीकरणामध्ये ठराविक परवानगी नमूद केलेली नाही, त्यामुळे तुमच्या कीला आवश्यक तेवढाच कमीत कमी ॲक्सेस द्या आणि गृहीत धरण्याऐवजी प्रतिसाद तपासा.

जिथे तुमचा ऑर्गनायझेशन आयडी (organization id) जाईल

हे एंडपॉइंट org_id ला क्वेरी पॅरामीटर म्हणून स्वीकारते. ते वगळल्यास कॉल तुमच्या संपूर्ण टेनन्सी सबट्रीला कव्हर करतो; ते एका संस्थेपुरता कॉल मर्यादित करण्यासाठी पाठवा.

तुमची संस्था आयडी (organisation id) तुमच्या डॅशबोर्डवरील API की स्क्रीनवर, की च्या बाजूला आहे. तुम्ही केलेल्या प्रत्येक कॉलमधील तोच आयडी असतो.

प्रयत्न करा

कोनसांस्कृतिक कंसात (<>) असलेली कोणतीही गोष्ट तुमच्या स्वतःच्या मूल्यांनी बदला आणि key प्लेसहोल्डरला तुमच्या डॅशबोर्डवरील किने बदला.

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

साइन इन केलेले आहे? तुमच्या डॅशबोर्डमधील 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