assetcoreregisterclass_shape
AssetCore هو قاعدة ذاكرة هيكلية حتمية. يخزن جميع حالات العالم بشكل صريح في حاويات ويعدل تلك الحالة من خلال معاملات ذرية قابلة لإعادة التشغيل. قم بتسجيل تعريف شكل الفئة حتى تتمكن مواضع الشبكة من فرض قواعد الهندسة.
التفاصيل
AssetCore هو قاعدة ذاكرة هيكلية حتمية. يخزن جميع حالات العالم بشكل صريح في حاويات ويعدل تلك الحالة من خلال معاملات ذرية قابلة لإعادة التشغيل. قم بتسجيل تعريف شكل الفئة حتى تتمكن مواضع الشبكة من فرض قواعد الهندسة.
يتصل POST /v1/write/namespaces/{namespace_id}/register_class_shape بخدمة الكتابة. حقول الإدخال: class_id، stack_key؟، shape، idempotency_key؟. تفرض الخدمة التحكم في الوصول القائم على الأدوار (RBAC)، وتحديد فئات السياسات، والحصة؛ الطلبات المرفوضة تعيد أخطاء منظمة مع auth_reason.
البروتوكولات
- MCP
- أوبن أيه آي
- جمني
مخطط الإدخال
{
"properties": {
"class_id": {
"description": "Class receiving the registration.",
"maxLength": 128,
"minLength": 1,
"pattern": "^[A-Za-z0-9._~\\-]+$",
"type": "string"
},
"idempotency_key": {
"description": "Optional idempotency key to deduplicate retries",
"type": "string"
},
"namespace_id": {
"description": "Required namespace identifier for all namespaced operations.",
"minimum": 1,
"type": "integer"
},
"shape": {
"description": "Geometric footprint for the class variant.",
"properties": {
"height": {
"description": "Height in grid cells.",
"minimum": 1,
"type": "integer"
},
"width": {
"description": "Width in grid cells.",
"minimum": 1,
"type": "integer"
}
},
"required": [
"width",
"height"
],
"type": "object"
},
"stack_key": {
"description": "Optional variant discriminator.",
"oneOf": [
{
"type": "null"
},
{
"minimum": 0,
"type": "integer"
}
]
}
},
"required": [
"class_id",
"shape",
"namespace_id"
],
"type": "object"
}
أمثلة
لا توجد أمثلة متاحة حاليًا لهذه الأداة.