hosting

PUT /v1/sites/{siteId}/performance

Update a site's caching and acceleration settings.

ಎಲ್ಲಾ hosting ಎಂಡ್‌ಪಾಯಿಂಟ್‌ಗಳು

ದೃಢೀಕರಣ

ಬೇರರ್ ಟೋಕನ್ ಆಗಿ API ಕೀಯನ್ನು ಕಳುಹಿಸಿ. ಕೀಯು hosting.performance.manage ಅನುಮತಿಯನ್ನು ಹೊಂದಿರಬೇಕು; ಅದನ್ನು ಹೊಂದಿರದ ಕೀಯನ್ನು 404 ಬದಲಿಗೆ 403 ನೊಂದಿಗೆ ತಿರಸ್ಕರಿಸಲಾಗುತ್ತದೆ.

ಈ ಎಂಡ್‌ಪಾಯಿಂಟ್ ಯಾವುದೇ ಸಂಸ್ಥೆಯ ಐಡಿಯನ್ನು ತೆಗೆದುಕೊಳ್ಳುವುದಿಲ್ಲ. ನಿಮ್ಮ ಕೀ ಯು ಈಗಾಗಲೇ ಅದು ಸೇರಿರುವ ಸಂಸ್ಥೆಯನ್ನು ಗುರುತಿಸುತ್ತದೆ ಮತ್ತು ಪ್ರತಿಕ್ರಿಯೆಯನ್ನು ಅದಕ್ಕೆ ಸೀಮಿತಗೊಳಿಸಲಾಗಿದೆ.

ಪ್ರಯತ್ನಿಸಿ

ಕೋನೀಯ ಬ್ರಾಕೆಟ್‌ಗಳಲ್ಲಿರುವ ಯಾವುದೇ ಅಂಶವನ್ನು ನಿಮ್ಮ ಸ್ವಂತ ಮೌಲ್ಯಗಳೊಂದಿಗೆ ಮತ್ತು ಕೀ ಪ್ಲೇಸ್‌ಹೋಲ್ಡರ್ ಅನ್ನು ನಿಮ್ಮ ಡ್ಯಾಶ್‌ಬೋರ್ಡ್‌ನಲ್ಲಿರುವ ಕೀಯೊಂದಿಗೆ ಬದಲಾಯಿಸಿ.

curl -X PUT https://api.zinndigital.com/v1/sites/{siteId}/performance \
  -H "Authorization: Bearer zdk_live_…" \
  -H "Content-Type: application/json" \
  -d '{  }'

ಸೈನ್ ಇನ್ ಆಗಿದ್ದೀರಾ? ನಿಮ್ಮ ಡ್ಯಾಶ್‌ಬೋರ್ಡ್‌ನಲ್ಲಿರುವ API ಕನ್ಸೋಲ್ ನಿಮ್ಮ ನೈಜ ಸಂಸ್ಥೆಯ ID ಮತ್ತು ನಿಮ್ಮ ಸ್ವಂತ ಕೀಲಿಯನ್ನು ಭರ್ತಿ ಮಾಡುತ್ತದೆ, ಮತ್ತು ಲೈವ್ API ವಿರುದ್ಧ ವಿನಂತಿಯನ್ನು ರನ್ ಮಾಡುತ್ತದೆ ಆದ್ದರಿಂದ ನೀವು ನಿಜವಾದ ಪ್ರತಿಕ್ರಿಯೆಯನ್ನು ನೋಡಬಹುದು. API ಕನ್ಸೋಲ್‌ನಲ್ಲಿ ಈ ಎಂಡ್‌ಪಾಯಿಂಟ್ ತೆರೆಯಿರಿ

ವಿವರಗಳು

Merge semantics: every field is optional and only the fields present are applied, so toggling one setting never resets the others. Selecting the `premium` AccelerateWP tier starts the trial and requires a payment method on file, returning `PAYMENT_METHOD_REQUIRED` otherwise. Returns the complete updated resource. Requires `hosting.performance.manage`, and additionally `billing.payment.manage` when changing the AccelerateWP tier.

ಪ್ಯಾರಾಮೀಟರ್‌ಗಳು

ಹೆಸರುಪ್ರಕಾರಅಗತ್ಯವಿದೆಏನಿದು
siteId (path)UuidಹೌದುSite ID (UUIDv7).
Idempotency-Key (header)stringಇಲ್ಲClient-generated key that makes an unsafe request replay-safe: the server stores the first response and returns it verbatim for repeats.

ಅನ್ವಯದ ದೇಹ

ಹೆಸರುಪ್ರಕಾರಅಗತ್ಯವಿದೆಏನಿದು
lscache_enabledbooleanಇಲ್ಲ
object_cache_enabledbooleanಇಲ್ಲ
object_cache_max_ttlintegerಇಲ್ಲ
wp_memory_limitstringಇಲ್ಲA PHP memory shorthand (`256M`, `1G`) or blank to clear the override. Anything PHP cannot parse is rejected with `INVALID_MEMORY_LIMIT` rather than normalised — PHP treats an un…
accelerate_wp_tierAccelerateWpTierಇಲ್ಲThe AccelerateWP tier. `free` is the absence of the upsell, not a tier of it — the free cache layers are separate booleans on `SitePerformance`.

ಪ್ರತಿಕ್ರಿಯೆ

ಹೆಸರುಪ್ರಕಾರಅಗತ್ಯವಿದೆಏನಿದು
site_idUuidಹೌದುUUIDv7 identifier — sortable by creation time (docs/02 §8).
stack_supportedbooleanಹೌದುWhether **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_enabledbooleanಹೌದುLiteSpeed LSCache full-page cache. Free, native to the fleet.
object_cache_enabledbooleanಹೌದುRedis per-site object cache. Free.
object_cache_max_ttlintegerಹೌದುHow long an object-cache entry may live, in seconds. `0` uses the plugin's own default.
wp_memory_limitstringಹೌದು`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…
stackSiteStackStateಹೌದುWhat 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_wpAccelerateWpಹೌದು

ಈ ಎಂಡ್‌ಪಾಯಿಂಟ್ ಹಿಂತಿರುಗಿಸಬಹುದಾದ ದೋಷಗಳು

401 · 403 · 404 · 422 · 429