hosting

GET /v1/wordpress/sites/{siteId}

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

すべての hosting エンドポイント

認証

ベアラー トークンとして API キーを送信します。キーには sites.view 権限が付与されている必要があります。権限のないキーは 404 ではなく 403 で拒否されます。

このエンドポイントは組織IDを受け付けません。お使いのキーによって所属する組織がすでに特定されており、レスポンスはその組織にスコープされます。

試してみる

アングルブラケット内のすべてをご自身の値に置き換え、キーのプレースホルダーをご利用中のダッシュボードのキーに置き換えてください。

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

ログインしていますか?ダッシュボード内のAPIコンソールでは、実際の組織IDやお客様ご自身のキーが自動入力され、ライブ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