public
GET /v1/plugins/{slug}
One plugin's current release.
Аутентификација
Пошаљите API кључ као bearer токен. Ова крајња тачка не наводи конкретну дозволу у спецификацији, па свом кључу доделите најмања неопходна овлашћења и проверите одговор уместо да претпостављате.
Ова крајња тачка не прихвата id организације. Ваш кључ већ идентификује организацију којој припада, а одговор је ограничен на њу.
Испробајте
Замените све што је у угластим заградама сопственим вредностима, а чувар места кључа кључем са своје контролне табле.
curl -X GET https://api.zinndigital.com/v1/plugins/{slug} \
-H "Authorization: Bearer zdk_live_…"Пријављени сте? API конзола на вашој контролној табли попуњава ваш прави id организације и ваш сопствени кључ, и покреће захтев према живом API-ју како бисте могли да видите стварни одговор. Отворите ову крајњу тачку у 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. |
Одговор
| Назив | Тип | Обавезно | Шта је ово |
|---|---|---|---|
kind | string<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… |
slug | string | Да | The archive's directory name, e.g. zinn-cache or zinn-whmcs. |
name | string | Да | — |
version | string | Да | — |
package_sha256 | string | Да | 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… |
package_bytes | integer | Да | — |
requires_wp | string | Не | — |
requires_php | string | Не | — |
tested_wp | string | Не | 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… |
changelog | string | Не | — |
homepage | string | Не | — |
distribution | string<public, app-only, licensed> | Не | 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_at | string | Не | — |
Грешке које ова крајња тачка може вратити
404 · 429