医疗智能体 EIHEALTH-创建模板:请求示例

时间:2024-05-10 16:07:33

请求示例

创建模板,模板名为demo-template,有一列名为colum1,类型为Long,值不可为null,且为主键,可搜索

https://eihealth.cn-north-4.myhuaweicloud.com/v1/{project_id}/eihealth-projects/{eihealth_project_id}/templates

{
  "name" : "demo-template",
  "description" : "description",
  "columns" : [ {
    "name" : "column1",
    "type" : "Long",
    "description" : "description",
    "nullable" : false,
    "primary" : true,
    "searchable" : true,
    "unique" : true,
    "tips" : "tips"
  } ]
}
support.huaweicloud.com/api-eihealth/CreateTemplate.html