public

GET /v1/plugins/{slug}

One plugin's current release.

Wszystkie punkty końcowe public

Uwierzytelnianie

Wyślij klucz API jako token bearer. Ten punkt końcowy nie określa konkretnego uprawnienia w specyfikacji, więc nadaj swojemu kluczowi minimum potrzebnych uprawnień i sprawdź odpowiedź zamiast zakładać.

Ten punkt końcowy nie wymaga identyfikatora organizacji. Twój klucz już identyfikuje organizację, do której należy, a odpowiedź jest do niej ograniczona.

Wypróbuj

Zastąp wszystko w nawiasach ostrych własnymi wartościami, a zastępczy znacznik klucza kluczem ze swojego pulpitu nawigacyjnego.

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

Zalogowany? Konsola API w Twoim panelu uzupełnia rzeczywiste identyfikator organizacji oraz Twój własny klucz i wykonuje żądanie względem aktywnego API, dzięki czemu możesz zobaczyć rzeczywistą odpowiedź. Otwórz ten punkt końcowy w konsoli API

Szczegóły

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

Parametry

NazwaTypWymaganeCo to jest
slug (path)stringTakThe plugin's directory name and text domain, e.g. `zinn-cache`.

Odpowiedź

NazwaTypWymaganeCo to jest
kindstring<wordpress_plugin, whmcs_module, hostbill_module, generic_client>TakWhat 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…
slugstringTakThe archive's directory name, e.g. `zinn-cache` or `zinn-whmcs`.
namestringTak
versionstringTak
package_sha256stringTakLowercase 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_bytesintegerTak
requires_wpstringNie
requires_phpstringNie
tested_wpstringNieThe 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…
changelogstringNie
homepagestringNie
distributionstring<public, app-only>NieWho 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_atstringNie

Błędy, które ten punkt końcowy może zwrócić

404 · 429