华为云用户手册

  • 响应示例 状态码: 200 ok { "entity" : { "attributes" : { "code" : "d96c8f4e-7f59-4313-bed2-b68ef60e31b9", "standardClassify" : null, "description" : "", "rule" : null, "type" : "STRING", "standardCode" : null, "securityLevel" : null, "propertyType" : "DIM", "alias" : "", "definition" : null, "workspaceId" : "61aa10df45e54431a1901cb3527adab8", "owner" : "", "synonyms" : null, "length" : 0, "updateTime" : 1661908856022, "dataMaintainOwner" : null, "hasValueList" : false, "nameEng" : "name", "linkedStandardType" : null, "selfDefinedFields" : null, "dataMonitorOwner" : null, "qualified_name" : "subject_area_group.subject_area.object.dli_table.name@Business.0833a5737480d53b2f25c010dc1a7b88-workspace-61aa10df45e54431a1901cb3527adab8", "createTime" : 1661908856022, "name" : "姓名", "ruleOwner" : null, "valueExample" : null, "valueScope" : null, "parameters" : null }, "classification_names" : null, "connection" : null, "create_time" : 1661908450270, "created_by" : "ei_dayu_y00321344_01", "display_text" : "姓名", "guid" : "d05187d0-adb0-4953-8239-eedb88c21b30", "relationship_attributes" : { "tableColumn" : { "display_text" : null, "guid" : "6e02fcf2-7e66-4a32-bded-1d98790a4397", "relationship_attributes" : null, "relationship_guid" : null, "type_name" : null }, "entity" : { "display_text" : null, "guid" : "a970c4fb-ac97-4339-95e6-944912c58a2b", "relationship_attributes" : null, "relationship_guid" : null, "type_name" : null }, "tags" : [ ] }, "tags" : [ ], "type_name" : "BusinessLogicEntityColumn", "update_time" : 1661908450270, "updated_by" : "ei_dayu_y00321344_01" }, "referred_entities" : { }}
  • 响应参数 状态码: 200 表3 响应Body参数 参数 参数类型 描述 entity entity object 资产详情实体 referred_entities Object 引用实体 Map(String, OpenEntity) 表4 entity 参数 参数类型 描述 attributes Object 属性Map(String, Object) connection Connection object 数据连接 create_time Number 创建时间 created_by String 创建人 display_text String 资产的名称 guid String 资产guid relationship_attributes Object 相关的属性 Map(String, Object) type_name String 资产类型 updated_by String 更新人 update_time Number 更新时间 tags Array of TagHeader objects 标签 List(TagHeader) classification_names Array of strings 分类名称 List(String) 表5 Connection 参数 参数类型 描述 guid String 关联guid display_text String 显示内容 type_name String 类型名称 connection_type String 连接类型 qualified_name String 限定名称 表6 TagHeader 参数 参数类型 描述 name String 资产名称 dexcription Object 标签描述 display_text String 标签的名称 relation_guid String 关联的guid tag_guid String 标签关联的guid 状态码: 400 表7 响应Body参数 参数 参数类型 描述 error_code String 错误码 error_msg String 错误描述 状态码: 401 表8 响应Body参数 参数 参数类型 描述 error_code String 错误码 error_msg String 错误描述 状态码: 403 表9 响应Body参数 参数 参数类型 描述 error_code String 错误码 error_msg String 错误描述 状态码: 404 表10 响应Body参数 参数 参数类型 描述 error_code String 错误码 error_msg String 错误描述
  • 响应示例 状态码: 200 OK { "enable_bridge" : true, "enable_profile" : false, "enable_classification" : false, "bridge_status" : "success", "profile_status" : null, "classification_status" : null, "bridge_job_log" : "Start DLI Bridge Job.", "profile_job_log" : null, "classification_job_log" : null}
  • 响应参数 状态码: 200 表4 响应Body参数 参数 参数类型 描述 enable_bridge Boolean 是否开启桥接模式 enable_profile Boolean 是否启用配置 enable_classification Boolean 是否开启分类 bridge_status String 桥接状态 profile_status String 配置状态 classification_status String 分类状态 bridge_job_log String 桥接作业日志 profile_job_log String 配置作业日志 classification_job_log String 分类作业日志 状态码: 400 表5 响应Body参数 参数 参数类型 描述 error_code String 错误码 error_msg String 错误描述 状态码: 401 表6 响应Body参数 参数 参数类型 描述 error_code String 错误码 error_msg String 错误描述 状态码: 403 表7 响应Body参数 参数 参数类型 描述 error_code String 错误码 error_msg String 错误描述 状态码: 404 表8 响应Body参数 参数 参数类型 描述 error_code String 错误码 error_msg String 错误描述
  • 响应示例 状态码: 200 OK { "count" : 1, "entities" : [ { "attributes" : { "owner" : "wangyongjie", "create_time" : null, "qualified_name" : "cbu_training@dli.0833a5737480d53b2f25c010dc1a7b88-workspace-61aa10df45e54431a1901cb3527adab8", "name" : "cbu_training", "description" : "", "security_level" : null }, "classification_names" : [ ], "connection" : { "connection_type" : "dli", "display_text" : "dli", "guid" : "0fff4057-c206-4dc3-a4ac-73ffc332bc9a", "qualified_name" : "dli@0833a5737480d53b2f25c010dc1a7b88-workspace-61aa10df45e54431a1901cb3527adab8", "type_name" : "Connection" }, "display_text" : "cbu_training", "guid" : "e2b12c35-48ee-441f-a357-e338a85f5d00", "tags" : [ ], "type_name" : "dli_database" } ], "scroll_id" : null}
  • 响应参数 状态码: 200 表6 响应Body参数 参数 参数类型 描述 count Integer 技术资产总数 entities Array of OpenEntityHeader objects 技术资产列表 scroll_id String scroll_id 表7 OpenEntityHeader 参数 参数类型 描述 attributes Object 属性 connection Array of Connection objects 数据连接 display_text String 展示文档 guid String 资产guid type_name String 类型名称 tags Array of TagHeader objects 标签列表 classification_names Array of strings 分类名称列表 表8 Connection 参数 参数类型 描述 guid String 关联guid display_text String 显示内容 type_name String 类型名称 connection_type String 连接类型 qualified_name String 限定名称 表9 TagHeader 参数 参数类型 描述 name String 资产名称 dexcription Object 标签描述 display_text String 标签的名称 relation_guid String 关联的guid tag_guid String 标签关联的guid 状态码: 400 表10 响应Body参数 参数 参数类型 描述 error_code String 错误码 error_msg String 错误描述 状态码: 401 表11 响应Body参数 参数 参数类型 描述 error_code String 错误码 error_msg String 错误描述 状态码: 403 表12 响应Body参数 参数 参数类型 描述 error_code String 错误码 error_msg String 错误描述 状态码: 404 表13 响应Body参数 参数 参数类型 描述 error_code String 错误码 error_msg String 错误描述 状态码: 500 表14 响应Body参数 参数 参数类型 描述 error_code String 错误码 error_msg String 错误描述
  • 请求参数 表2 请求Header参数 参数 是否必选 参数类型 描述 X-Auth-Token 是 String IAM Token workspace 是 String DataArts Studio工作空间ID 表3 请求Body参数 参数 是否必选 参数类型 描述 query 是 String 查询关键字,search_all_attributes为true:匹配所有属性,false:只匹配名称、描述,默认false 最大长度:100 type_names 是 Array of strings 分类名称 List(String) connection_names 否 Array of strings List(String) 连接名称 search_all_attributes 否 Boolean 查询关键字是否匹配资产的名称描述信息,true:匹配所有属性,false:只匹配名称、描述,默认false tags 否 Array of strings List(String) 标签的名称 limit 是 Integer 分页显示每页返回结果数。默认值,10 offset 否 Integer 偏移量,默认值,0 attributes 否 Object key当前支持Table,value可为以下中的一个或多个:rowCounts、tableSize、database、schema、namespace、ddlUpdateTime、dataUpdateTime、ddlCreateTime Map(String,Set(String)) filter_criteria 否 FilterCriteria object 过滤条件 time_range 否 TimeRange object 时间过滤条件,可以根据此条件设置过滤资产 scroll_id 否 String scroll_id security_levels 否 Array of strings List(String) 安全级别 is_import 否 Boolean 是否导入 classifications 否 Array of strings List(String) 分类 description 否 String 描述 最小长度:2 最大长度:512 表4 FilterCriteria 参数 是否必选 参数类型 描述 name 是 String 当前可选值:database value 是 String database的名称 operator 是 String 操作者 表5 TimeRange 参数 是否必选 参数类型 描述 time_type 是 String 可选值:ddlUpdateTime、dataUpdateTime、ddlCreateTime start 是 String 开始时间 end 是 String 结束时间
  • 响应示例 状态码: 200 OK { "create_time" : "1663573720930", "data_source_type" : "HIVE", "data_source_workspace_id" : null, "description" : "", "dir_id" : "0", "duty_person" : "user_demo", "end_time" : "0", "id" : "8a9480ed8353e491018354b87f63009e", "last_run_time" : "1663574072000", "name" : "采集验证一汽大众需求", "next_run_time" : "0", "parameter_config" : [ ], "path" : "", "project_id" : null, "schedule_config" : [ { "cron_expression" : null, "enabled" : 4, "end_time" : null, "interval" : null, "job_id" : 261593, "max_time_out" : 60, "schedule_type" : "RUN_ONCE", "start_time" : null } ], "start_time" : "0", "task_config" : [ ], "update_time" : "1663573720930", "update_type" : null, "user_id" : "0833a573fe80d5401f6dc010a775569a", "user_name" : "user_demo"}
  • 响应参数 状态码: 200 表3 响应Body参数 参数 参数类型 描述 id String 任务id name String 任务名称 description String 任务描述 user_id String 用户id create_time String 创建时间 project_id String 产品id dir_id String 目录id schedule_config SchedulerInfo object 调度信息 parameter_config Array of CustomMetadata objects 自定义元数据信息 update_time String 修改时间 user_name String 用户名 path String 路径 last_run_time String 最后一次执行时间 start_time String 开始时间 end_time String 结束时间 next_run_time String 下一次执行时间 duty_person String 责任人 update_type String 修改类型 data_source_type String 数据来源类型 task_config Object 任务信息Map(String, Object) data_source_workspace_id String 数据来源工作空间id 表4 SchedulerInfo 参数 参数类型 描述 cron_expression String 表达式 end_time String 结束时间 max_time_out Integer 最大超时时间 interval String 间隔 schedule_type String 调度类型 start_time String 开始时间 job_id Integer 工作id enabled Integer 启用 表5 CustomMetadata 参数 参数类型 描述 description String 描述 type String 类型 task_id String 任务id 状态码: 400 表6 响应Body参数 参数 参数类型 描述 error_code String 错误码 error_msg String 错误描述 状态码: 401 表7 响应Body参数 参数 参数类型 描述 error_code String 错误码 error_msg String 错误描述 状态码: 403 表8 响应Body参数 参数 参数类型 描述 error_code String 错误码 error_msg String 错误描述 状态码: 404 表9 响应Body参数 参数 参数类型 描述 error_code String 错误码 error_msg String 错误描述
  • 请求示例 { "user_name" : "userName", "name" : null, "data_source_type" : null, "data_connection_id" : null, "start_time" : null, "end_time" : null, "directory_id" : "e4248d66-c376-4f1b-a576-e4d1c6838d83", "bucket_name" : null, "limit" : 10, "offset" : 1}
  • 响应示例 状态码: 200 OK { "count" : 1, "total_records" : 1, "max_records" : 100, "resources" : [ { "create_time" : "1663722819809", "data_source_type" : "HIVE", "data_source_workspace_id" : null, "description" : null, "dir_id" : "0", "duty_person" : "user_demo", "end_time" : "0", "id" : "8a948047835b945101835d9b90e1010f", "last_run_time" : "1663723446000", "name" : "hive921", "next_run_time" : "0", "parameter_config" : [ ], "path" : null, "project_id" : null, "schedule_config" : [ { "cron_expression" : null, "enabled" : 4, "end_time" : null, "interval" : null, "job_id" : 262070, "max_time_out" : 60, "schedule_type" : "RUN_ONCE", "start_time" : null } ], "start_time" : "0", "task_config" : [ ], "update_time" : "1663722819809", "update_type" : null, "user_id" : "0833a573fe80d5401f6dc010a775569a", "user_name" : "user_demo" } ]}
  • 请求参数 表2 请求Header参数 参数 是否必选 参数类型 描述 X-Auth-Token 是 String IAM Token workspace 是 String DataArts Studio工作空间ID 表3 请求Body参数 参数 是否必选 参数类型 描述 user_name 否 String 创建人 name 否 String 任务名 data_source_type 否 String 数据源类型 data_connection_id 否 String 数据连接id start_time 否 String 开始时间 end_time 否 String 结束时间 directory_id 否 String 目录id bucket_name 否 String 桶名 limit 否 Integer 分页参数limit,默认值:10 offset 否 Integer 分页参数offset,默认值:0
  • 响应参数 状态码: 200 表4 响应Body参数 参数 参数类型 描述 count Integer 查询采集任务数量 total_records Integer 同一projectId下已创建采集任务数量 max_records Integer 同一projectId下允许创建采集任务数量 resources Array of MetadataCollectionTask objects 采集任务列表 表5 MetadataCollectionTask 参数 参数类型 描述 id String 任务id name String 任务名称 description String 任务描述 user_id String 用户id create_time String 创建时间 project_id String 产品id dir_id String 目录id schedule_config SchedulerInfo object 调度信息 parameter_config Array of CustomMetadata objects 自定义元数据信息 update_time String 修改时间 user_name String 用户名 path String 路径 last_run_time String 最后一次执行时间 start_time String 开始时间 end_time String 结束时间 next_run_time String 下一次执行时间 duty_person String 责任人 update_type String 修改类型 data_source_type String 数据来源类型 task_config Object 任务信息Map(String, Object) data_source_workspace_id String 数据来源工作空间id 表6 SchedulerInfo 参数 参数类型 描述 cron_expression String 表达式 end_time String 结束时间 max_time_out Integer 最大超时时间 interval String 间隔 schedule_type String 调度类型 start_time String 开始时间 job_id Integer 工作id enabled Integer 启用 表7 CustomMetadata 参数 参数类型 描述 description String 描述 type String 类型 task_id String 任务id 状态码: 400 表8 响应Body参数 参数 参数类型 描述 error_code String 错误码 error_msg String 错误描述 状态码: 401 表9 响应Body参数 参数 参数类型 描述 error_code String 错误码 error_msg String 错误描述 状态码: 403 表10 响应Body参数 参数 参数类型 描述 error_code String 错误码 error_msg String 错误描述 状态码: 404 表11 响应Body参数 参数 参数类型 描述 error_code String 错误码 error_msg String 错误描述
  • 响应参数 状态码: 200 表4 响应Body参数 参数 参数类型 描述 data Object 返回的数据信息 状态码: 400 表5 响应Body参数 参数 参数类型 描述 error_code String 错误码,如DS.000,请求处理成功 error_msg String 错误信息 data Object 返回的数据信息 状态码: 401 表6 响应Body参数 参数 参数类型 描述 error_code String 错误码,如DS.000,请求处理成功 error_msg String 错误信息 data Object 返回的数据信息 状态码: 403 表7 响应Body参数 参数 参数类型 描述 error_code String 错误码,如DS.000,请求处理成功 error_msg String 错误信息 data Object 返回的数据信息
  • 响应示例 状态码: 200 Success,返回data数据是 StatisticStandardCoverageVO 信息 { "data" : { "value" : { "all_col_num" : "182", "col_num" : "1", "coverage" : 0.005494505494505495, "details" : [ { "id" : "873249129940361216", "name" : "标准出行数据", "tb_logic_guid" : "3aaca75c-8399-423d-aedb-2e09db2b7f79", "quality_id" : "873249649983729665", "reversed" : null, "partition_conf" : null, "dirty_out_switch" : false, "dirty_out_database" : "", "dirty_out_prefix" : "", "dirty_out_suffix" : "", "tb_guid" : "51e5cfbe-3f6f-4caf-a216-b35eeffb0f56", "code" : "dwi_taxi_trip_data", "create_by" : "abc", "tenant_id" : "xxx", "description" : "无", "status" : "PUBLISHED", "biz_type" : "TABLE_MODEL", "create_time" : "2021-08-06T17:00:17+08:00", "update_time" : "2022-08-23T19:25:54+08:00", "db_name" : "demo_dwi_db", "dw_type" : "DLI", "queue_name" : null, "schema" : "", "l1" : null, "l2" : null, "l3" : null, "l1_id" : null, "l2_id" : null, "l3_id" : "873233352591908864", "new_biz" : null, "physical_table" : "CREATE_SUCCESS", "technical_asset" : "UPDATE_SUCCESS", "business_asset" : "UPDATE_SUCCESS", "meta_data_link" : "UPDATE_SUCCESS", "data_quality" : "UPDATE_SUCCESS", "dlf_task" : "NO_NEED", "materialization" : null, "publish_to_dlm" : null, "summary_status" : "SUMMARY_SUCCESS", "standard_count" : "1", "alias" : null, "api_id" : "0", "workspace_id" : "f7eee36e67e541a59679f9b1b7f4eab0", "workspace_name" : "taxi-demo" } ] } }}
  • 请求示例 { "attributes" : { "database" : [ "database" ], "classifications" : [ ], "connection_names" : [ ], "exclude_classifications" : false, "exclude_security_levels" : false, "exclude_tags" : false, "include_classification_attributes" : false, "include_sub_classifications" : false, "limit" : 10, "offset" : 0, "order" : "incr", "query" : "wk_02", "search_name_and_description" : true, "security_levels" : [ ], "term_names" : [ ], "type_names" : [ ] }}
  • 响应示例 状态码: 200 OK { "attributes" : null, "classification" : null, "count" : 78, "entities" : [ { "attributes" : { "securityLevel" : null, "owner" : "DA_test", "comments" : null, "createTime" : 1674961143000, "qualifiedName" : "wk.hive_02@hive.192.168.0.96-mrs_3x_autotest_do_not_del.0833a5737480d53b2f25c010dc1a7b88-workspace -b88c445407b24283aa949f9833a38fd8", "connectionQName" : "hive@192.168.0.96-mrs_3x_autotest_do_not_del.0833a5737480d53b2f25c010dc1a7b88-workspace -b88c445407b24283aa949f9833a38fd8", "name" : "hive_02", "description" : null, "connectionType" : "hive" }, "children" : null, "classification_names" : [ ], "classifications" : null, "display_text" : null, "guid" : "9915ee1e-3803-4f4d-86b2-ee5dfadc0d46", "meaning_names" : [ ], "meanings" : [ ], "name" : null, "status" : "ACTIVE", "type_name" : "hive_table" } ], "full_text_result" : null, "query_text" : "", "query_type" : "ADVANCED", "referred_entities" : null, "scroll_id" : null, "search_parameters" : null, "type" : null}
  • 响应参数 状态码: 200 表4 响应Body参数 参数 参数类型 描述 attributes AttributeSearchResult object 属性信息 classification String 分类 count Integer 结果总量 entities Array of AtlasEntityHeader objects 资产信息 full_text_result Array of AtlasFullTextResult objects 请求参数 query_text String 查询内容 query_type String 查询类型,取值范围DSL,FULL_TEXT,GREMLIN,BASIC,ATTRIBUTE,RELATIONSHIP,ADVANCED referred_entities Object Map(String, AtlasEntityHeader) scroll_id String 滚动条id search_parameters Object 参数 type String 类型 表5 AttributeSearchResult 参数 参数类型 描述 name Array of strings 名称列表 values Array of objects 值列表 表6 AtlasEntityHeader 参数 参数类型 描述 type_name String 类型名称 guid String guid name String 名称 display_text String 展示 status String 状态 枚举值:ACTIVE、DELETED classification_names Array of strings 分类名称列表 classifications Array of AtlasClassificationInfo objects 分类信息 meaning_names Array of strings 标签名称列表 meanings Array of TermAssignmentHeader objects 关联任务 children Object 实体map Map(String, AtlasEntityHeader) attributes Object 实体map Map(String, Object) 表7 AtlasFullTextResult 参数 参数类型 描述 entity AtlasEntityHeader object 资产信息 score Number 数值 表8 AtlasClassificationInfo 参数 参数类型 描述 entity_guid String guid propagate Boolean 是否传播 validity_periods Array of TimeBoundary objects 时间信息 type_name String 类型名称 attributes Object 实体map Map(String, Object) 表9 TimeBoundary 参数 参数类型 描述 start_time String 开始时间 end_time String 结束时间 time_zone String 时区 表10 TermAssignmentHeader 参数 参数类型 描述 confidence Integer 信任id steward String 管理员 source String 来源 status String 状态 枚举值:DISCOVERED、PROPOSED、IMPORTED、VALIDATED、DEPRECATED、OBSOLETE、OTHER create_user String 创建人 expression String 表达式 display_text String 展示信息 term_guid String 标签guid relation_guid String 关联guid 状态码: 400 表11 响应Body参数 参数 参数类型 描述 error_code String 错误码 error_msg String 错误描述 状态码: 401 表12 响应Body参数 参数 参数类型 描述 error_code String 错误码 error_msg String 错误描述 状态码: 403 表13 响应Body参数 参数 参数类型 描述 error_code String 错误码 error_msg String 错误描述 状态码: 404 表14 响应Body参数 参数 参数类型 描述 error_code String 错误码 error_msg String 错误描述
  • 请求参数 表2 请求Header参数 参数 是否必选 参数类型 描述 X-Auth-Token 是 String IAM Token workspace 是 String DataArts Studio工作空间ID 表3 请求Body参数 参数 是否必选 参数类型 描述 attributes 否 Object 属性 classifications 否 Array of strings 分类 connection_names 否 Array of strings 数据连接 exclude_classifications 否 Boolean 是否排除分类 exclude_security_levels 否 Boolean 是否排除密级 exclude_tags 否 Boolean 是否排除标签 include_classification_attributes 否 Boolean 包含分类属性 include_sub_classifications 否 Boolean 包含子分类 limit 否 Integer 分页参数,每页限制数量,默认查询所有 offset 否 Integer 分页参数,偏移量,默认查询所有 order 否 String 排序方式 query 否 String 查询参数 search_name_and_description 否 Boolean 是否按名称和描述搜索 security_levels 否 Array of strings 安全密级列表 term_names 否 Array of strings 标签列表 type_names 否 Array of strings 类型列表
  • 请求示例 { "data_source_vos" : [ { "dw_config" : { "cluster_id" : "353ff458-a560-413e-9b84-33f930cb8057", "cluster_name" : "mrs_3x_autotest_do_not_del", "db_user_name" : "xinfeng", "db_password" : "xxxxxx", "kms_id" : "a721616c-9a12-47b1-a805-3cfcd3e63cd7", "kms_name" : "KMS-1111", "mrs_connection_type" : "agent" }, "env_type" : 0, "dw_type" : "HIVE", "dw_name" : "test_hive_01", "agent_id" : "91f81a12-75c5-43ce-aab8-7149ecef3b17", "agent_name" : "cdm-4autotest-nodelete" } ]}
  • 请求参数 表2 请求Header参数 参数 是否必选 参数类型 描述 X-Auth-Token 是 String IAM Token 最小长度:0 最大长度:4096 workspace 是 String 工作空间id 最小长度:1 最大长度:128 表3 请求Body参数 参数 是否必选 参数类型 描述 data_source_vos 否 Array of ApigDataSourceVo objects 数据源结构体 表4 ApigDataSourceVo 参数 是否必选 参数类型 描述 dw_name 是 String 数据连接名称 最小长度:1 最大长度:128 dw_type 是 String 数据连接类型,如:DWS、DLI、HIVE、RDS、SparkSQL等,涉及类型较多,可在console界面查看所有数据连接类型 最小长度:1 最大长度:128 dw_config 是 Object 连接动态变化配置项,每种连接略有区别,建议在界面进行调试 agent_id 否 String 代理id(若使用代理连接则必填,可在console界面查看) agent_name 否 String 代理名称id(若使用代理连接则必填,可在console界面查看) 最小长度:1 最大长度:128 env_type 否 Integer 0:开发模式 1:生产模式。默认为0 最小值:0 最大值:1
  • 响应参数 状态码: 400 表5 响应Body参数 参数 参数类型 描述 error_msg String 错误信息 最小长度:1 最大长度:1024 error_code String dayu异常码 最小长度:1 最大长度:1024 状态码: 500 表6 响应Body参数 参数 参数类型 描述 error_msg String 错误信息 最小长度:1 最大长度:1024 error_code String dayu异常码 最小长度:1 最大长度:1024
  • 响应示例 状态码: 200 Success,数据连接信息更新成功 { "is_success" : true, "message" : null} 状态码: 400 { "error_code" : "DAYU.4402", "error_msg" : "The operation failed, detail msg {0}."} 状态码: 500 { "error_code" : "DAYU.3531", "error_msg" : "Internal server error: {0}"}
  • 请求示例 批量删除规则模板,模板id列表为[ 1045431715138617345, 1035847774756868096 ]。 POST /v2/0833a5737480d53b2f25c010dc1a7b88/quality/rule-templates/batch-delete{ "ids" : [ 1045431715138617345, 1035847774756868096 ]}
  • 请求示例 { "user_ids" : [ { "user_id" : "2d032145d82546b5b83cd7a6fd7d0afc", "user_name" : "ei_dayu_n30011721", "domain_id" : "0833a5736980d53b0f22c0102ffcbfc0", "domain_name" : "ei_dayu_y00321344_01", "is_domain_owner" : "false" } ], "roles_ids" : [ { "role_id" : "r00003" } ], "type" : 0}
  • 响应参数 状态码: 400 表7 响应Body参数 参数 参数类型 描述 error_msg String 错误信息 最小长度:1 最大长度:1024 error_code String dayu异常码 最小长度:1 最大长度:1024 状态码: 500 表8 响应Body参数 参数 参数类型 描述 error_msg String 错误信息 最小长度:1 最大长度:1024 error_code String dayu异常码 最小长度:1 最大长度:1024
  • 响应示例 状态码: 200 Success,修改工作空间用户成功 { "message" : null, "is_success" : true} 状态码: 400 { "error_code" : "DAYU.4402", "error_msg" : "The operation failed, detail msg {0}."} 状态码: 500 { "error_code" : "DAYU.3531", "error_msg" : "Internal server error: {0}"}
  • 请求参数 表2 请求Header参数 参数 是否必选 参数类型 描述 X-Auth-Token 是 String IAM Token 最小长度:0 最大长度:4096 表3 请求Body参数 参数 是否必选 参数类型 描述 type 是 Integer 用户类型,0:添加用户;1:添加用户组 最小值:0 最大值:1 user_ids 否 Array of ApigIamUserDto objects 用户列表信息 groups 否 Array of Group objects 用户组列表信息 roles_ids 是 Array of ApigRole objects 空间角色列表 表4 ApigIamUserDto 参数 是否必选 参数类型 描述 user_id 否 String 用户id user_name 否 String 用户名 domain_id 否 String 租户id domain_name 否 String 租户名 is_domain_owner 否 Boolean 是否是空间拥有者 表5 Group 参数 是否必选 参数类型 描述 id 否 String 用户组id 最小长度:1 最大长度:128 name 否 String 用户组名 最小长度:1 最大长度:128 表6 ApigRole 参数 是否必选 参数类型 描述 role_id 否 String 角色id,r00001:管理员;r00002:开发者;r00003:运维者;r00004:访客 最小长度:1 最大长度:128
  • 请求示例 { "id" : null, "data_source_type" : "DLI", "description" : "", "name" : "test采集110", "user_id" : "0833a573fe80d5401f6dc010a775569a", "dir_id" : "0", "task_config" : { "data_connection_name" : "dli_test", "data_connection_id" : "14bb947454e64de784eadaab759081e8", "databaseName" : [ "ygy1" ], "tableName" : [ "ygy1.ygy" ], "alive_object_policy" : "3", "deleted_object_policy" : "3", "enableDataProfile" : false, "enableDataClassification" : false, "enable_table_filter_by_regex" : false }, "schedule_config" : { "schedule_type" : "RUN_ONCE", "max_time_out" : 10 }}
  • 响应参数 状态码: 400 表6 响应Body参数 参数 参数类型 描述 error_code String 错误码 error_msg String 错误描述 状态码: 401 表7 响应Body参数 参数 参数类型 描述 error_code String 错误码 error_msg String 错误描述 状态码: 403 表8 响应Body参数 参数 参数类型 描述 error_code String 错误码 error_msg String 错误描述 状态码: 404 表9 响应Body参数 参数 参数类型 描述 error_code String 错误码 error_msg String 错误描述
共100000条