hosting

GET /v1/sites/{siteId}/performance

Get a site's caching and acceleration settings.

Sve hosting krajnje tačke

Autentifikacija

Pošaljite API ključ kao bearer token. Ključ mora imati dozvolu sites.view; ključ bez nje se odbija sa 403, a ne sa 404.

Ovaj krajnji tačka ne prihvata ID organizacije. Vaš ključ već identifikuje organizaciju kojoj pripada, a odgovor je ograničen na nju.

Isprobajte

Zamenite bilo šta u uglastim zagradama sopstvenim vrednostima, a ključni placeholder sa ključem sa vaše kontrolne table.

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

Prijavljeni ste? API konzola na vašoj kontrolnoj tabli automatski popunjava ID vaše stvarne organizacije i vaš sopstveni ključ, i izvršava zahtev nad API-jem uživo tako da možete videti stvarni odgovor. Otvorite ovu krajnju tačku u API konzoli

Detalji

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

NazivVrstaObaveznoŠta je ovo
siteId (path)UuidDaSite ID (UUIDv7).

Odgovor

NazivVrstaObaveznoŠta je ovo
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

Greške koje ovaj krajnji tačka može da vrati

401 · 403 · 404 · 429