哪个 API 操作用于将自定义 ontology 上传到 Azure 数字孪生实例?

Which API operation is used for uploading a custom ontology to an Azure Digital Twins instance?

documentation 中有一段关于 Graph 可扩展性的内容:

Use extensibility to customize the underlying Digital Twins object models with new types and ontologies. Your Digital Twins data also can be enriched with extensible properties and values.

我在 Digital Twins Service Management API 中找到了用于列出、检索和更新预加载本体状态的操作,但没有用于上传新自定义本体的操作。

如果我尝试使用 Update 操作 create/upload 一个新的 Ontology,我会收到一个错误结果:

{
    "error": {
        "code": "404.600.000.001",
        "message": "Specified Ontology was not found."
    }
}

是否可以在 public 预览中上传新本体?如果可以,我应该使用什么 API 操作将我的自定义 ontology 上传到我的数字孪生实例?

谢谢!

在 Ontologies in the swagger documentation 的段落中,我发现了以下内容:

Ontologies are managed by the system and new ontologies or new type names are regularly added. Users can load or unload ontologies.

我现在明白了,这意味着无法添加自定义ontology,只能加载或卸载系统已经提供的。

对于 public 预览版,您无法创作和上传自己的 ontology。目前只有在我们的支持下才能实现此功能。您需要联系我们,我们会为您提供架构并为您上传。但是,这将在 GA 中改变。我们将创建一个具有 public 模式的本体库,我们保留对作者进行认证的权利。认证后,我们会将本体导入平台。我们的目标是公开 publicly 标准化的本体,而不是最终产生成千上万种这样的本体。然而,我知道有些用户可能想要导入新的本体,而不是制作它们 public。这也是我们正在考虑的事情。