Аутентификација

Пошаљите 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.

Одговор

НазивТипОбавезноШта је ово
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…
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…
changelogstringНе—
homepagestringНе—
distributionstring<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_atstringНе—

Грешке које ова крајња тачка може вратити

404 · 429