hosting

GET /v1/sites/{siteId}/performance

Get a site's caching and acceleration settings.

Všechny koncové body hosting

Autentizace

Zašlete API klíč jako nosný token (bearer token). Klíč musí mít oprávnění sites.view; klíč bez něj je odmítnut s kódem 403, nikoli 404.

Tento koncový bod nevyžaduje žádné ID organizace. Váš klíč již identifikuje organizaci, ke které patří, a odpověď je na ni omezena.

Vyzvednout

Nahraďte cokoli v závorkách vlastními hodnotami a zástupný symbol klíče klíčem z vašeho řídicího panelu.

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

Přihlášeni? Konzole API ve vašem dashboardu automaticky doplní vaše skutečné ID organizace i váš vlastní klíč a odešle požadavek na živé API, abyste viděli reálnou odpověď. Otevřete tento koncový bod v konzoli API

Podrobnosti

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`.

Parametry

NázevTypPožadovánoCo to je
siteId (path)UuidAnoSite ID (UUIDv7).

Odpověď

NázevTypPožadovánoCo to je
site_idUuidAnoUUIDv7 identifier — sortable by creation time (docs/02 §8).
stack_supportedbooleanAnoWhether **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_enabledbooleanAnoLiteSpeed LSCache full-page cache. Free, native to the fleet.
object_cache_enabledbooleanAnoRedis per-site object cache. Free.
object_cache_max_ttlintegerAnoHow long an object-cache entry may live, in seconds. `0` uses the plugin's own default.
wp_memory_limitstringAno`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…
stackSiteStackStateAnoWhat 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_wpAccelerateWpAno

Chyby, které může tento koncový bod vrátit

401 · 403 · 404 · 429