Ana içeriğe geç

Widget Stillerini Listele

Mevcut node'a ve alt node'larına ait stil ön ayarlarını döner. Her ön ayar, v2 ödeme widget'ı başlatılırken id ile referans verilebilir.

Kimlik Doğrulama: Bearer token gereklidir.

Endpoint: GET /api/v2/widget-styles


Sorgu Parametreleri

ParametreTipZorunluVarsayılanAçıklama
pageintHayır1Sayfa numarası
per_pageintHayır10Sayfa başına öğe (max 100)

Yanıt — 200 OK

{
"items": [
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"node_id": "550e8400-e29b-41d4-a716-446655440100",
"name": "Marka aydınlık",
"primary_color": "#3b82f6",
"secondary_color": "#6b7280",
"background_color": "#ffffff",
"surface_color": "#f9fafb",
"text_color": "#111827",
"muted_text_color": "#6b7280",
"border_color": "#e5e7eb",
"font_family": "system-ui, -apple-system, \"Segoe UI\", Roboto, sans-serif",
"font_size_base": 14,
"font_size_heading": 20,
"font_weight_heading": 600,
"border_radius": 12,
"custom_css": "",
"created_at": "2026-04-25T10:00:00Z",
"updated_at": "2026-04-25T10:00:00Z"
}
],
"page": 1,
"per_page": 10,
"total": 1
}
KodAçıklama
401Yetkisiz (token eksik veya geçersiz)
403Mevcut node'a erişim yok