hosting

GET /v1/wordpress/sites/{siteId}

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

সমস্ত hosting এন্ডপয়েন্ট

সমস্ত ডেভেলপার ডকুমেন্টেশন

প্রমাণীকরণ

একটি বিয়ারার টোকেন হিসেবে একটি এপিআই কি পাঠান। কি-টির অবশ্যই sites.view অনুমতি থাকতে হবে; এটি ছাড়া কোনো কি ৪০৪ নয়, বরং ৪০৩ ত্রুটি দিয়ে প্রত্যাখ্যাত হবে।

এই এন্ডপয়েন্টটি কোনো অর্গানাইজেশন আইডি নেয় না। আপনার কীটি ইতিমধ্যে এটি যে অর্গানাইজেশনের অন্তর্গত তা শনাক্ত করে এবং প্রতিক্রিয়াটি সেই অনুযায়ী নির্ধারিত হয়।

চেষ্টা করুন

কোণ বন্ধনীতে থাকা যেকোনো কিছু আপনার নিজস্ব মান দিয়ে এবং কী প্লেসহোল্ডারটি আপনার ড্যাশবোর্ডের একটি কী দিয়ে প্রতিস্থাপন করুন।

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

লগ ইন করা আছে? আপনার ড্যাশবোর্ডের এপিআই কনসোল আপনার আসল অর্গানাইজেশন আইডি এবং আপনার নিজের কি পূরণ করে দেয়, এবং লাইভ এপিআই-এর বিপরীতে অনুরোধটি চালায় যাতে আপনি প্রকৃত প্রতিক্রিয়া দেখতে পান। এই এন্ডপয়েন্টটি এপিআই কনসোলে খুলুন

বিবরণ

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