themes
5 uç · /api/web/v1/themes
İstek örnekleri ucun GERÇEK metodu ve yolundan üretilir. 5 ucun elle doğrulanmış gövde örneği henüz yok; o uçlarda iskelet gövdesizdir — uydurma bir alan yazmıyoruz.
GET /api/web/v1/library/{id} — gövdeyi getir (yapıştırma için).
OturumYol parametresi:
themeİstek
curl -X GET "https://{slug}--panel.web.blesyum.app/api/web/v1/themes/<theme>" \
-H "Authorization: Bearer <oturum-token>" \
-H "Accept: application/json"Yanıt
{
"data": "…",
"trace_id": "01JC…"
}DELETE /api/web/v1/themes/{theme}
OturumYol parametresi:
theme🔴 Bir sitede AKTİF olan tema kaldırılamaz. FK on delete set nulldır:
silmek siteyi sessizce temasız bırakır ve ziyaretçi o an yerleşik varsayılan
temaya düşer — müşterinin canlı sitesi habersizce başka görünür. Sebep
SÖYLENİR ve kaç site olduğu yazılır.
İstek
curl -X DELETE "https://{slug}--panel.web.blesyum.app/api/web/v1/themes/<theme>" \
-H "Authorization: Bearer <oturum-token>" \
-H "Accept: application/json"Yanıt
{
"data": "…",
"trace_id": "01JC…"
}PUT /api/web/v1/themes/{theme}/settings
OturumYol parametresi:
theme⚠ Yama (coalesce) DEĞİL, **birleştirme**: verilmeyen anahtar DEĞİŞMEZ,
null verilen anahtar TEMİZLENİR. İki AYRI niyet, iki AYRI davranış
(ayarlar.rsin aynı sözleşmesi).
İstek
curl -X PUT "https://{slug}--panel.web.blesyum.app/api/web/v1/themes/<theme>/settings" \
-H "Authorization: Bearer <oturum-token>" \
-H "Accept: application/json"Yanıt
{
"data": "…",
"trace_id": "01JC…"
}Bu sayfa işine yaradı mı?