华为云用户手册

  • URI GET /v1/{project_id}/eihealth-projects/{eihealth_project_id}/data-jobs/{data_job_id} 表1 路径参数 参数 是否必选 参数类型 描述 data_job_id 是 String 数据作业id 最小长度:1 最大长度:128 eihealth_project_id 是 String 平台项目ID,您可以在平台单击所需的项目名称,进入项目设置页面查看。 最小长度:1 最大长度:128 project_id 是 String 华为云项目ID,您可以从获取项目ID中获取。 最小长度:1 最大长度:128
  • 响应示例 状态码: 200 OK { "complete_data" : [ "demo" ], "running_data" : [ "demo" ], "creator" : "creator", "source_project_id" : "fce1376b-72f9-4d15-9f95-9b533cb988ab", "source_project_name" : "source-project", "id" : "94116a6b-1945-4581-b64c-2cea712988ab", "name" : "DataDelete-20210421093037", "sources" : [ "demo" ], "create_time" : "2021-04-21T09:30:37Z", "end_time" : "2021-04-21T09:30:37Z", "status" : "SUCCEED", "destinations" : [ "demo" ], "type" : "DELETE_DATA", "failed_reason" : "failed reason" }
  • 响应参数 状态码: 200 表3 响应Body参数 参数 参数类型 描述 complete_data Array of strings 已完成的数据列表 running_data Array of strings 正在执行的数据列表 creator String 数据作业创建者 source_project_id String 非本项目操作场景下源项目名称 source_project_name String 非本项目操作场景下源项目名称 id String 数据作业ID name String 数据作业名称 sources Array of strings 数据列表 create_time String 数据作业创建时间 end_time String 数据作业结束时间 status String 数据作业状态 destinations Array of strings 数据列表 type String 数据作业类型 failed_reason String 数据作业失败原因 additions String 附加信息
  • URI GET /v1/{project_id}/eihealth-projects/{eihealth_project_id}/nextflow/jobs/{job_id}/tasks/{task_id}/logs 表1 路径参数 参数 是否必选 参数类型 描述 eihealth_project_id 是 String 平台项目ID,您可以在平台单击所需的项目名称,进入项目设置页面查看。 最小长度:1 最大长度:128 project_id 是 String 华为云项目ID,您可以从获取项目ID中获取。 最小长度:1 最大长度:128 job_id 是 String 作业id 最小长度:1 最大长度:128 task_id 是 String 任务id 最小长度:1 最大长度:128
  • 响应示例 状态码: 200 OK { "count" : 1, "logs" : [ "Nextflow task log" ], "download_url" : "https://nextflow-cn-north-4-07d79450.obs.cn-north-4.ulanqab.huawei.com/__nextflow_run__/xxx-xxx-xxx/xx-xxxx-xxxxx/DAG.png?AccessKeyId=ABCDE&Expires=1676759470&Signature=DDDDD" }
  • 响应示例 状态码: 200 OK [ { "id" : "baabcb56-5bb6-11eb-8a0d-fa163e3ddba1", "status" : "SUCCEEDED", "message" : "string" } ] 状态码: 207 MULTI_STATUS [ { "id" : "baabcb56-5bb6-11eb-8a0d-fa163e3ddba1", "status" : "SUCCEEDED", "message" : "string" }, { "id" : "baabcb56-5bb6-11eb-8a0d-fa163e3ddba2", "status" : "FAILED", "message" : "string" } ]
  • 请求示例 批量重试作业,重试如下两个作业。 https://eihealth.cn-north-4.myhuaweicloud.com/v1/{project_id}/eihealth-projects/{eihealth_project_id}/jobs/batch-retry { "ids" : [ "baabcb56-5bb6-11eb-8a0d-fa163e3ddba1", "baabcb56-5bb6-11eb-8a0d-fa163e3ddba2" ] }
  • URI POST /v1/{project_id}/eihealth-projects/{eihealth_project_id}/jobs/batch-retry 表1 路径参数 参数 是否必选 参数类型 描述 project_id 是 String 华为云项目ID,您可以从获取项目ID中获取。 最小长度:1 最大长度:128 eihealth_project_id 是 String 平台项目ID,您可以在平台单击所需的项目名称,进入项目设置页面查看。 最小长度:1 最大长度:128
  • 请求参数 表2 请求Header参数 参数 是否必选 参数类型 描述 X-Auth-Token 是 String 用户Token。Token认证就是在调用API的时候将Token加到请求消息头,从而通过身份认证,获得操作API的权限,获取Token接口响应消息头中X-Subject-Token的值即为Token。 表3 请求Body参数 参数 是否必选 参数类型 描述 ids 是 Array of strings 批量操作作业id列表 最小长度:1 最大长度:128 数组长度:1 - 50
  • 响应参数 状态码: 200 表4 响应Body参数 参数 参数类型 描述 [数组元素] Array of BatchOperateJobRsp objects OK 表5 BatchOperateJobRsp 参数 参数类型 描述 id String 作业id status String 批量操作作业的结果 枚举值: SUCCEEDED FAILED message String 操作结果失败信息,仅在操作失败时会返回 状态码: 207 表6 响应Body参数 参数 参数类型 描述 [数组元素] Array of BatchOperateJobRsp objects MULTI_STATUS 表7 BatchOperateJobRsp 参数 参数类型 描述 id String 作业id status String 批量操作作业的结果 枚举值: SUCCEEDED FAILED message String 操作结果失败信息,仅在操作失败时会返回
  • 响应参数 状态码: 200 表4 响应Body参数 参数 参数类型 描述 count Integer 消息总数 messages Array of MessageRsp objects 消息列表 表5 MessageRsp 参数 参数类型 描述 message_type String 消息类型 eihealth_project_name String 项目名称 resource_type String 资源类型 resource_name String 资源名称 operator String 操作用户 status String 状态 operate_time String 操作时间 message_detail String 详情
  • URI GET /v1/{project_id}/messages 表1 路径参数 参数 是否必选 参数类型 描述 project_id 是 String 华为云项目ID,您可以从获取项目ID中获取。 最小长度:1 最大长度:128 表2 Query参数 参数 是否必选 参数类型 描述 eihealth_project_name 否 String 医疗智能体项目名 最小长度:1 最大长度:128 limit 否 Integer 查询条数 最小值:1 最大值:1000 缺省值:100 message_type 否 String 消息类型 最小长度:1 最大长度:128 offset 否 Integer 查询偏移量 最小值:0 最大值:100000000 缺省值:0 operator 否 String 操作者名称 最小长度:1 最大长度:128 resource_type 否 String 资源类型 最小长度:1 最大长度:128 status 否 String 操作状态 最小长度:1 最大长度:128
  • 响应示例 状态码: 200 OK { "count" : 1, "messages" : [ { "message_type" : "PROJECT_DELETE", "eihealth_project_name" : "project-example-01", "resource_type" : "workflow_resource", "resource_name" : "WORKFLOW", "operator" : "operator-example-01", "status" : "SUCCEEDED", "operate_time" : "2021-01-15T02:45:38Z", "message_detail" : "message detail" } ] }
  • URI DELETE /v1/{project_id}/assets/{asset_id}/versions/{version} 表1 路径参数 参数 是否必选 参数类型 描述 asset_id 是 String 资产id 最小长度:1 最大长度:128 project_id 是 String 华为云项目ID,您可以从获取项目ID中获取。 最小长度:1 最大长度:128 version 是 String version 最小长度:1 最大长度:128
  • URI DELETE /v1/{project_id}/eihealth-projects/{eihealth_project_id}/members/{user_id} 表1 路径参数 参数 是否必选 参数类型 描述 eihealth_project_id 是 String 平台项目ID,您可以在平台单击所需的项目名称,进入项目设置页面查看。 最小长度:1 最大长度:128 project_id 是 String 华为云项目ID,您可以从获取项目ID中获取。 最小长度:1 最大长度:128 user_id 是 String 被移除项目的用户id 最小长度:1 最大长度:128
  • 错误码(医疗智能体与盘古辅助制药平台) 当您调用API时,如果遇到“APIGW”开头的错误码,请参见API网关错误码进行处理。 状态码 错误码 错误信息 处理措施 400 eihealth.01080004 Each user can only favorite a maximum of 50 assets. 检查已收藏资产个数是否超过配额限制。 404 eihealth.01080002 The asset does not exist 检查资产id是否存在。 404 eihealth.01080003 This version does not exist 检查该版本是否存在。 400 eihealth.01040001 Invalid template content. 检查模板内容是否符合格式要求。 400 eihealth.01040002 Duplicate columns are not allowed. 检查定义的列名是否重复。 400 eihealth.01040003 Nullable cannot be set for columns that are set as primary keys. 检查设置为主键的列是否设置为允许为空。 400 eihealth.01040004 The uploaded template cannot be empty. 检查上传的模板文件内容是否已填写。 400 eihealth.01040005 The template file name extension can only be yaml or yml. 检查文件后缀名是否为yaml或yml。 400 eihealth.01040007 Templates cannot be referenced or imported from the same project. 检查导入模板列表中是否包含本项目模板。 400 eihealth.01040008 Duplicate templates are selected for importing. 检查导入模板列表中是否有重复的模板。 400 eihealth.01040010 Template {0} is an imported one. It cannot be imported to other projects. 检查导入模板列表中是否有源项目的导入模板。 400 eihealth.01040011 Invalid template file name. 检查模板文件名是否合法。 400 eihealth.01040012 Built-in templates cannot be deleted. 检查模板id是否为预置模板id。 400 eihealth.01040014 Built-in template {0} cannot be imported. 检查模板id是否为预置模板id。 400 eihealth.01040015 The number of columns set as primary keys cannot exceed 10. 检查设为主键的列数是否超过了10个。 400 eihealth.01040016 Operations on built-in databases are not allowed. 检查id是否为预置数据库id。 400 eihealth.01040017 The number of searchable columns cannot exceed 10. 检查设为可搜索的列数是否超过了10个。 400 eihealth.01040018 Built-in database {0} cannot be referenced. 检查id是否为预置数据库id。 400 eihealth.01040020 Duplicate databases are selected for referencing. 检查引用的数据库列表是否存在重复。 400 eihealth.01040021 Referenced database {0} cannot be referenced in another project. 检查引用数据库id是否为源项目的引用数据库。 400 eihealth.01040022 Data cannot be imported to a referenced database. 请选择非引用数据库进行数据导入。 400 eihealth.01040023 You are not authorized to access file {0}. 请检查文件路径是否为本项目可访问路径。 400 eihealth.01040024 The file path does not support directory {0}. 请检查文件路径是否为目录。 400 eihealth.01040025 Invalid query criteria. 请检查查询条件的格式是否符合要求。 400 eihealth.01040026 Column {0} is not searchable. 请检查查询条件中的列是否为存在的列。 400 eihealth.01040027 Column {0} cannot be searched using operator {1}. 请检查查询条件中的操作符是否为该字段支持的操作符。 400 eihealth.01040028 Column {0} does not support query value {1}. 请检查查询条件中的值是否为该字段类型的值。 400 eihealth.01040029 Unsupported file: {0}. Only TXT, CSV, and VCF files are supported. 请检查文件后缀。 400 eihealth.01040030 The sorting field does not exist in the database. 请检查是否为数据库的列。 400 eihealth.01040031 Duplicate file paths are included. 请检查导入文件列表中是否有重复。 400 eihealth.01040032 The template is being used by a database. It cannot be deleted. 请检查是否还存在以该模板创建的数据库。 400 eihealth.01040033 The column name {0} conflicts with an SQL keyword. Please change it. 请更换其他列名。 400 eihealth.01040034 File should be set when uploading template. 请检查文件内容是否为空。 400 eihealth.01040035 Number of values splitted by delimiter exceed number of columns. 请检查数据列数是否与数据库模板匹配。 400 eihealth.01040036 Size of template file cannot exceed 10M 检查上传模板的文件大小。 400 eihealth.01040038 The number of columns set as unique keys cannot exceed 10. 检查设为唯一键的列数是否超过了10个。 404 eihealth.01040006 The template does not exist. 检查模板id是否正确。 404 eihealth.01040013 Source template {0} does not exist in the source project. 检查模板id是否正确。 404 eihealth.01040019 Source database {0} does not exist. 检查引用的数据库id是否正确。 500 eihealth.01040037 Database service is not available now. Please check the database resource is created successfully 请检查数据库资源是否购买且状态正常。 400 eihealth.01030002 The folder already exists. 请确认你想创建的文件夹是否已经存在。 400 eihealth.01030013 The file to be uploaded is too large. 请选择一个10MB以内的文件重新上传。 400 eihealth.01030014 The data path is too long. 请确认数据路径总长度不超过1024。 400 eihealth.01030017 The directory structure is too deep. 请确认目录层级不超过45层。 400 eihealth.01030018 Quote data is too much. 请确认一次引用的文件/目录不超过10项。 400 eihealth.01030019 The list contains an invalid path. 请确认列表中是否包含了无效路径。 400 eihealth.01030021 A maximum of 10 data records can be selected. 请不要选择超过十条数据。 400 eihealth.01030022 Invalidate folder path. 请检查路径是否指向了一个正确的目录。 400 eihealth.01030023 The path is invalid. 请确认路径是否有效。 400 eihealth.01030024 Data job of the current status cannot be deleted. 请检查数据作业状态。 400 eihealth.01030025 Data job of the current status cannot be retried. 请检查数据作业状态。 400 eihealth.01030026 Data job of the current status cannot be canceled. 请检查数据作业状态。 403 eihealth.01030003 You are not authorized to perform this operation. 请联系owner用户开启/关闭项目的{分享/下载/删除/加密}权限。 403 eihealth.01030029 Does not support quote cold type bucket. 不支持引用归档存储类型的桶,请选择其它类型的桶。 403 eihealth.01030030 The operation is not supported. 请选择非归档存储的文件。 404 eihealth.01030001 The data object does not exist. 请检查目标对象路径是否正确。 404 eihealth.01030020 Query folder does not exist. 请检查目标目录路径是否正确。 404 eihealth.01030027 The data job does not exist. 检查数据作业id是否正确。 404 eihealth.01030028 Version {0} of the data with the ID {1} cannot be found. 请检查资产ID和版本是否正确。 400 eihealth.01060004 Notebook of the current status cannot be started. 请检查notebook的状态。 400 eihealth.01060005 Notebook of the current status cannot be stopped. 请检查notebook的状态。 400 eihealth.01060006 Notebook of the current status cannot be deleted. 请检查notebook的状态。 400 eihealth.01060007 Failed to obtain the token because the notebook is not running. 请启动notebook后再尝试获取。 400 eihealth.01060010 The notebook image does not exist. 请核对该镜像的组织、名称和版本信息。 400 eihealth.01060013 Authentication failed for the OBS storage path: {0}. 请检查obs存储路径是否正确。 404 eihealth.01060003 The notebook does not exist. 请检查notebookId是否正确。 400 eihealth.01000007 Invalid parameter. 请确保输入的参数合法。 400 eihealth.01000007 Invalid parameter: {0}. 请确保输入的参数合法: {0}。 400 eihealth.01000008 Required parameter {0} is not present. 请确保必须参数提供。 400 eihealth.01000009 Incorrect value type for parameter: {0}. 请提供正确的参数类型。 400 eihealth.01000010 The parameter format is incorrect. 请确保请求消息内容格式正确。 400 eihealth.01000014 Request method not supported 请检查请求方法是否正确。 400 eihealth.01000020 The project {0} unavailable. 请检查项目状态是否可用。 400 eihealth.01000022 Resource conflict detected. 请检查创建的资源是否重复。 400 eihealth.01000026 The length of {0} is {1}. It must be between {2} to {3} characters. 请检查字段长度是否超过限制。 400 eihealth.01000028 The size of the list {0} is {1}. It must be between {2} to {3}. 请检查数组长度是否超过限制。 400 eihealth.01000030 The value of {0} must be between {1} to {2} 请检查输入参数数值大小是否超过限制。 400 eihealth.01000031 The value of {0} cannot be empty. 请检查该输入参数是否遗漏。 400 eihealth.01000032 Invalid parameter: {0}. It does not match the regulations. 请检查输入参数格式。 400 eihealth.01000035 Create notebook failed: flavor sold out. 请更换规格重试。 400 eihealth.01000039 Invalid path: {0} 请检查路径是否正确。 400 eihealth.01000040 Invalid parameter: {0}. Unsupported value: {1} 检查参数值是否在支持的可选值内。 400 eihealth.01000041 Accept media type does not match the media type of reponse 检查请求头中的设置的接口媒体类型是否正确。 400 eihealth.01000042 Requried upload file is not set. 检查请求的表单参数中是否设置了上传文件。 400 eihealth.01000043 Content-Type of your request is not supported 请检查请求头中的Content-type是否正确设置。 400 eihealth.01000045 The from_time should be smaller than the to_time. 请重新输入查询起始时间和截止时间。 400 eihealth.01000049 Do not support to delete pre-paid resource. 包周期资源请执行退订流程。 400 eihealth.01000050 The data path is too long. 请确认数据路径总长度不超过1024。 400 eihealth.01000051 Invalid label. Label {0} is not supported. 请检查标签是否合法。 401 eihealth.01000002 Authentication failed. 检查用户名密码是否正确。 401 eihealth.01000017 Invalid Referer. 无效的Referer,请检查浏览器设置。 403 eihealth.01000003 The token has expired. Token已过期,请重新获取。 403 eihealth.01000019 Forbidden access 请检查当前用户是否有权访问。 404 eihealth.01000001 Request url not found. 检查请求是否正确。 404 eihealth.01000006 Project is not available. 检查项目状态。 404 eihealth.01000011 The object {0} does not exist. 检查对象是否存在。 409 eihealth.01000044 {0} already exists 检查对象是否存在。 429 eihealth.01000036 Too many requests. Please try later. 请求过于频繁,请稍后再试。 500 eihealth.01000004 Internal error. 请联系华为云支持人员。 500 eihealth.01000005 Service {0} status unknown. 检查服务是否异常。 500 eihealth.01000021 System is busy, please try later; 系统繁忙,请稍后再试。 500 eihealth.01000023 Version upgrade failed. 请联系华为云支持人员。 500 eihealth.01000024 Requests too frequent. 请稍后再试。 500 eihealth.01000033 The quantity of {0} exceeds the quota limit. 请检查资源数量是否到达了配额限制。 500 eihealth.01000034 Quota of internal service resource is used out. 请联系华为云支持人员。 500 eihealth.01000037 System is busy. Please try later. 请稍后再试。 500 eihealth.01000047 This spec is sold out. 选择其他规格或联系技术支持人员。 403 eihealth.01000052 The number of directories and files that are prohibited from being deleted has exceeded the limit of {0}. 请检查禁止删除的目录和文件数量是否超过了限制。 503 eihealth.01000038 Service Unavailable 请联系华为云支持人员。 503 eihealth.01000048 Service is unavailable now. Please check the resource is created successfully. 请检查资源是否购买且状态正常。 400 eihealth.01020001 Project {0} already exists. 请用其他项目名创建项目。 400 eihealth.01020003 The status of project {0} is initial and cannot be updated. 请先尝试重新创建该项目后再更新。 400 eihealth.01020006 Project deletion not allowed. Only inactive or initial projects can be deleted. 请先冻结该项目再删除。 400 eihealth.01020007 The number of project tags cannot exceed 5. 请先删除无用的标签后再继续添加。 400 eihealth.01020008 The user does not exist or is unavailable. 请检查用户ID是否正确。 400 eihealth.01020009 You do not have permission to delete projects. 请联系项目所有者删除该项目。 400 eihealth.01020010 Failed to transfer project {0} to user {1}. 请检查该项目的的状态是否为可用或者冻结。 400 eihealth.01020011 You do not have permission to transfer projects. 请联系项目所有者转移该项目。 400 eihealth.01020012 Projects can only be transferred to administrators. 请更新该用户的角色为管理员后再转移项目。 400 eihealth.01020013 The project owner cannot be updated or removed. 请确认用户ID是否正确。 400 eihealth.01020015 Only inactive projects can update to to_be_deleted status. 请先冻结该项目再删除。 400 eihealth.01020016 Only the owner can delete, restore, and unfreeze projects. 请联系owner进行操作。 400 eihealth.01020017 An error occurred when deleting the image or version. The image or version is being used by other projects: {0}. 请等待其他项目使用完毕再删除该镜像。 400 eihealth.01020021 Subscribed images cannot be updated or imported. 请检查镜像ID是否正确。 400 eihealth.01020024 Virtual drug screening is currently available only to whitelisted users. 请联系管理员。 400 eihealth.01020025 The number of receptor protein input files cannot exceed 97. 请重新选择受体蛋白输入文件。 400 eihealth.01020026 When a custom workflow is used to create a study job, the template ID cannot be empty. 请选择合适的数据库模板。 400 eihealth.01020027 When a built-in workflow is used to create a study job, the template ID must be empty. 请重新选择流程或者输入模板ID信息。 400 eihealth.01020028 Duplicate user ids are included. 请检查用户id列表中是否存在重复id。 400 eihealth.01020029 Invalid user id: {0}. 请检查用户id是否正确。 400 eihealth.01020030 The name {0} of the receptor protein input file does not match the database template column name rule. 请重新选择输入文件或者重命名文件。 400 eihealth.01020031 Duplicate image tags are included. 请检查镜像tag列表中是否存在重复tag名称。 400 eihealth.01020033 The number of label page cannot exceed 5. 请先删除无用的标签页后再继续添加。 400 eihealth.01020034 The list parameter {0} contains invalid values {1}. 请检查该列表参数的参数值是否合法。 404 eihealth.01020002 User {0} does not have project with ID {1}. 请检查项目ID是否正确。 404 eihealth.01020004 The image does not exist. 请检查镜像ID是否正确。 404 eihealth.01020005 The image tag does not exist. 请检查镜像tag是否正确。 404 eihealth.01020014 The user is not a project member. 请确认用户ID是否正确。 404 eihealth.01020020 Version {0} of the image with the ID {1} cannot be found. 请检查镜像资产ID和版本是否正确。 404 eihealth.01020022 The remote image repository {0} does not exist. 请使用客户端工具上传镜像。 404 eihealth.01020023 The tag {0} does not exist in the remote image repository {1}. 请使用客户端工具上传。 409 eihealth.01020019 Version {0} of the image with the ID {1} is already be subscribed. 请检查要订阅的镜像资产版本是否正确。 409 eihealth.01020032 LabelPage {0} already exists. 请用其他标签名创建标签页面。 401 eihealth.01070004 The username or password is incorrect. You will be locked out for {1} minutes after {0} more failed attempts. 请确认用户名和密码是否正确。 401 eihealth.01070005 Your account has been locked. Try again in {0} minutes. 请稍后再试。 503 eihealth.01070006 IAM service error, please try later. IAM服务错误,请稍后重试。 400 eihealth.01010022 password cannnot be null 请检查密码是否为空。 400 eihealth.01010027 The country/region code and phone number must exist at the same time. 请同时设置地区码和电话号码。 400 eihealth.01010028 Weak passwords cannot be used. 请更换复杂度更高的密码。 400 eihealth.01010029 The password cannot contain a phone number or email address. 请更换密码,避免包含电话或邮箱地址。 400 eihealth.01010030 The password cannot equals the username or the reverse of the username. 请更换密码,避免包含用户名或用户名倒序。 400 eihealth.01010033 The user is in the unavailable state. 用户状态不可用,请联系管理员。 400 eihealth.01010034 The username has been used. 请更换用户名。 400 eihealth.01010035 The username has been used in IAM. 检查用户名是否与本账号下的iam用户重名。 400 eihealth.01010037 Failed to delete the user because the user owns projects. Please contact the administrator. 该用户下存在项目,请联系管理员。 400 eihealth.01010041 The user cannot be deleted on the username. This user has user_id. 请根据用户id删除。 400 eihealth.01010044 Insufficient IAM user quota. 请检查IAM用户配额是否达到上限。 400 eihealth.01010045 Incorrect email configuration. 请检查邮箱配置。 400 eihealth.01010046 The new password is not allowed. 为了您的账户安全,请不用使用近期使用过的密码。 400 eihealth.01010047 The mobile number or email address is already used. 请更换一个手机或邮箱。 400 eihealth.01010048 Incorrect verification code. 请检查验证码是否正确。 400 eihealth.01010050 Invalid user name 请检查用户名是否合法。 400 eihealth.01010051 Invalid email address. 请检查邮箱地址是否正确。 400 eihealth.01010052 This email address has been used 请更换一个邮箱地址。 400 eihealth.01010053 Invalid phone number. 请检查电话号码是否正确。 400 eihealth.01010054 This phone number has been used 请更换一个电话号码。 400 eihealth.01010055 Invalid password. Please check your IAM password policy. 请检查密码是否符合IAM中设置的密码策略。 400 eihealth.01010056 The new password cannot be same as the history password. 更换一个未使用过的密码。 400 eihealth.01010057 The original password is incorrect or your account is a Huawei ID. Please go to Huawei Account Center to reset the password. 请检查原密码是否正确。 400 eihealth.01010058 Please check the country code and mobile phone number, they must exist together. 请确认国家码和手机号是否都存在。 400 eihealth.01010060 Not authorized to create or delete labels. Please contact the administrator. 请联系管理员创建或删除标签。 400 eihealth.01010063 Could not find the corresponding bound device information. 请检查是否绑定了对应设备。 400 eihealth.01020059 Data from 6 months ago cannot be queried. 请重新输入查询起始时间。 403 eihealth.01010042 You do not have the permission to get this user's detail 请检查用户id是否正确。 403 eihealth.01010061 Not agree privacy statement. 请先同意对应的隐私声明。 404 eihealth.01010032 The user does not exist in the system. 请检查用户id是否正确。 404 eihealth.01010036 The user does not exist in IAM. 本账号下不存在该IAM用户,请联系管理员。 404 eihealth.01010058 The resourceBag does not exists in the system. 请检查该资源包ID是否正确。 409 eihealth.01010059 The tag name {0} already exists, the status is active 请勿重复创建标签。 423 eihealth.01010062 Request verification code too frequently. Please try later. 请稍后再试。 400 eihealth.01050005 The app's name and version cannot be updated. 请检查请求参数是否改变了应用的名称或版本。 400 eihealth.01050006 Unable to update the subscribed app {0}. 订阅的应用不支持修改,请检查该应用是否为订阅应用。 400 eihealth.01050007 The asset type is not an app. 请选择资产类型为应用的资产进行订阅。 400 eihealth.01050008 The app {0}:{1} has already been subscribed. 该应用已订阅,可直接前往应用列表查看应用。 400 eihealth.01050009 The enum value {0} does not exist in the enum list. 请检查该应用参数的取值是否在枚举列表中存在。 400 eihealth.01050010 The app parameter {0} does not support multiple values. 请检查应用参数的取值是否有多个。 400 eihealth.01050011 The app is being used by a workflow. You cannot update the quantities and types of the app's input and output parameters. 请检查是否改变了该应用输入和输出参数的数量和类型,或者删除所有使用到该应用的流程。 400 eihealth.01050013 The app is used by workflow {0} and cannot be deleted. 请删除所有使用该应用的流程后再删除该应用。 400 eihealth.01050014 The image {0} does not match the CPU type {1}. 请检查镜像与cpu类型是否匹配。 400 eihealth.01050100 There is a loop in the workflow. 请修改流程中步骤的依赖关系,使得流程为有向无环图。 400 eihealth.01050101 The variable references nest more than {0} times, exceeding the maximum loop limit. 请检查流程中变量嵌套引用的次数是否超过规定次数。 400 eihealth.01050104 The workflow's name and version cannot be updated. 请检查请求参数是否改变了流程的名称或版本。 400 eihealth.01050105 Unable to update the subscribed workflow {0}. 订阅的流程不支持修改,请检查该流程是否为订阅流程。 400 eihealth.01050106 The asset type is not a workflow. 请选择资产类型为流程的资产进行订阅。 400 eihealth.01050107 The workflow {0}:{1} has been subscribed. 该流程已订阅,可直接前往流程列表查看流程。 400 eihealth.01050108 The workflow {0} has been subscribed. It cannot be imported. 订阅的流程不支持导入,请检查该流程是否为订阅流程。 400 eihealth.01050109 The workflow {0} is already imported. It cannot be imported again. 该流程已导入,不支持二次导入;请在目标项目的流程列表中查找该流程。 400 eihealth.01050112 The name of task {0} input parameter {1} does not exist in the app {2} 请检查子任务的输入参数是否正确。 400 eihealth.01050114 The value of workflow parameter {0} in task {1} is not a valid reference parameter. 请检查流程子步骤中的参数值是否有效。 400 eihealth.01050115 The value of workflow concurrent parameter {0} in task {1} is inconsistent with the number of elements of reference parameter. 请检查流程子步骤中并发参数值的元素数量是否一致。 400 eihealth.01050116 The name of task {0} input parameter {1} is a reference parameter, Multiple parameter values exist 请检查子任务的输入参数是否正确。 400 eihealth.01050200 There are no tasks in workflow {0}. 请检查流程中有无子任务。 400 eihealth.01050201 The required input parameter {0} cannot be empty for job creation. 请检查必填的输入参数是否有值。 400 eihealth.01050203 When creating a job, the task_name {0} does not exist in the workflow {1}. 请检查子任务的名称是否正确。 400 eihealth.01050205 Resources of the {0} type are unavailable to support task {2} of the {1} type. 请检查资源是否存在,类型是否正确。 400 eihealth.01050206 The flavor {0} is not supported for the task {1}. The flavor cannot exceed {2}. 请确认输入的资源大小不超出支持的最大规格。 400 eihealth.01050207 The current job status is {0}. The job cannot be retried. 请检查作业的状态是否正确。 400 eihealth.01050208 The current job status is {0}. The job cannot be canceled. 请检查作业的状态是否正确。 400 eihealth.01050209 The job {0} has been garbage collected. It cannot be retried. 请新建作业后再重试。 400 eihealth.01050210 Failed to cancel the job. Refresh the page and try again. 请刷新页面后重试。 400 eihealth.01050211 The I/O accelerated instance is unavailable. 请检查I/O加速实例状态是否可用。 400 eihealth.01050212 The I/O accelerated instance {0} does not exist. 请检查I/O加速实例是否存在。 400 eihealth.01050213 The job {0} is running and cannot be deleted. 请取消作业,或等待作业执行完成;当作业处于完成态时可被删除。 400 eihealth.01050214 Job {0} quota exceeds: {1}, please contact the administrator. 请联系管理员调整配额。 400 eihealth.01050215 {0} resource quota exceeds: {1}, run job needs {2}, currently already used {3}. Please adjust the job resource usage or contact the administrator. 请调整作业资源用量或联系管理员调整配额。 400 eihealth.01050216 There are no node has copy-in label. Please turn to the system label setting page to set. 请前往系统标签设置页面进行设置。 400 eihealth.01050217 Space usage or job expected space usage of current I/O accelerated instance has reached threshold. Please choose other available instance. 选择其他有充足空间的I/O加速实例。 400 eihealth.01050218 Retrying job is not suppoprted because job will be garbage collected right after finish. 当前系统设置不支持重试作业。 400 eihealth.01050301 The OBS file path {0} is invalid. 请检查obs文件路径是否有效。 400 eihealth.01050501 The list parameter {0} is empty. 请检查该列表参数是否有值。 400 eihealth.01050502 The list parameter {0} contains duplicate values. 请去除该列表参数中重复的值。 400 eihealth.01050503 The list parameter {0} contains {1} values. This number must be between {2} and {3}. 请检查该列表参数中元素的数量是否在规定范围内。 400 eihealth.01050504 At least one value in the list parameter {0} exceeds the maximum length ({1} characters). 请检查该参数的字符长度。 400 eihealth.01050505 The list parameter {0} contains invalid values. 请检查该参数的格式是否符合规范。 400 eihealth.01050506 The source project ID cannot be the same as the target project ID. 请修改请求参数中的源项目的id,使其与当前目标项目的id不同。 403 eihealth.01050507 You are not authorized to perform this operation, Please contact the owner user to adjust the encrypt or share permission of the project. 请联系owner用户调整项目的加密、分享权限。 404 eihealth.01050001 The image {0} does not exist. 请检查应用中使用的镜像是否存在。 404 eihealth.01050002 The subscribed asset does not exist. 请检查订阅的资产id是否正确。 404 eihealth.01050003 The app {0} does not exist in project. 请检查该应用是否存在于此项目。 404 eihealth.01050102 The workflow {0} does not exist in project. 请检查该流程是否存在于此项目。 404 eihealth.01050202 The job {0} does not exist in the project. 请检查该作业是否存在于此项目。 404 eihealth.01050204 The task {0} does not exist in the job {1}. 请检查子任务的名称是否正确。 409 eihealth.01050004 An app with the same name ({0}) and version ({1}) already exists. 请检查相同名称和版本的应用是否已存在。 409 eihealth.01050103 A workflow with the same name ({0}) and version ({1}) already exists. 请检查相同名称和版本的流程是否已存在。 409 eihealth.01050113 The workflow {0} has been imported and is currently called {1}. 请在流程列表中查看已导入的流程。 400 eihealth.01000046 Current state {0} does not support {1} operation. 当前状态不支持该操作,请延后操作。 400 eihealth.01000053 The directory structure is too deep. 请确认目录层级不超过45层。 400 eihealth.01000054 The path is invalid. 请确认路径是否有效。 400 eihealth.01000057 Vendor of platform is not set. 未完成平台供应商设置 400 eihealth.01000060 Incorrect verification code. 请检查验证码是否正确。 500 eihealth.01000061 Other resources are being purchased, Please try again later. 请稍后再试。 400 eihealth.01010064 The status of the performance resource does not allow updating the job quota. 请检查性能加速资源的状态 400 eihealth.01010065 Archive to this region is not supported. Select another region. 请选择另外的区域。 400 eihealth.01020036 data event for tracker must have WRITE. 追踪器记录事件必须包含写事件日志。 400 eihealth.01020037 The path is invalid. 请确认路径是否有效。 400 eihealth.01020040 The core project can not change to non-core project. 核心项目不可修改为非核心项目。 400 eihealth.01020042 The storage quota must not be less than the used storage 请增加容量设置 400 eihealth.01020044 Storage quota is limited to 1GB-10PB 请修改容量配额。 400 eihealth.01020046 Import or subscribed image cannot be published. 请选择本项目镜像进行发布 400 eihealth.01030032 No computing resources are available. Please purchase them first. 无计算资源,请先购买。 400 eihealth.01030033 Only data within the same project can be archived. 只允许归档同一项目内的数据。 400 eihealth.01040039 Modification on quoted databases are not allowed. 请检查当前数据库是否为引用数据库 400 eihealth.01040040 Data in primary column {0} cannot be modified. 请检查当前列是否为主键,或用于自动作业状态更新列,或为系统自动创建列。 400 eihealth.01040041 Invalid input data. 请检查数据与对应列的类型是否匹配 400 eihealth.01040042 Column {0} cannot be empty. 请检查该列是否允许为空。 400 eihealth.01040043 Value {0} does not match type of column {1}. 请检查数据与对应列的类型是否匹配。 400 eihealth.01040044 Key ({0})=({1}) already exists. 请检查主键或唯一键是否重复。 400 eihealth.01040045 Auto job column is invalid. The type of column should be String and it cannot be primary key. 状态更新列非法。该列应为String类型并且不能为主键。 400 eihealth.01040046 Column {0} does not exist. 请检查入参列是否存在。 400 eihealth.01040047 The quantity of columns created by auto job cannot exceed 5. 请选择已有列或使用其他数据库。 400 eihealth.01050015 The app's command field contains high-risk command. 请检查应用的命令字段 400 eihealth.01050016 The currently used asset {0} status is not available. 请检查请求资产是否已下线。 400 eihealth.01050117 Can not publish the workflow which task list is empty. 请检查流程中的子任务列表是否为空。 400 eihealth.01050219 Number of jobs waiting for current IO accelerated instance has reached threshold. Please choose other available instance. 选择其他可用的IO加速实例。 400 eihealth.01050220 No IO accelerated instances are available currently; 请联系管理员增加可用的IO加速实例。 400 eihealth.01050221 The task input parameters must be no more than 4096 characters. 请减少子任务输入参数字符数。 400 eihealth.01050223 The current job status is {0}. The job cannot be updated parameters. 请检查作业的状态是否正确。 400 eihealth.01050302 The database is used by autoJob {0}, can not be used again. 数据库已被自动作业{0}使用,无法再次使用。 400 eihealth.01050303 The column {0} type for {1} should be string. {1}的数据列{0}类型应为字符串。 400 eihealth.01050305 The autojob status update column can not used in {0}. 自动作业状态更新列不能在{0}中使用。 400 eihealth.01050306 The trigger mode {0} does not adapt column type. 触发器模式{0}不适配列类型。 400 eihealth.01050308 The name, data table, workflow name and job status column of the autojob cannot be updated; 无法更新自动作业的名称,数据表, 流程名称, 作业状态更新列; 400 eihealth.01050309 The autojob {0} is running and cannot be updated or deleted. 自动作业{0}正在运行,无法更新或删除。 400 eihealth.01050310 The current autojob status is {0}. The autojob cannot be started. 请检查作业的状态是否正确。 400 eihealth.01050311 The current autojob status is {0}. The autojob cannot be stoped. 请检查作业的状态是否正确。 400 eihealth.01050312 The trigger value {0} does not adapt column type. 触发器取值{0}不适配列类型。 400 eihealth.01050314 The column {0} for {1} should be searchable. {1}的数据列{0}需要支持搜索。 400 eihealth.01050315 The column {0} for {1} can not be primary. {1}的数据列{0}不能为主键。 400 eihealth.01050316 The quantity of columns created by auto job cannot exceed 5. 请选择已有列或使用其他数据库。 400 eihealth.01050317 The column name {0} for {1} already existed in database. 该列名在数据库中已存在,请重新创建。 400 eihealth.01050508 The image name or version is too long. 请缩减镜像名或版本号的字符数 400 eihealth.01060014 The image name or version is too long. 请缩减镜像名或版本号的字符数 400 eihealth.01060015 The currently used asset {0} status is not available. 请检查请求资产是否已下线。 400 eihealth.01080005 Vendor of platform is not set. 请联系系统管理员进行商标设置 400 eihealth.01080008 Asset on current status cannot be operated. 请检查当前资产版本的状态 403 eihealth.01000055 The data storage is full, please contact the project administrator to configure the storage quota of the project. 目前数据容量已满,需要联系项目管理员配置项目的的数据容量。 403 eihealth.01000056 The upper directory {0} has been configured to deny deletion, the {1} cannot be operated. 请检查是否上层目录被设置禁止删除。 403 eihealth.01000058 This asset version is not published and cannot be subscribed. 请选择资产市场中发布的资产 403 eihealth.01030034 Current folder is the parent folder of quoted data. No permission to archive it. 查看选择归档的目录是否被引用。 403 eihealth.01030035 This region is not supported. Select a bucket in another region. 不支持该区域,请选择其他区域的桶。 403 eihealth.01030037 Bucket encryption is not support for now. 当前使用请不开启桶加密。 403 eihealth.01050017 You can't publish asset that use imported or subscribed image. 请检查是否有使用导入或订阅的镜像。 403 eihealth.01050118 You can't publish imported or subscribed assets. 请选择您本项目的资产进行发布 403 eihealth.01080007 Do not have permissions to operate this asset version. 仅平台管理员或资产的发布者有权限操作。 403 eihealth.01080009 Current asset cannot be accessed because it does not have published version. 请选择已发布资产 404 eihealth.01000012 Asset with id: {0} version: {1} does not exist. 请检查资产id和版本 404 eihealth.01020038 The data object does not exist. 请检查目标对象路径是否正确。 404 eihealth.01030036 The quoted bucket does not exist. 该外部桶已被删除,请解除该桶的引用. 404 eihealth.01050222 The task instance {0} does not exist in the task {1}. 请检查该任务是否生成了该任务实例 404 eihealth.01050304 The column {0} does not exist in database. 数据库中不存在列{0}。 404 eihealth.01050307 The autojob {0} does not exist in project. 自动作业{0}在项目中不存在。 404 eihealth.01050313 The column name {0} does not exist in database. 请检查列名是否存在 409 eihealth.01000059 Asset with same name and version already exists. 请更换资产名称或版本号。 409 eihealth.01020045 Please delete the old one and subscribe it again. 删除项目中的该镜像资产后重新订阅。 409 eihealth.01080006 Asset with same name and version already exists in internal assets. 请更换资产名称或版本号 429 eihealth.01020035 The system is busy. Please try again later. 系统繁忙,请稍后重试。 429 eihealth.01030031 The system is busy. Please try again later. 系统繁忙,请稍后重试。 500 eihealth.01020039 Create project failed. 请联系技术支持。 400 eihealth.01050226 It is not allowed to modify the reference parameter value in the job, also not allowed to modify the parameter value to other references. 请检查参数后二次修改 400 eihealth.01030040 Data job of this type cannot be retried. 请重新创建该类型数据作业。 400 eihealth.01010067 There are still running jobs on the performance resource, so it is not allowed to be deleted; 请检查是否仍有运行中的作业 400 eihealth.01050018 The app commands contain unknown parameters: {0}. 请检查应用命令是否存在未知参数。 409 eihealth.01010066 Platform already has this user. Cannot import again. 请选择其他用户进行导入。 400 eihealth.01050224 No sfs turbo available for job or no available quota for sfs. 请选择可用的sfs或者增加可用sfs的作业配额。 400 eihealth.01050225 The job contains I/O accelerated task: {0}. It is not allowed to modify FILE or DIRECTORY type parameter in this task; 请检查是否修改了文件或目录型参数值。 400 eihealth.01030039 The storage type is not supported. 请选择其他存储类型。 408 eihealth.01000062 Resource creation timed out. 请联系技术支持人员。 400 eihealth.01030038 Large files cannot be previewed. 大文件无法预览。 423 eihealth.01000099 The medical platform cannot use storage resources because your account is in arrears. Please recharge your account as soon as possible. 由于您的账户已经欠费,医疗平台无法再使用存储资源,请尽快充值以恢复使用。 400 eihealth.01000063 Obtain the verification code again. 请重新获取验证码。 404 eihealth.01030041 Data has been deleted from OBS or OBSFS. 数据已经在OBS/OBSFS中被删除。 400 eihealth.01000066 The IAM user has been added to 10 groups. Cannot be added to a new group. 将该用户移出无关用户组后重试,保证该用户加入的用户组不超过8个。 403 eihealth.01000064 Autoscaler plugin is not available. Service is forbidden. 请联系管理员。 429 eihealth.01000065 Autoscaler plugin is upgrading. Please try later. 自动扩缩容插件正在升级中,请稍后重试。 400 eihealth.01090001 The nextflow workflow file cannot be none. 检查上传的nextflow流程文件是否已选择。 400 eihealth.01090002 The nextflow workflow cannot be empty. 检查上传的nextflow流程文件内容是否已填写。 400 eihealth.01090003 The size of the nextflow process file is too large. 检查上传的nextflow流程文件的大小是否超出限制 400 eihealth.01090004 Invalid nextflow file name. 检查nextflow流程文件名称是否符合要求 400 eihealth.01090005 The nextflow parameter file is too large. 检查nextflow的参数文件是否超出限制 400 eihealth.01090006 The parameter: {0} cannot be empty when it is set to mandatory. 检查参数的值设置为必填时,是否设置了值 400 eihealth.01090007 The number of nextflow parameters exceeds the upper limit. 检查nextflow流程参数的数量是否超过限制 400 eihealth.01090008 The format of the compressed file in the nextflow process is incorrect. 查看流程的压缩文件内容是否符合要求 400 eihealth.01090009 The size of a decompressed nextflow process file exceeds the upper limit. 检查解压出的nextflow各个流程文件,大小是否超出限制 400 eihealth.01090010 The format of the nextflow process parameter file is incorrect. 检查nextflow的流程参数文件格式是否符合要求 400 eihealth.01090011 Failed to obtain the package corresponding to the Nextflow version. 请确认平台是否支持这个Nextflow版本。 400 eihealth.01090012 The job of the nextflow is not stoppable. 检查nextflow的作业是否已处于终止状态 400 eihealth.01090013 The job of the nextflow is not deletable. 检查nextflow的作业是否已处于运行状态 400 eihealth.01090014 The format of the OBS path corresponding to the nextflow process parameter file is incorrect or the permission verification fails. nextflow的流程参数文件格式是否正确,对应的OBS路径是否有足够的操作权限 400 eihealth.01090015 The job of the nextflow is not retryable. 检查nextflow的作业是否为取消或失败状态 400 eihealth.01090016 Nextflow has been installed. 请不要重复安装 400 eihealth.01090017 Required file parameters are missing. 请检查文件相关传输参数是否为空 400 eihealth.01090018 Select a version or upload a file. 请选择一种安装方式:指定版本号或上传安装文件 400 eihealth.01090019 The file name is too long. 检查文件名长度是否符合要求。 400 eihealth.01090021 Invalid nextflow params file name. 检查nextflow流程参数文件名称是否符合要求,后缀只能是.yaml、.json、.yml、.txt 403 eihealth.01090020 Cannot create job because nextflow engine is not installed. 请检查nextflow引擎是否成功安装 400 eihealth.01010049 The quantity of resources exceeds the quota limit. 请检查资源数量是否到达了配额限制。 400 eihealth.01010068 The parameter for {0} is more than max node count. 请修改对应参数。 400 eihealth.01010069 the {0} spec resource is sold out. 请选择其他规格资源。 400 eihealth.01010070 No available az. 请稍后再试。 400 eihealth.01010071 No node specification matches the resource. 请稍后再试或者选择其他规格。 400 eihealth.01000049 Do not support to delete pre-paid resource. 包周期资源请执行退订流程。 400 eihealth.01010057 The original password is incorrect. 请检查原密码是否正确。 400 eihealth.01020024 Virtual drug screening is currently available only to whitelisted users. 请联系管理员。 400 eihealth.01020025 The number of receptor protein input files cannot exceed 97. 请重新选择受体蛋白输入文件。 400 eihealth.01020026 When a custom workflow is used to create a study job, the template ID cannot be empty. 请选择合适的数据库模板。 400 eihealth.01020027 When a built-in workflow is used to create a study job, the template ID must be empty. 请重新选择流程或者输入模板ID信息。 400 eihealth.01020030 The name {0} of the receptor protein input file does not match the database template column name rule. 请重新选择输入文件或者重命名文件。 400 eihealth.03000001 invalid request data. 根据错误详细信息检查请求体。 400 eihealth.03001002 invalid task data. 根据错误详细信息中提供的信息检查任务数据。 400 eihealth.03011001 Text type error. 更改输入文本为字符串类型。 400 eihealth.03011002 Input key error. 更改关键字为“text”。 400 eihealth.03011003 Text length error. 输入文本长度需在1-256之间。 401 eihealth.03000002 invalid project id. 检查URL中提供的项目ID是否正确 401 eihealth.03000003 invalid token. 检查请求头中的X-Auth-Token是否正确。 401 eihealth.03001003 unauthorized task. 检查任务ID是否正确。 401 eihealth.03011004 Authentication error. 检查输入Token是否正确。 403 eihealth.03000004 api call exceeds the limit number. 联系运维人员。 404 eihealth.03001001 invalid task id. 检查任务ID是否正确。 404 eihealth.03011005 Not found the page. 检查输入url是否正确。 500 eihealth.03009999 internal error. 联系运维人员。 500 eihealth.03010031 Algorithm service error. 联系运维人员。 400 eihealth.01100001 The running or waiting job is not deletable. 检查drug的作业是否处于完成状态 400 eihealth.01100002 The job of the drug is not cancellable. 检查drug的作业是否处于等待状态 400 eihealth.01100003 At least one strong constraint or one weak constraint exists 检查是否存在强约束或弱约束 400 eihealth.01100004 The file path {0} is invalid. 请检查文件路径是否有效 400 eihealth.01050227 The job contains tasks that are still running. Please force cancel and try again later. 作业包含仍在运行的子任务,请先强制取消后重试。 400 eihealth.01000010 The parameter format is incorrect. 请确保请求消息内容格式正确。 404 eihealth.01000011 The parameter format is incorrect. 请确保请求消息内容格式正确。 404 eihealth.01100012 The drug model {0} not exist. 检查药物模型是否存在。 409 eihealth.01100005 You have created a drug model with the same name. 请更改药物模型名称。 403 eihealth.01100006 You do not have permission to operate the model {0}, this model is created by {1}. 请检查您是否为模型{0}的创建者。 400 eihealth.01100007 Only finished model can be set up for sharing. 请检查模型的状态。 403 eihealth.01100008 You are not the member of the project {0} and not allowed to use project data. 请使用当前用户参与项目的数据。 403 eihealth.01100009 Custom models are only supported in the profession mode. 请升级为专业版。 400 eihealth.01100010 Please enter a molecular expression or upload a molecule file. 请输入分子表达式或者上传分子文件。 400 eihealth.01100011 Only finished model can be used, the status of model {0} created by {1} is {2}. 请检查模型的状态。 父主题: 附录
  • 响应示例 状态码: 200 查询配体相似性图计算任务成功响应。 { "status" : "finished", "result" : { "pairs" : [ { "success" : true, "ligands" : [ "FXR_74", "ligand" ], "similarity" : 0, "reason" : null } ] } }
  • URI GET /v1/{project_id}/eihealth-projects/{eihealth_project_id}/drug-common/ligand/similarity-graph/{task_id} 表1 路径参数 参数 是否必选 参数类型 描述 project_id 是 String 项目ID,您可以从获取项目ID中获取。 最小长度:1 最大长度:128 eihealth_project_id 是 String 平台项目ID。 最小长度:1 最大长度:128 task_id 是 String 任务ID,通过创建任务接口取得。 最小长度:1 最大长度:128
  • 响应参数 状态码: 200 表3 响应Body参数 参数 参数类型 描述 status String 任务状态。 result LigandSimilarityGraphTaskResultDto object 配体相似度图任务结果。 表4 LigandSimilarityGraphTaskResultDto 参数 参数类型 描述 pairs Array of LigandSimilarityGraphTaskResultPairDto objects 配体相似度图任务结果对列表。 数组长度:1 - 100 表5 LigandSimilarityGraphTaskResultPairDto 参数 参数类型 描述 ligands Array of strings 两个配体名称。 最小长度:1 最大长度:32 数组长度:2 - 2 success Boolean 相似度计算是否成功。 similarity Float 配体对之间的相似度。 最小值:0 最大值:1 reason String 相似度计算失败的理由。 最小长度:1 最大长度:512
  • URI GET /v1/{project_id}/eihealth-projects/{eihealth_project_id}/images 表1 路径参数 参数 是否必选 参数类型 描述 eihealth_project_id 是 String 平台项目ID,您可以在平台单击所需的项目名称,进入项目设置页面查看。 最小长度:1 最大长度:128 project_id 是 String 华为云项目ID,您可以从获取项目ID中获取。 最小长度:1 最大长度:128 表2 Query参数 参数 是否必选 参数类型 描述 type 否 String 镜像类型 name 否 String 镜像名称 最小长度:1 最大长度:128 show_empty 否 Boolean 是否展示无镜像版本的镜像 缺省值:true
  • 响应参数 状态码: 200 表4 响应Body参数 参数 参数类型 描述 count Integer 镜像总数 images Array of ImageDetailRsp objects 镜像详情列表 表5 ImageDetailRsp 参数 参数类型 描述 name String 镜像名称 id String 镜像ID type String 镜像类型 chip_type String 镜像芯片类型 description String 镜像描述 tags Array of strings 镜像版本列表 create_time String 镜像创建时间 update_time String 镜像更新时间 source_project_name String 源项目名称 source_project_id String 源项目id source_resource_id String 源资源id
  • 响应示例 状态码: 200 OK { "count" : 1, "images" : [ { "name" : "demoimage", "id" : "d4fc37ee-831d-4f64-afca-e2fd05f0824d", "type" : "APP", "chip_type" : "X86", "description" : "description", "tags" : [ "v1.1" ], "create_time" : "2021-01-21T10:54:06Z", "update_time" : "2021-01-21T10:54:06Z", "source_project_name" : "demo-project", "source_project_id" : "d57g37ee-831d-4f64-afca-e2fd05f0824d", "source_resource_id" : "5f40782b-3804-4684-a009-253265dd4592" } ] }
  • URI POST /v1/{project_id}/eihealth-projects/{eihealth_project_id}/datas/import 表1 路径参数 参数 是否必选 参数类型 描述 eihealth_project_id 是 String 平台项目ID,您可以在平台单击所需的项目名称,进入项目设置页面查看。 最小长度:1 最大长度:128 project_id 是 String 华为云项目ID,您可以从获取项目ID中获取。 最小长度:1 最大长度:128
  • 请求参数 表2 请求Header参数 参数 是否必选 参数类型 描述 X-Auth-Token 是 String 用户Token。Token认证就是在调用API的时候将Token加到请求消息头,从而通过身份认证,获得操作API的权限,获取Token接口响应消息头中X-Subject-Token的值即为Token。 最小长度:1 最大长度:32768 表3 请求Body参数 参数 是否必选 参数类型 描述 overwrite 否 Boolean 执行策略(true:全部覆盖,false:全部跳过,默认为true) 缺省值:true source_project_id 是 String 源项目ID 最小长度:1 最大长度:128 sub_paths 是 Array of strings 导入路径集 最小长度:1 最大长度:2000 数组长度:0 - 50 target_folder 否 String 目标文件夹 最小长度:0 最大长度:2000
  • 请求示例 导入项目数据,源目录为folder1/和folder2/test.txt,目的目录为test。 https://eihealth.cn-north-4.myhuaweicloud.com/v1/{project_id}/eihealth-projects/{eihealth_project_id}/datas/import { "overwrite" : true, "source_project_id" : "baabcb56-5bb6-11eb-8a0d-fa163e3ddba1", "sub_paths" : [ "folder1/", "folder2/test.txt" ], "target_folder" : "test/" }
  • URI POST /v1/{project_id}/eihealth-projects/{eihealth_project_id}/workflows/{workflow_id}/publish 表1 路径参数 参数 是否必选 参数类型 描述 eihealth_project_id 是 String 平台项目ID,您可以在平台单击所需的项目名称,进入项目设置页面查看。 最小长度:1 最大长度:128 project_id 是 String 华为云项目ID,您可以从获取项目ID中获取。 最小长度:1 最大长度:128 workflow_id 是 String 流程id 最小长度:1 最大长度:128
  • 请求参数 表2 请求Header参数 参数 是否必选 参数类型 描述 X-Auth-Token 是 String 用户Token。Token认证就是在调用API的时候将Token加到请求消息头,从而通过身份认证,获得操作API的权限,获取Token接口响应消息头中X-Subject-Token的值即为Token。 表3 请求Body参数 参数 是否必选 参数类型 描述 name 是 String 资产名称 最小长度:1 最大长度:56 version 是 String 资产版本 最小长度:1 最大长度:24 picture 否 String 封面图片base64编码 最小长度:0 最大长度:50000 title 否 String 展示名 最小长度:0 最大长度:128 summary 否 String 短描述 最小长度:0 最大长度:128 description 否 String 长描述 最小长度:0 最大长度:65535 labels 否 Array of strings 标签列表 最小长度:1 最大长度:32 数组长度:0 - 5
  • 请求示例 发布流程,流程的名称为demo-workflow,版本为1.0.0。 https://eihealth.cn-north-4.myhuaweicloud.com/v1/{project_id}/eihealth-projects/{eihealth_project_id}/workflows/publish { "name" : "demo-workflow", "version" : "1.0.0", "picture" : "", "labels" : [ "label1", "label2" ], "summary" : "summary", "description" : "description" }
  • 响应示例 状态码: 200 OK { "basic_info" : { "id" : "baabcb56-5bb6-11eb-8a0d-fa163e3ddba1", "name" : "demo-job", "labels" : [ "labelA", "labelB" ], "status" : "FINISHED", "type" : "OPTIMIZATION", "create_time" : "2021-01-30T02:34:36Z", "start_time" : "2021-01-30T02:34:37Z", "finish_time" : "2021-01-30T02:53:26Z", "failed_message" : "null", "user_name" : "demo-user-name", "output_dir" : "job-analysis/job-name", "expect_charge_num" : 1, "real_charge_num" : 1 }, "smiles" : "string", "num_trials" : 500, "binding_site" : { "name" : "binding_name", "receptor" : { "source" : "PRIVATE", "url" : "project:/test.pdb" }, "bounding_box" : { "center" : [ 0, 0, 0 ], "size" : [ 500, 500, 500 ] }, "remove_ion" : false, "remove_water" : false, "remove_ligand" : true }, "weak_constraints" : [ { "name" : "cs1", "type" : "bool", "bool" : true } ], "strong_constraints" : [ { "name" : "cs2", "type" : "range", "range" : [ 0, 1 ] } ], "cluster_result" : { "method" : "hiq_mc", "output_dir" : "project://bucket/path/to/task/dir/", "status" : "finished", "failed_reasons" : [ { "reason" : "failed reason" }, { "count" : 1 } ] } }
  • 响应参数 状态码: 200 表3 响应Body参数 参数 参数类型 描述 basic_info DrugJobDto object 作业基本信息。 smiles String 分子SMILES表达式。 最小长度:1 最大长度:512 molecule_file DrugFile object 分子文件。 num_trials Integer 生成分子数量。 最小值:0 最大值:5000 binding_site BindSiteDto object 结合位点。 binding_sites Array of BindSiteDto objects 受体列表和受体是二选一的关系,受体列表优先级最高。 数组长度:0 - 2 weak_constraints Array of WeakConstraintDto objects 弱约束集合。 strong_constraints Array of StrongConstraintDto objects 强约束集合。 sampler_mixin_weight Float 初始化采样权重。 models Array of BasicDrugModel objects 模型列表。 cluster_result ClusterJobRsp object 聚类结果信息。 表4 DrugJobDto 参数 参数类型 描述 id String 作业id。 name String 作业的名称,取值范围:[1,63],允许大小写字母、数字、以及特殊字符中划线(-)。 labels Array of strings 作业标签。 status String 作业状态。 type String 作业类型。 create_time String 作业创建时间。 finish_time String 作业结束时间。 start_time String 作业开始时间。 failed_message String 失败提示,当作业执行失败时会返回。 user_name String 创建任务的用户名称。 output_dir String 作业结果输出目录。 expect_charge_num Double 预估功能调用消耗次数。 real_charge_num Double 实际功能调用消耗次数。 progress Progress object 作业进度信息。 表5 Progress 参数 参数类型 描述 overall Float 整体进度。 estimated_finish_time Long 预计结束时间,毫秒。 表6 DrugFile 参数 参数类型 描述 source String 受体的数据源:外部网络数据(如RCSB在线数据库)、用户私有数据中心、承载租户公共数据(含样例/公共库)。 枚举值: EXTRANET PRIVATE PUBLIC RAW url String 文件URL,当数据源为外部网络数据时为https地址;用户私有数据中心为项目路径、公共数据场景为obs地址。 最小长度:1 最大长度:2000 format String 文件格式,支持PDB、SDF、MOL2、SMI,仅数据源为RAW时提供。 最小长度:1 最大长度:6 data String 文件原始数据,仅数据源为RAW时提供。 最小长度:0 最大长度:10000000 表7 BindSiteDto 参数 参数类型 描述 name String 靶点名称。 最小长度:1 最大长度:128 receptor ReceptorDrugFile object 受体文件 bounding_box BoundingBoxDto object 结合口袋,包含口袋中心位置和尺寸大小。 remove_ion Boolean 去除受体中的离子。 缺省值:true remove_water Boolean 去除受体中的水分子。 缺省值:true remove_ligand Boolean 去除受体中的配体分子。 缺省值:true add_hydrogen Boolean 增加氢原子。 缺省值:false 表8 ReceptorDrugFile 参数 参数类型 描述 source String 受体的数据源:外部网络数据(如RCSB在线数据库)、用户私有数据中心、承载租户公共数据(含样例/公共库)。 枚举值: EXTRANET PRIVATE PUBLIC RAW url String 文件URL,当数据源为外部网络数据时为https地址;用户私有数据中心为项目路径、公共数据场景为obs地址。 最小长度:1 最大长度:2000 format String 文件格式,仅支持PDB,仅数据源为RAW时提供。 最小长度:1 最大长度:6 data String 文件原始数据,仅数据源为RAW时提供。 最小长度:0 最大长度:10000000 表9 BoundingBoxDto 参数 参数类型 描述 center Array of floats 口袋中心坐标; x, y, z轴的坐标。 最小值:-9999999 最大值:99999999 数组长度:3 - 3 size Array of floats 口袋尺寸大小; x, y, z轴的大小。 最小值:2 最大值:500 数组长度:3 - 3 padding Float 填充。 最小值:0 最大值:20 表10 WeakConstraintDto 参数 参数类型 描述 id String 自定义模型id,仅弱约束为模型时填写。 最小长度:1 最大长度:128 name String 属性名称。 最小长度:1 最大长度:128 type String 属性约束类型。 枚举值: bool range struct minimize maximize bool Boolean 属性约束类型bool的参数。 range Array of floats 属性约束类型range的参数。 最小值:-9999 最大值:9999 数组长度:2 - 2 struct StructureConstraintParamsDto object 结构约束参数。 quantiles Array of floats 属性约束类型minimize和maximize的参数。 最小值:0.0 最大值:1.0 数组长度:2 - 2 表11 StrongConstraintDto 参数 参数类型 描述 id String 自定义模型id,仅强约束为模型时填写。 最小长度:1 最大长度:128 name String 属性名称。 最小长度:1 最大长度:128 type String 属性约束类型。 枚举值: bool range struct bool Boolean 属性约束类型bool的参数。 range Array of floats 属性约束类型range的参数。 最小值:-9999 最大值:9999 数组长度:2 - 2 struct StructureConstraintParamsDto object 结构约束参数。 表12 StructureConstraintParamsDto 参数 参数类型 描述 structs Array of strings 子结构SMILES。 最小长度:1 最大长度:120 数组长度:1 - 8 exclusive Boolean 是否排除子结构。 operator String 多个子结构之间的逻辑关系。 枚举值: or and 表13 BasicDrugModel 参数 参数类型 描述 id String 模型ID。 task_id String 任务ID。 name String 模型名称。 creator String 模型创建者。 type String 模型类型。 value_range ValueRange object 区间上下限,仅回归型存在。 description String 模型描述信息。 表14 ValueRange 参数 参数类型 描述 lower Float 区间下限,仅回归型存在。 upper Float 区间上限,仅回归型存在。 表15 ClusterJobRsp 参数 参数类型 描述 method String 分子聚类方法。 output_dir String 分子聚类输出结果。 status String 作业结果信息。 failed_reasons Array of FailedReasonRecord objects 部分失败原因和数量。 表16 FailedReasonRecord 参数 参数类型 描述 reason String 失败原因。 count Integer 失败数量。
共100000条