public

GET /v1/plugins/{slug}

One plugin's current release.

Všechny koncové body public

Všechny dokumenty pro vývojáře

Autentizace

Odešlete klíč API jako bearer token. Tento koncový bod ve specifikaci uvádí specifické oprávnění, takže svému klíči udělte to nejmenší možné a místo předpokladů zkontrolujte odpověď.

Tento koncový bod nevyžaduje žádné ID organizace. Váš klíč již identifikuje organizaci, ke které patří, a odpověď je na ni omezena.

Vyzvednout

Nahraďte cokoli v závorkách vlastními hodnotami a zástupný symbol klíče klíčem z vašeho řídicího panelu.

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

Přihlášeni? Konzole API ve vašem dashboardu automaticky doplní vaše skutečné ID organizace i váš vlastní klíč a odešle požadavek na živé API, abyste viděli reálnou odpověď. Otevřete tento koncový bod v konzoli API

Podrobnosti

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

Parametry

NázevTypPožadovánoCo to je
slug (path)stringAnoThe plugin's directory name and text domain, e.g. zinn-cache.

Odpověď

NázevTypPožadovánoCo to je
kindstring<wordpress_plugin, whmcs_module, hostbill_module, generic_client>AnoWhat 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…
slugstringAnoThe archive's directory name, e.g. zinn-cache or zinn-whmcs.
namestringAno
versionstringAno
package_sha256stringAnoLowercase 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_bytesintegerAno
requires_wpstringNe
requires_phpstringNe
tested_wpstringNeThe 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…
changelogstringNe
homepagestringNe
distributionstring<public, app-only>NeWho 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_atstringNe

Chyby, které může tento koncový bod vrátit

404 · 429