hosting

GET /v1/wordpress/sites/{siteId}

One WordPress site's stored posture, with its component listings.

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

सर्व डेव्हलपर कागदपत्रे

प्रमाणीकरण

बेरर टोकन म्हणून API की पाठवा. की मध्ये sites.view परवानगी असणे आवश्यक आहे; ती नसलेली की 404 ऐवजी 403 सह नाकारली जाते.

या एंडपॉइंटला कोणतीही संस्था आयडी (organisation id) लागत नाही. तुमची की (key) आधीच ती कोणत्या संस्थेशी संबंधित आहे हे ओळखते आणि प्रतिसाद त्यानुसार मर्यादित केला जातो.

प्रयत्न करा

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

curl -X GET https://api.zinndigital.com/v1/wordpress/sites/{siteId} \
  -H "Authorization: Bearer zdk_live_…"

साइन इन केलेले आहे? तुमच्या डॅशबोर्डमधील API कन्सोल तुमची खरी संस्था आयडी आणि तुमची स्वतःची की आपोआप भरतो आणि लाइव्ह API विरुद्ध विनंती कार्यान्वित करतो जेणेकरून तुम्हाला वास्तविक प्रतिसाद पाहता येईल. एपी कन्सोलमध्ये हा एंडपॉइंट उघडा

तपशील

The same row listWordPressSites returns, plus the stored plugin, theme and administrator listings the manager's detail drawer shows. Still Postgres only — the listings are whatever the last collection stored, with snapshot.collected_at beside them so the age is visible. 404 for a site outside the caller's scope and for one that does not run WordPress — a 403 would confirm the id exists. Requires sites.view.

पॅरामीटर्स

नावप्रकारआवश्यकहे काय आहे
siteId (path)UuidहोयSite ID (UUIDv7).

प्रतिसाद

नावप्रकारआवश्यकहे काय आहे
site_idstringहोय
namestringहोय
primary_domainstringहोय
stack_typestringहोयwordpress or woocommerce — a shop IS a WordPress site.
product_linestringहोय
deploy_targetstringहोय
statusstringहोय
php_versionstringहोय
plan_namestringहोयThe plan a customer would recognise, or "". Never an id.
site_urlstringहोय
admin_urlstringहोय
update_stateWordPressUpdateStateहोय⛔⛔ unknown is a real member and must never be rendered as current. "We have not looked" and "you are up to date" are different statements, and a manager that collapses…
reachabilityWordPressReachabilityहोयWhat a visitor gets from the site's own homepage, from a cache-busted request. ⛔⛔ This is the only field on this surface measured over the path a human actually uses. Every…
http_statusintegerहोय
http_error_codeWordPressProbeErrorCodeहोयWhy the homepage request did not complete, blank when it did (whatever the status). A code rather than a sentence, because a sentence composed in the engine is English for ever…
http_checked_atstringहोय
can_installbooleanहोयWhether software can be installed on this site's platform at all. ⛔ false for every managed hosting site — this platform exposes no shell and no install endpoint across its API…
capabilitiesobjectहोयWhat this site's platform permits, as of the last collection.
diskWordPressAllowanceहोयOne countable resource. ⛔ Three states, not two. limit: null, unlimited: false is no ceiling is stated; unlimited: true is the plan sells this as unlimited, which is…
bandwidthWordPressAllowanceहोयOne countable resource. ⛔ Three states, not two. limit: null, unlimited: false is no ceiling is stated; unlimited: true is the plan sells this as unlimited, which is…
snapshotWordPressSnapshotहोयNull means nobody has ever collected this site. A client renders that as "not checked yet" with a refresh action — never as zeroes, which read as "you are up to date".
pluginsWordPressComponent[]होय
themesWordPressComponent[]होय
adminsWordPressAdmin[]होय

ही एंडपॉइंट परत करू शकेल अशा त्रुटी

401 · 403 · 404 · 429