hosting

GET /v1/sites/{siteId}/cdn/tiered-cache

Read tiered caching and smart routing for a site's zone.

Vituo vyote vya hosting

Uthibitishaji

Tuma ufunguo wa API kama tokeni ya kubeba. Ufunguo lazima uwe na ruhusa ya sites.view; ufunguo usio nayo unakataliwa kwa 403, si 404.

Endpoint hii haichukui kitambulisho cha shirika. Ufunguo wako tayari unalitambua shirika linalohusika, na jibu limewekewa kikomo kwa shirika hilo pekee.

Jaribu

Badilisha chochote kilicho ndani ya mabano ya pembe na maadili yako mwenyewe, na kishikiliaji cha ufunguo na ufunguo kutoka kwa dashibodi yako.

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

Umeingia kwenye akaunti? Dashibodi yako ya kiweko cha API inajaza kitambulisho chako halisi cha shirika na ufunguo wako mwenyewe, na kuendesha ombi dhidi ya API ya moja kwa moja ili uweze kuona jibu halisi. Fungua sehemu hii ya mwisho (endpoint) kwenye konsole ya API

Maelezo

`supported` is a fact about the **driver**; `tiered_cache_editable` is a fact about the **zone's plan**, and they are reported separately because a driver that can write the setting in general still cannot write it for a customer on a free plan — measured, the provider answers `editable: false` there. `smart_routing` is `null`, never `false`, when the provider refuses to report it at all. `false` would tell a customer that a paid feature they are not buying is simply switched off. Requires `sites.view`.

Vigezo

JinaAinaInayohitajikaKilicho hiki
siteId (path)UuidNdiyoSite ID (UUIDv7).

Majibu

JinaAinaInayohitajikaKilicho hiki
site_idUuidNdiyoUUIDv7 identifier — sortable by creation time (docs/02 §8).
supportedbooleanNdiyoA fact about the **driver** — whether this provider has the feature at all.
tiered_cachebooleanNdiyo
tiered_cache_editablebooleanNdiyoA fact about the **zone's plan**, reported separately from `supported`. A free zone answers `false` and the control must be disabled rather than offering a save the provider wil…
smart_routingbooleanNdiyo`null` — never `false` — when the provider refuses to report it. `false` would tell a customer that a paid feature they are not buying is switched off.
smart_routing_editablebooleanNdiyo

Hitilafu ambazo mwisho huu unaweza kurudisha

401 · 403 · 404 · 429 · 503