themes
5 endpoints · /api/web/v1/themes
Request examples are generated from each endpoint's REAL method and path. 5 endpoints have no hand-verified body example yet; their skeleton has no body — we do not invent field names.
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ı?