public

GET /v1/plugins/{slug}

One plugin's current release.

Всички крайни точки в public

Упълномощаване

Изпратете API ключ като носител (bearer token). Тази точка за достъп не указва конкретно разрешение в спецификацията, затова дайте на ключа си най-малкото необходимо и проверете отговора, вместо да правите предположения.

Този ендпойнт не изисква идентификатор на организация. Вашият ключ вече идентифицира организацията, към която принадлежи, и отговорът е ограничен до нея.

Опитайте

Заменете всичко в квадратни скоби със собствени стойности, а ключовия заместващ символ – с ключ от вашето табло за управление.

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

Влязохте ли в профила си? API конзолата във вашето табло за управление попълва действителното идентификационно число на вашата организация и вашия собствен ключ и изпълнява заявката спрямо реалното API, за да можете да видите действителния отговор. Отворете този крайpoint в API конзолата

Детайли

Public and unauthenticated. A plugin we publish no release of is a `404`.

Параметри

ИмеТипЗадължителноКакво представлява
slug (path)stringДаThe plugin's directory name and text domain, e.g. `zinn-cache`.

Отговор

ИмеТипЗадължителноКакво представлява
kindstring<wordpress_plugin, whmcs_module, hostbill_module, generic_client>ДаWhat this is, and therefore where it is installed. `wordpress_plugin` goes in `wp-content/plugins`; `whmcs_module` in a WHMCS install's `modules/servers/`; `hostbill_module` in…
slugstringДаThe archive's directory name, e.g. `zinn-cache` or `zinn-whmcs`.
namestringДа
versionstringДа
package_sha256stringДаLowercase hex SHA-256 of the archive. The value `downloadPlugin` returns in `X-Zinn-Package-SHA256`, and the one the plugin's own updater checks a download against before WordPr…
package_bytesintegerДа
requires_wpstringНе
requires_phpstringНе
tested_wpstringНеThe WordPress version this release was installed and activated against before it was published — a real test on a real install, not an estimate. Empty means we have not stated o…
changelogstringНе
homepagestringНе
distributionstring<public, app-only>НеWho may download this plugin. `public` — anyone, no account needed, and it is also listed on https://zinndigital.com/wordpress-plugins. `app-only` — signed-in customers only; it…
published_atstringНе

Грешки, които този крайpoint може да върне

404 · 429