hosting

GET /v1/wordpress/templates

List the WordPress templates a customer may apply.

Semua titik akhir hosting

Pengesahan

Hantar kunci API sebagai token pembawa. Kunci tersebut mesti membawa kebenaran sites.view; kunci yang tidak mempunyainya akan ditolak dengan 403, bukan 404.

Titik akhir ini tidak memerlukan id organisasi. Kunci anda telah mengenal pasti organisasi kepunyaannya, dan respons dis skopkan kepadanya.

Cuba

Gantikan apa sahaja di dalam kurungan sudut dengan nilai anda sendiri, dan pemegang tempat kunci dengan kunci dari papan pemuka anda.

curl -X GET https://api.zinndigital.com/v1/wordpress/templates \
  -H "Authorization: Bearer zdk_live_…"

Sudah log masuk? Konsol API dalam papan pemuka anda mengisi id organisasi sebenar dan kunci anda sendiri, serta menjalankan permintaan terhadap API langsung supaya anda boleh melihat respons sebenar. Buka penamat ini dalam konsol API

Butiran

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`.

Respons

NamaJenisDiperlukanApakah ia
dataWordPressTemplate[]Ya

Ralat yang boleh dikembalikan oleh titik akhir ini

401 · 403 · 429