hosting

GET /v1/sites/{siteId}/performance

Get a site's caching and acceleration settings.

Toate punctele finale hosting

Autentificare

Trimiteți o cheie API ca token de tip bearer. Cheia trebuie să aibă permisiunea sites.view; o cheie care nu o are va fi respinsă cu 403, nu 404.

Acest endpoint nu necesită un ID de organizație. Cheia ta identifică deja organizația căreia îi aparține, iar răspunsul este limitat la aceasta.

Încearcă

Înlocuiți tot ce se află între paranteze unghiulare cu propriile valori și substituentul cheie cu o cheie din tabloul de bord.

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

Autentificat? Consola API din panoul de control îți completează ID-ul real al organizației și propria cheie și rulează cererea în API-ul live, astfel încât să poți vedea răspunsul efectiv. Deschideți acest punct final în consola API

Detalii

The free server-side cache layers (LiteSpeed LSCache, Redis object cache) plus the AccelerateWP premium upsell and its trial state. The row is created on first read, so a site that has never been configured returns defaults rather than 404. Requires `sites.view`.

Parametri

NumeTipObligatoriuCe este
siteId (path)UuidDaSite ID (UUIDv7).

Răspuns

NumeTipObligatoriuCe este
site_idUuidDaUUIDv7 identifier — sortable by creation time (docs/02 §8).
stack_supportedbooleanDaWhether **we** configure this site's web stack, so the controls below can take effect at all. Every control on this resource is applied over our **own** CloudLinux + LiteSpeed f…
lscache_enabledbooleanDaLiteSpeed LSCache full-page cache. Free, native to the fleet.
object_cache_enabledbooleanDaRedis per-site object cache. Free.
object_cache_max_ttlintegerDaHow long an object-cache entry may live, in seconds. `0` uses the plugin's own default.
wp_memory_limitstringDa`WP_MEMORY_LIMIT` for this site, e.g. `256M`; blank leaves WordPress's default. This is the per-site memory control: Redis has no per-user memory quota, so a shared instance can…
stackSiteStackStateDaWhat the site's SERVER actually has, read back from it — never what was requested. The fields above this one are desired state: both cache flags default to true, so a surface th…
accelerate_wpAccelerateWpDa

Erori pe care le poate returna acest punct final

401 · 403 · 404 · 429