hosting

GET /v1/sites/{siteId}/hosting

Get the hosting package a site runs on.

Dhammaan hosting bixiyayaasha

Xaqiijinta aqoonsiga

U dir furaha API ah calaamad dusha ah (bearer token). Furaha waa inuu wataa ruqadda sites.view; furaha aan wadan waxaa loo diidayaa 403, ee ma aha 404.

Boggan ma qaato aqoonsiga ururka. Furahaagu wuxuu horay u aqoonsanayaa ururka uu ka tirsan yahay, jawaabtuna waxay ku kooban tahay halkaas.

Isku day

Ku beddel wax kasta oo ku dhex jira qeebaha xaglaha ah qiimayaashaada, sidoo kalena haystaaha furaha ku beddel fure ka dhex muuqda dashboordigaaga.

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

Ma sign-garaysay? Qalabka API ee ku jira dashboard-kaagu wuxuu buuxiyaa aqoonsigaaga ururka ee dhabta ah iyo furahaaga gaarka ah, wuxuuna ku shaqeysiiyaa codsiga API-ga nool si aad u aragto jawaabta dhabta ah. Kani ka fur barta kontoroolka ee API

Details

The customer-facing control surface for a site on the resold hosting range (docs/62 §3.7): which package template it was created on, which data centre it lives in, and what that package can actually do. `features` are **generated** from the vendor's own 107-key capability matrix and mapped to our stable machine identifiers, so a feature can never be advertised after the capability behind it is gone (docs/62 §6g). They are i18n key suffixes, not display text: the client renders each as `hosting.feature.<id>`. A site that does not run on a vendor hosting package — anything on our own fleet — has no such resource and returns `404`, exactly as an out-of-scope or unknown id does. Requires `sites.view`.

Cabiraha

MagacaNoocLoo baahan yahayMaxay tahay
siteId (path)UuidHaaSite ID (UUIDv7).

Jawaab

MagacaNoocLoo baahan yahayMaxay tahay
deploy_targetstringHaaWhere the site runs (a `DeployTarget` value, e.g. `twentyi_shared`). A machine identifier the client localises, never rendered raw.
package_typestringHaaThe vendor package-template reference the site was created on. Staff-facing: it ties a support conversation to a template.
package_type_labelstringHaaThe package template's own label at the vendor. **Staff-facing only** — it is vendor-authored English and must not be rendered to a customer (§2.7).
locationstringHaaThe data centre code the site lives in, or empty when the customer chose none and the vendor's default applied.
featuresstring[]HaaOur stable feature identifiers, generated from the vendor's capability matrix. i18n key suffixes (`hosting.feature.<id>`), never display text and never a vendor string. A capabi…
allowancesobjectHaaCustomer-visible quantities, keyed by our stable identifier.
readybooleanHaaWhether the vendor reports the package's setup as complete. Reported rather than inferred from the site's status: our row says what we asked for, this says what the vendor finis…

Cilladaha ay bartaani soo celin karto

401 · 403 · 404 · 429 · 503