public

GET /v1/plugins/{slug}

One plugin's current release.

Lahat ng public endpoint

Pagpapatotoo

Magpadala ng API key bilang bearer token. Ang endpoint na ito ay hindi naglatag ng tiyak na pahintulot sa pagtutukoy, kaya ibigay sa iyong key ang pinakamababang kailangan nito at suriin ang tugon sa halip na umasa.

Ang endpoint na ito ay hindi nangangailangan ng id ng organisasyon. Natutukoy na ng iyong key ang organisasyong kinabibilangan nito, at nakatuon ang tugon dito.

Subukan ito

Palitan ang anuman sa loob ng mga panaklong na may anggulo ng iyong sariling mga halaga, at ang placeholder ng key na may key mula sa iyong dashboard.

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

Nakalagda? Ang API console sa iyong dashboard ay awtomatikong naglalagay ng iyong tunay na ID ng organisasyon at sariling susi, at pinapatakbo ang kahilingan laban sa live na API upang makita mo ang aktwal na tugon. Buksan ang endpoint na ito sa console ng API

Mga Detalye

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

Mga Parameter

PangalanUriKailanganAno ito
slug (path)stringOoThe plugin's directory name and text domain, e.g. `zinn-cache`.

Tugon

PangalanUriKailanganAno ito
kindstring<wordpress_plugin, whmcs_module, hostbill_module, generic_client>OoWhat 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…
slugstringOoThe archive's directory name, e.g. `zinn-cache` or `zinn-whmcs`.
namestringOo
versionstringOo
package_sha256stringOoLowercase 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_bytesintegerOo
requires_wpstringHindi
requires_phpstringHindi
tested_wpstringHindiThe 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…
changelogstringHindi
homepagestringHindi
distributionstring<public, app-only>HindiWho 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_atstringHindi

Mga error na maibabalik ng endpoint na ito

404 · 429