public
GET /v1/plugins/{slug}
One plugin's current release.
การยืนยันตัวตน
ส่ง API key เป็น bearer token เอนด์พอยต์นี้ไม่ได้ระบุสิทธิ์การใช้งานเฉพาะในข้อกำหนด ดังนั้นควรให้คีย์ของคุณมีสิทธิ์น้อยที่สุดเท่าที่จำเป็นและให้ตรวจสอบจากการตอบกลับแทนที่จะคาดเดา
ปลายทางนี้ไม่ต้องใช้รหัสองค์กร คีย์ของคุณระบุองค์กรที่เป็นเจ้าของอยู่แล้ว และการตอบกลับจะถูกจำกัดขอบเขตไว้เฉพาะองค์กรนั้น
ทดลองใช้เลย
แทนที่สิ่งใดๆ ที่อยู่ภายในวงเล็บแหลมด้วยค่าของคุณเอง และตัวยึดตำแหน่งคีย์ด้วยคีย์จากแดชบอร์ดของคุณ
curl -X GET https://api.zinndigital.com/v1/plugins/{slug} \
-H "Authorization: Bearer zdk_live_…"เข้าสู่ระบบแล้วใช่ไหม คอนโซล API ในแดชบอร์ดของคุณจะเติมรหัสองค์กรจริงและคีย์ของคุณเองโดยอัตโนมัติ และทำการส่งคำขอไปยัง 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… |
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… |
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