hosting

GET /v1/sites/{siteId}/wordpress/plugins

List the plugins installed on a site's WordPress.

Bütün hosting nöqtələri

Bütün tərtibatçı sənədləri

Doğrulama

API açarını bearer token kimi göndərin. Açar sites.view icazəsinə malik olmalıdır; bu icazəsi olmayan açar 404 deyil, 403 xətası ilə rədd edilir.

Bu endpoint heç bir təşkilat ID-si tələb etmir. Sizin açarınız artıq aid olduğu təşkilatı müəyyən edir və cavab həmin təşkilat üçün məhdudlaşdırılır.

Sınaqdan keçir

Bucaqlı mötərizələrdə olan hór şeyi öz qiymətlərinizlə, açar yertutucusunu isə idarə panelinizdən bir açarla əvəz edin.

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

Sistemə daxil olmusunuz? İdarə panelinizdəki API konsolu real təşkilatınızın identifikatorunu və öz açarınızı avtomatik doldurur, sorğunu canlı API-yə qarşı icra edir ki, siz faktiki cavabı görə biləsiniz. Bu son nöqtəni API konsolunda açın

Təfərrüatlar

Every plugin the install carries, with its activation status, its version, and the version waiting for it. update_version is a string and not a boolean because a screen that can name the waiting version is more useful than one that can only say "update"; it is "" when the plugin is current. ⛔ stack_cache_installed is carried separately and cannot be derived from data: this platform excludes its own cache plugin from the listing, so a client deriving the flag from the rows would answer "not installed" for ever and the install button would never go away. 404 for a site with no vendor hosting package. Requires sites.view.

Parametrlər

AdTipTələb olunurNədir
siteId (path)UuidBəliSite ID (UUIDv7).

Cavab

AdTipTələb olunurNədir
dataSiteWordPressPlugin[]BəliThe installed plugins.
stack_cache_installedbooleanBəliCannot be derived from data. this platform excludes its own server-side cache plugin from the listing, so a client deriving this flag from the rows would answer "not…

Bu son nöqtənin qaytara biləcəyi xətalar

401 · 403 · 404 · 429 · 503