hosting

GET /v1/wordpress/sites/{siteId}

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

hosting အားလုံးသော အဆုံးသတ်များ

developer စာရွက်စာတမ်းအားလုံး

စစ်မှန်ကြောင်း အတည်ပြုခြင်း

API သော့တစ်ခုကို bearer token အဖြစ် ပို့ပါ။ သော့တွင် sites.view ခွင့်ပြုချက် ပါရှိရမည်ဖြစ်ပြီး၊ ၎င်းမပါရှိသော သော့ကို 404 အစား 403 ဖြင့် ငြင်းပယ်ပါမည်။

ဤ အမှတ်ဆက် (endpoint) သည် အဖွဲ့အစည်း အိုင်ဒီ (organisation id) ကို မယူပါ။ သင်၏ သော့ချက် (key) သည် ၎င်းပိုင်ဆိုင်သည့် အဖွဲ့အစည်းကို အလိုအလျောက် ဖော်ထုတ်ပြီးဖြစ်ကာ တုံ့ပြန်ချက်ကိုလည်း ၎င်းနှင့်သာ ကန့်သတ်ထားမည် ဖြစ်သည်။

စမ်းကြည့်ရန်

ထောင့်ချိတ်များအတွင်းရှိ မည်သည့်အရာကိုမဆို သင်၏ကိုယ်ပိုင်တန်ဖိုးများဖြင့် အစားထိုးပြီး သင့်ဒက်ရှ်ဘုတ်မှ သော့ချက်တစ်ခုဖြင့် key ကို အစားထိုးပါ။

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

ဝင်ရောက်ပြီးပြီလား။ သင့်ဒက်ရှ်ဘုတ်ရှိ API ကွန်ဆိုးလ်တွင် သင့်၏ တကယ့်အဖွဲ့အစည်း ID နှင့် သင့်ကိုယ်ပိုင်သော့ချက်တို့ဖြင့် ဖြည့်သွင်းပေးပြီး တကယ့်တုံ့ပြန်ချက်ကို သင်မြင်နိုင်ရန် တိုက်ရိုက် API (live API) ကို အသုံးပြု၍ တောင်းဆိုမှုကို လုပ်ဆောင်ပေးပါသည်။ ဤအဆုံးသတ်အမှတ် (endpoint) ကို 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