認証
ベアラー トークンとして API キーを送信します。このエンドポイントでは仕様に特定の権限が記載されていないため、キーに必要な最小限の権限を付与し、推測するのではなくレスポンスを確認してください。
このエンドポイントは組織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`. |
返信
| 名前 | タイプ | 必須 | これがその内容です |
|---|---|---|---|
kind | string<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… |
slug | string | はい | The archive's directory name, e.g. `zinn-cache` or `zinn-whmcs`. |
name | string | はい | — |
version | string | はい | — |
package_sha256 | string | はい | 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 | はい | — |
requires_wp | string | いいえ | — |
requires_php | string | いいえ | — |
tested_wp | string | いいえ | 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 | いいえ | — |
homepage | string | いいえ | — |
distribution | string<public, app-only> | いいえ | 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 | いいえ | — |
このエンドポイントが返すエラー
404 · 429