AI开发平台MODELARTS-查询插件模板:响应示例

时间:2024-12-31 14:10:38

响应示例

状态码: 200

OK。

{
  "apiVersion" : "v1",
  "kind" : "PluginTemplate",
  "metadata" : {
    "name" : "npu-driver"
  },
  "spec" : {
    "type" : "npuDriver",
    "description" : "npu driver",
    "versions" : { }
  }
}

状态码: 404

Not Found。

{
  "error_code" : "ModelArts.50005101",
  "error_msg" : "Plugintemplate {name} not found."
}
support.huaweicloud.com/api-modelarts/ShowPluginTemplate.html