ID ile Widget Stili Getir
Tek bir widget stilini döner. Çağıran, stilin node'una erişime sahip olmalıdır.
Kimlik Doğrulama: Bearer token gereklidir.
Endpoint: GET /api/v2/widget-styles/{id}
Yol Parametreleri
| Parametre | Tip | Zorunlu | Açıklama |
|---|---|---|---|
| id | string | Evet | Widget stili UUID |
Yanıt — 200 OK
{
"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"
}
| Kod | Açıklama |
|---|---|
| 401 | Yetkisiz |
| 403 | Stilin node'una erişim yok |
| 404 | Widget stili bulunamadı |