hosting
GET /v1/wordpress/templates
List the WordPress templates a customer may apply.
Doğrulama
API açarını bearer token kimi göndərin. Açar sites.view icazəsinə malik olmalıdır; bu icazəsi olmayan açar 404 deyil, 403 xətası ilə rədd edilir.
Bu endpoint heç bir təşkilat ID-si tələb etmir. Sizin açarınız artıq aid olduğu təşkilatı müəyyən edir və cavab həmin təşkilat üçün məhdudlaşdırılır.
Sınaqdan keçir
Bucaqlı mötərizələrdə olan hór şeyi öz qiymətlərinizlə, açar yertutucusunu isə idarə panelinizdən bir açarla əvəz edin.
curl -X GET https://api.zinndigital.com/v1/wordpress/templates \
-H "Authorization: Bearer zdk_live_…"Sistemə daxil olmusunuz? İdarə panelinizdəki API konsolu real təşkilatınızın identifikatorunu və öz açarınızı avtomatik doldurur, sorğunu canlı API-yə qarşı icra edir ki, siz faktiki cavabı görə biləsiniz. Bu son nöqtəni API konsolunda açın
Təfərrüatlar
The published `Blueprint` versions for the product lines the caller actually has WordPress sites on. ⛔ The **existing** blueprint, not a second "template" concept: a platform with two answers to *"what is this site made of"* has neither. Drafts are excluded — an unpublished blueprint's spec is still editable, so offering one would let the thing the customer applied change afterwards. Each row carries the plugin slugs the template declares, so a customer can see what applying it will put on their site **before** they apply it. Requires `sites.view`.
Cavab
| Ad | Tip | Tələb olunur | Nədir |
|---|---|---|---|
data | WordPressTemplate[] | Bəli | — |
Bu son nöqtənin qaytara biləcəyi xətalar
401 · 403 · 429