医疗智能体 EIHEALTH-创建数据库实例:请求示例

时间:2024-05-11 08:28:28

请求示例

创建数据库实例,名称为demo-instance,模板ID为56e0f1b0-ac10-46a5-8fa7-b26831d7d488,导入test-project-01项目中db_test1.txt文件的数据,分隔符为string

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

{
  "name" : "demo-instance",
  "template_id" : "56e0f1b0-ac10-46a5-8fa7-b26831d7d488",
  "description" : "description",
  "import_data" : {
    "files" : [ "test-project-01:/db_test1.txt" ],
    "delimiter" : "string",
    "skip_lines" : 0
  }
}
support.huaweicloud.com/api-eihealth/CreateInstance.html