Autenticação
Envie uma chave de API como um token bearer. Este endpoint não especifica uma permissão específica na documentação, portanto, conceda à sua chave o mínimo necessário e verifique a resposta em vez de assumir.
Este endpoint não requer um ID de organização. Sua chave já identifica a organização à qual pertence, e a resposta é delimitada a ela.
Experimente
Substitua qualquer item entre colchetes por seus próprios valores e o espaço reservado para a chave por uma chave do seu painel.
curl -X GET https://api.zinndigital.com/v1/plugins/{slug} \
-H "Authorization: Bearer zdk_live_…"Conectado? O console da API no seu painel preenche o ID da sua organização real e a sua própria chave, e executa a requisição contra a API de produção para que você possa ver a resposta real. Abra este endpoint no console da API
Detalhes
Public and unauthenticated. A plugin we publish no release of is a `404`.
Parâmetros
| Nome | Tipo | Obrigatório | O que é |
|---|---|---|---|
slug (path) | string | Sim | The plugin's directory name and text domain, e.g. `zinn-cache`. |
Resposta
| Nome | Tipo | Obrigatório | O que é |
|---|---|---|---|
kind | string<wordpress_plugin, whmcs_module, hostbill_module, generic_client> | Sim | 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 | Sim | The archive's directory name, e.g. `zinn-cache` or `zinn-whmcs`. |
name | string | Sim | — |
version | string | Sim | — |
package_sha256 | string | Sim | 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 WordPr… |
package_bytes | integer | Sim | — |
requires_wp | string | Não | — |
requires_php | string | Não | — |
tested_wp | string | Não | 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 o… |
changelog | string | Não | — |
homepage | string | Não | — |
distribution | string<public, app-only> | Não | 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 | Não | — |
Erros que este endpoint pode retornar
404 · 429