hosting

GET /v1/wordpress/sites/{siteId}

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

כל נקודות הקצה מסוג hosting

אימות

שלחו מפתח API כאסימון נושא (bearer token). על המפתח לכלול את הרשאה sites.view; מפתח שאינו כולל אותה יידחה בסטטוס 403, ולא 404.

נקודת קצה זו אינה דורשת מזהה ארגון. המפתח שלך כבר מזהה את הארגון שאליו הוא שייך, והתגובה מוגבלת אליו בלבד.

נסה זאת

החלף כל דבר בסוגריים זוויתיים בערכים משלך, ואת מציין מיקום המפתח במפתח מלוח הבקרה שלך.

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

מחובר? קונסולת ה-API בלוח הבקרה שלך מזינה את מזהה הארגון האמיתי שלך ואת המפתח שלך, ומריצה את הבקשה מול ה-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 collaps…
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 AP…
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