Skip to main content
POST
يحفظ سمة جديدة، على مضيف Management API (‏api.scanova.io‏)، مع المصادقة باستخدام مفتاح Management API الخام الخاص بك.
string
مطلوب
اسم السمة، بحد أقصى 100 حرف. تُرفَض الأسماء الفارغة أو التي تحتوي على مسافات فقط.
object
مطلوب
رموز التصميم (الألوان والخطوط وما إلى ذلك) وفق مخطط ThemeConfigV2 — يُتحقَّق منها في جانب الخادم.
يُنشَأ slug من قِبل الخادم ولا يمكن تعيينه مباشرة. يُعاد 400 إذا كانت name فارغة أو فشل config_json في التحقق من مخطط ThemeConfigV2.

ذات صلة

التفويضات

Authorization
string
header
مطلوب

Send your Management API key as the raw value of the Authorization header — no "Bearer " or "Token " prefix, and no other characters. Example: Authorization: 401f7ac837da42b97f613d789819ff93537bee6a. A header containing more than one space-separated part is rejected outright. Requests also require the request's Host header to be the management API host (e.g. api.scanova.io) — the same key sent to the regular API host will not authenticate.

الاستجابة

Theme created.