diff options
| author | Zhineng Li <im@zhineng.li> | 2026-07-12 17:11:17 +0800 |
|---|---|---|
| committer | Zhineng Li <im@zhineng.li> | 2026-07-12 17:11:17 +0800 |
| commit | 1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634 (patch) | |
| tree | 5f0857666365b7e40cdaa3733ebe1f3ba9e13c67 /data/zh_cn/dataworks-public/2018-06-01 | |
| parent | 7347bac4ab7e136157fc94777e6cf87ef9e08599 (diff) | |
| download | afterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.tar.gz afterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.zip | |
update APIs 20260712
Diffstat (limited to 'data/zh_cn/dataworks-public/2018-06-01')
| -rw-r--r-- | data/zh_cn/dataworks-public/2018-06-01/api-docs.php | 2260 |
1 files changed, 427 insertions, 1833 deletions
diff --git a/data/zh_cn/dataworks-public/2018-06-01/api-docs.php b/data/zh_cn/dataworks-public/2018-06-01/api-docs.php index 3721bb9..f092c89 100644 --- a/data/zh_cn/dataworks-public/2018-06-01/api-docs.php +++ b/data/zh_cn/dataworks-public/2018-06-01/api-docs.php @@ -1,49 +1,24 @@ <?php return [ 'version' => '1.0', - 'info' => [ - 'style' => 'RPC', - 'product' => 'dataworks-public', - 'version' => '2018-06-01', - ], + 'info' => ['style' => 'RPC', 'product' => 'dataworks-public', 'version' => '2018-06-01'], 'directories' => [ [ 'id' => 60061, 'title' => '流程', 'type' => 'directory', - 'children' => [ - 'CreateManualDag', - 'DeleteFile', - 'SearchManualDagNodeInstance', - ], + 'children' => ['CreateManualDag', 'DeleteFile', 'SearchManualDagNodeInstance'], ], [ 'id' => 60066, 'title' => 'HIVE', 'type' => 'directory', - 'children' => [ - 'DescribeEmrHiveTable', - 'ListEmrHiveAuditLogs', - 'ListEmrHiveDatabases', - 'ListEmrHiveTables', - 'ListHiveTableLineages', - 'ListHiveColumnLineages', - 'ListTablePartitions', - ], + 'children' => ['DescribeEmrHiveTable', 'ListEmrHiveAuditLogs', 'ListEmrHiveDatabases', 'ListEmrHiveTables', 'ListHiveTableLineages', 'ListHiveColumnLineages', 'ListTablePartitions'], ], [ 'id' => 0, 'title' => '其它', 'type' => 'directory', - 'children' => [ - 'OpenDataWorksStandardService', - 'SendTaskMetaCallback', - 'SetSwitchValue', - 'GetDataServiceApiContext', - 'GetDataServiceContextUpdateEvent', - 'GetDataServiceConnection', - 'GetDataServiceApiAuthMapContext', - 'GetDataServiceFunction', - ], + 'children' => ['OpenDataWorksStandardService', 'SendTaskMetaCallback', 'SetSwitchValue', 'GetDataServiceApiContext', 'GetDataServiceContextUpdateEvent', 'GetDataServiceConnection', 'GetDataServiceApiAuthMapContext', 'GetDataServiceFunction', 'GetDataServiceConfig'], ], ], 'components' => [ @@ -51,13 +26,8 @@ ], 'apis' => [ 'CreateManualDag' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -67,63 +37,33 @@ 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '78125', - 'abilityTreeNodes' => [ - 'FEATUREdideVFMENL', - ], + 'abilityTreeNodes' => ['FEATUREdideVFMENL'], ], 'parameters' => [ [ 'name' => 'ProjectName', 'in' => 'query', - 'schema' => [ - 'description' => '项目名称。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'test_project', - ], + 'schema' => ['description' => '项目名称。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'test_project'], ], [ 'name' => 'FlowName', 'in' => 'query', - 'schema' => [ - 'description' => '手动业务流程名称。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'test_flow', - ], + 'schema' => ['description' => '手动业务流程名称。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'test_flow'], ], [ 'name' => 'DagPara', 'in' => 'query', - 'schema' => [ - 'description' => '业务流程参数。', - 'type' => 'string', - 'required' => false, - 'example' => 'param_k1=param_v1 param_k2=param_v2', - ], + 'schema' => ['description' => '业务流程参数。', 'type' => 'string', 'required' => false, 'example' => 'param_k1=param_v1 param_k2=param_v2'], ], [ 'name' => 'NodePara', 'in' => 'query', - 'schema' => [ - 'description' => '节点参数,节点ID到节点参数的map。如果节点有多个参数,在节点参数值中用空格分隔。', - 'type' => 'string', - 'required' => false, - 'example' => '{"103180025": "test=$[yyyy-mm-dd]"}', - ], + 'schema' => ['description' => '节点参数,节点ID到节点参数的map。如果节点有多个参数,在节点参数值中用空格分隔。', 'type' => 'string', 'required' => false, 'example' => '{"103180025": "test=$[yyyy-mm-dd]"}'], ], [ 'name' => 'Bizdate', 'in' => 'query', - 'schema' => [ - 'description' => '业务日期。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '2018-12-12 00:00:00', - ], + 'schema' => ['description' => '业务日期。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2018-12-12 00:00:00'], ], ], 'responses' => [ @@ -131,32 +71,11 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'ReturnCode' => [ - 'description' => '响应代码编号,0标识成功。', - 'type' => 'string', - 'example' => '0', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '2d9ce-38ef-4923-baf6-391a7e656', - ], - 'ReturnValue' => [ - 'description' => '返回值,此处返回手动业务流程的运行实例ID。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1244311235', - ], - 'ReturnErrorSolution' => [ - 'description' => '如果异常,会显示异常的解决方案信息。', - 'type' => 'string', - 'example' => 'test', - ], - 'ReturnMessage' => [ - 'description' => '异常信息。', - 'type' => 'string', - 'example' => 'test', - ], + 'ReturnCode' => ['description' => '响应代码编号,0标识成功。', 'type' => 'string', 'example' => '0'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '2d9ce-38ef-4923-baf6-391a7e656'], + 'ReturnValue' => ['description' => '返回值,此处返回手动业务流程的运行实例ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '1244311235'], + 'ReturnErrorSolution' => ['description' => '如果异常,会显示异常的解决方案信息。', 'type' => 'string', 'example' => 'test'], + 'ReturnMessage' => ['description' => '异常信息。', 'type' => 'string', 'example' => 'test'], ], ], ], @@ -170,13 +89,8 @@ 'extraInfo' => ' ', ], 'DeleteFile' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -187,38 +101,23 @@ 'systemTags' => [ 'operationType' => 'delete', 'abilityTreeCode' => '78128', - 'abilityTreeNodes' => [ - 'FEATUREdide8FM783', - ], + 'abilityTreeNodes' => ['FEATUREdide8FM783'], ], 'parameters' => [ [ 'name' => 'ProjectId', 'in' => 'formData', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'docRequired' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => true], ], [ 'name' => 'ProjectIdentifier', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'FileId', 'in' => 'formData', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true], ], ], 'responses' => [ @@ -226,72 +125,35 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'HttpStatusCode' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'ErrorMessage' => [ - 'type' => 'string', - ], - 'RequestId' => [ - 'type' => 'string', - ], - 'ErrorCode' => [ - 'type' => 'string', - ], - 'Success' => [ - 'type' => 'boolean', - ], + 'HttpStatusCode' => ['type' => 'integer', 'format' => 'int32'], + 'ErrorMessage' => ['type' => 'string'], + 'RequestId' => ['type' => 'string'], + 'ErrorCode' => ['type' => 'string'], + 'Success' => ['type' => 'boolean'], ], ], ], ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'Forbidden.Access', - 'errorMessage' => 'Access is forbidden. Activate DataWorks first.', - ], - [ - 'errorCode' => 'ResourceNotAuthorized.Api', - 'errorMessage' => 'You are not authorized to access the resources.', - ], + ['errorCode' => 'Forbidden.Access', 'errorMessage' => 'Access is forbidden. Activate DataWorks first.'], + ['errorCode' => 'ResourceNotAuthorized.Api', 'errorMessage' => 'You are not authorized to access the resources.'], ], 429 => [ - [ - 'errorCode' => 'Throttling.Api', - 'errorMessage' => 'The request for this resource has exceeded your available limit.', - ], - [ - 'errorCode' => 'Throttling.System', - 'errorMessage' => 'The DataWorks system is busy. Try again later.', - ], - [ - 'errorCode' => 'Throttling.User', - 'errorMessage' => 'Your request is too frequent. Try again later.', - ], + ['errorCode' => 'Throttling.Api', 'errorMessage' => 'The request for this resource has exceeded your available limit.'], + ['errorCode' => 'Throttling.System', 'errorMessage' => 'The DataWorks system is busy. Try again later.'], + ['errorCode' => 'Throttling.User', 'errorMessage' => 'Your request is too frequent. Try again later.'], ], 500 => [ - [ - 'errorCode' => 'InternalError.System', - 'errorMessage' => 'An internal system error occurred. Try again later.', - ], - [ - 'errorCode' => 'InternalError.UserId.Missing', - 'errorMessage' => 'An internal system error occurred. Try again later.', - ], + ['errorCode' => 'InternalError.System', 'errorMessage' => 'An internal system error occurred. Try again later.'], + ['errorCode' => 'InternalError.UserId.Missing', 'errorMessage' => 'An internal system error occurred. Try again later.'], ], ], 'responseDemo' => '', ], 'SearchManualDagNodeInstance' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -301,33 +163,18 @@ 'systemTags' => [ 'operationType' => 'get', 'abilityTreeCode' => '78147', - 'abilityTreeNodes' => [ - 'FEATUREdide7WF1GB', - ], + 'abilityTreeNodes' => ['FEATUREdide7WF1GB'], ], 'parameters' => [ [ 'name' => 'ProjectName', 'in' => 'query', - 'schema' => [ - 'description' => '项目名称。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'test_odps_project', - ], + 'schema' => ['description' => '项目名称。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'test_odps_project'], ], [ 'name' => 'DagId', 'in' => 'query', - 'schema' => [ - 'description' => '手动业务流程运行实例ID,**createManualDag**接口返回的值。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'example' => '123434234', - ], + 'schema' => ['description' => '手动业务流程运行实例ID,**createManualDag**接口返回的值。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '123434234'], ], ], 'responses' => [ @@ -335,26 +182,10 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '2d9ced66-38ef-4923-baf6-391dd3a7e656', - ], - 'ErrMsg' => [ - 'description' => '错误信息。', - 'type' => 'string', - 'example' => 'test', - ], - 'ErrCode' => [ - 'description' => '错误码。', - 'type' => 'string', - 'example' => '0', - ], - 'Success' => [ - 'description' => '是否成功。', - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '2d9ced66-38ef-4923-baf6-391dd3a7e656'], + 'ErrMsg' => ['description' => '错误信息。', 'type' => 'string', 'example' => 'test'], + 'ErrCode' => ['description' => '错误码。', 'type' => 'string', 'example' => '0'], + 'Success' => ['description' => '是否成功。', 'type' => 'boolean', 'example' => 'true'], 'Data' => [ 'type' => 'object', 'itemNode' => true, @@ -365,91 +196,35 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'Status' => [ - 'description' => '任务状态:'."\n" - ."\n" - .'- 未运行:上游实例未全部成功。例如,NOT_RUN(1, "未运行")。'."\n" - ."\n" - .'- 等待定时时间(dueTime/cycleTime)到来。例如,WAIT_TIME(2, "等待时间")。'."\n" - ."\n" - .'- 已经下发到执行引擎,在等待排队调度执行。例如,WAIT_RESOURCE(3, "等待资源")。'."\n" - ."\n" - .'- 执行中。例如,RUNNING(4, "运行中")。'."\n" - ."\n" - .'- 执行完毕,已经下发进行数据校验。例如,CHECKING(7, "校验中")。'."\n" - ."\n" - .'- 执行完毕,正在进行分支条件校验。例如,CHECKING_CONDITION(8, "条件检测中")。'."\n" - ."\n" - .'- 执行失败。例如,FAILURE(5, "运行失败")。'."\n" - ."\n" - .'- 执行成功。例如,SUCCESS(6, "运行成功")。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '6', - ], - 'BeginRunningTime' => [ - 'description' => '开始运行时间。', - 'type' => 'string', - 'example' => '2018-12-12 00:00:00', - ], - 'FinishTime' => [ - 'description' => '任务结束时间。', - 'type' => 'string', - 'example' => '2018-12-12 00:00:00', - ], - 'ParaValue' => [ - 'description' => '任务参数信息。', - 'type' => 'string', - 'example' => 'param_k1=param_v1', - ], - 'CreateTime' => [ - 'description' => '创建时间。', - 'type' => 'string', - 'example' => '2018-12-12 00:00:00', - ], - 'DagId' => [ - 'description' => '业务流程运行实例ID。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12434232423', - ], - 'InstanceId' => [ - 'description' => '任务实例ID。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12322434112', - ], - 'BeginWaitResTime' => [ - 'description' => '开始等待资源的时间点。', - 'type' => 'string', - 'example' => '2018-12-12 00:00:00', - ], - 'DagType' => [ - 'description' => '业务流程类型,5标识手动业务流程。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], - 'NodeName' => [ - 'description' => '任务节点名称。', - 'type' => 'string', - 'example' => 'test_node', - ], - 'Bizdate' => [ - 'description' => '业务日期。', - 'type' => 'string', - 'example' => '2018-12-12 00:00:00', - ], - 'BeginWaitTimeTime' => [ - 'description' => '开始等待时间的时间点。', - 'type' => 'string', - 'example' => '2018-12-12 00:00:00', - ], - 'ModifyTime' => [ - 'description' => '修改时间。', - 'type' => 'string', - 'example' => '2018-12-12 00:00:00', - ], + 'Status' => ['description' => '任务状态:'."\n" + ."\n" + .'- 未运行:上游实例未全部成功。例如,NOT_RUN(1, "未运行")。'."\n" + ."\n" + .'- 等待定时时间(dueTime/cycleTime)到来。例如,WAIT_TIME(2, "等待时间")。'."\n" + ."\n" + .'- 已经下发到执行引擎,在等待排队调度执行。例如,WAIT_RESOURCE(3, "等待资源")。'."\n" + ."\n" + .'- 执行中。例如,RUNNING(4, "运行中")。'."\n" + ."\n" + .'- 执行完毕,已经下发进行数据校验。例如,CHECKING(7, "校验中")。'."\n" + ."\n" + .'- 执行完毕,正在进行分支条件校验。例如,CHECKING_CONDITION(8, "条件检测中")。'."\n" + ."\n" + .'- 执行失败。例如,FAILURE(5, "运行失败")。'."\n" + ."\n" + .'- 执行成功。例如,SUCCESS(6, "运行成功")。', 'type' => 'integer', 'format' => 'int32', 'example' => '6'], + 'BeginRunningTime' => ['description' => '开始运行时间。', 'type' => 'string', 'example' => '2018-12-12 00:00:00'], + 'FinishTime' => ['description' => '任务结束时间。', 'type' => 'string', 'example' => '2018-12-12 00:00:00'], + 'ParaValue' => ['description' => '任务参数信息。', 'type' => 'string', 'example' => 'param_k1=param_v1'], + 'CreateTime' => ['description' => '创建时间。', 'type' => 'string', 'example' => '2018-12-12 00:00:00'], + 'DagId' => ['description' => '业务流程运行实例ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '12434232423'], + 'InstanceId' => ['description' => '任务实例ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '12322434112'], + 'BeginWaitResTime' => ['description' => '开始等待资源的时间点。', 'type' => 'string', 'example' => '2018-12-12 00:00:00'], + 'DagType' => ['description' => '业务流程类型,5标识手动业务流程。', 'type' => 'integer', 'format' => 'int32', 'example' => '5'], + 'NodeName' => ['description' => '任务节点名称。', 'type' => 'string', 'example' => 'test_node'], + 'Bizdate' => ['description' => '业务日期。', 'type' => 'string', 'example' => '2018-12-12 00:00:00'], + 'BeginWaitTimeTime' => ['description' => '开始等待时间的时间点。', 'type' => 'string', 'example' => '2018-12-12 00:00:00'], + 'ModifyTime' => ['description' => '修改时间。', 'type' => 'string', 'example' => '2018-12-12 00:00:00'], ], ], ], @@ -473,14 +248,8 @@ 'extraInfo' => ' ', ], 'DescribeEmrHiveTable' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -488,41 +257,22 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'query', - 'schema' => [ - 'description' => 'EMR集群的ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'C-D033DD5FB82436A6', - ], + 'schema' => ['description' => 'EMR集群的ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'C-D033DD5FB82436A6'], ], [ 'name' => 'DatabaseName', 'in' => 'query', - 'schema' => [ - 'description' => 'EMR Hive数据库的名称。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'default', - ], + 'schema' => ['description' => 'EMR Hive数据库的名称。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'default'], ], [ 'name' => 'TableName', 'in' => 'query', - 'schema' => [ - 'description' => 'EMR Hive表的名称。', - 'type' => 'string', - 'required' => false, - 'example' => 'pt_table_090901_emr', - ], + 'schema' => ['description' => 'EMR Hive表的名称。', 'type' => 'string', 'required' => false, 'example' => 'pt_table_090901_emr'], ], ], 'responses' => [ @@ -530,183 +280,49 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'ErrorMessage' => [ - 'description' => '错误信息。', - 'type' => 'string', - 'example' => 'test', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'E6F0DBDD-5AD8-4870-A6A0', - ], - 'ErrorCode' => [ - 'description' => '错误码。', - 'type' => 'string', - 'example' => '0', - ], + 'ErrorMessage' => ['description' => '错误信息。', 'type' => 'string', 'example' => 'test'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'E6F0DBDD-5AD8-4870-A6A0'], + 'ErrorCode' => ['description' => '错误码。', 'type' => 'string', 'example' => '0'], 'Data' => [ 'description' => '返回数据。', 'type' => 'object', 'properties' => [ - 'TableParameters' => [ - 'description' => 'HIVE表的参数JSON串。', - 'type' => 'string', - 'example' => '{\\"transient_lastDdlTime\\":\\"1568031823\\",\\"bucketing_version\\":\\"2\\",\\"comment\\":\\"RANDOM GENERATED TEST DATA BY FUNCTION OF RANDOM_TEST_DATA\\"}', - ], - 'Owner' => [ - 'description' => '所有者。', - 'type' => 'string', - 'example' => 'root', - ], - 'TableName' => [ - 'description' => 'EMR Hive表的名称。', - 'type' => 'string', - 'example' => 'pt_table_090901_emr', - ], - 'TableDesc' => [ - 'description' => '表的描述信息。', - 'type' => 'string', - 'example' => 'RANDOM GENERATED TEST DATA BY FUNCTION OF RANDOM_TEST_DATA', - ], - 'IsCompressed' => [ - 'description' => '是否压缩。', - 'type' => 'boolean', - 'example' => 'false', - ], - 'GmtModified' => [ - 'description' => '修改时间,指元数据信息。', - 'type' => 'string', - 'example' => '2019-09-09 20:41:28', - ], - 'SerializationLib' => [ - 'description' => '序列化反序列化设置。', - 'type' => 'string', - 'example' => 'org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe', - ], - 'OwnerId' => [ - 'description' => '所有者的Aliyun UID。', - 'type' => 'string', - 'example' => '1861276710322536', - ], - 'TableSize' => [ - 'description' => '以字节为单位的表的物理大小。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '552', - ], - 'LastAccessTime' => [ - 'description' => '最后的访问时间。', - 'type' => 'string', - 'example' => '1970-01-01 08:00:00', - ], - 'TableComment' => [ - 'description' => '表的注释信息。', - 'type' => 'string', - 'example' => 'RANDOM GENERATED TEST DATA BY FUNCTION OF RANDOM_TEST_DATA', - ], - 'LastModifyTime' => [ - 'description' => '最后的修改时间。', - 'type' => 'string', - 'example' => '2019-09-09 20:23:47', - ], - 'DatabaseName' => [ - 'description' => 'Hive数据库的名称。', - 'type' => 'string', - 'example' => 'default', - ], - 'IsTemporary' => [ - 'description' => '是否为临时表。', - 'type' => 'boolean', - 'example' => 'false', - ], - 'GmtCreate' => [ - 'description' => '创建时间。', - 'type' => 'string', - 'example' => '2019-09-09 20:41:28', - ], - 'OutputFormat' => [ - 'description' => 'Hive表的输出格式。', - 'type' => 'string', - 'example' => 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat', - ], - 'TableType' => [ - 'description' => '表的类型。', - 'type' => 'string', - 'example' => 'MANAGED_TABLE', - ], - 'OwnerType' => [ - 'description' => 'Owner类型。', - 'type' => 'string', - 'example' => 'USER', - ], - 'PartitionKeys' => [ - 'description' => '分区字段的名称列表。', - 'type' => 'string', - 'example' => 'DS,HR,REGION', - ], - 'ClusterBizId' => [ - 'description' => 'EMR集群的ID。', - 'type' => 'string', - 'example' => 'C-D033DD5FB82436A6', - ], - 'Location' => [ - 'description' => 'HDFS或OSS等存放路径。', - 'type' => 'string', - 'example' => 'hdfs://emr-header-1.cluster-136574:9000/user/hive/warehouse/pt_table_090901_emr', - ], - 'ClusterBizName' => [ - 'description' => 'EMR集群的名称。', - 'type' => 'string', - 'example' => 'EHMC测试', - ], - 'InputFormat' => [ - 'description' => 'Hive表的输入格式。', - 'type' => 'string', - 'example' => 'org.apache.hadoop.mapred.TextInputFormat', - ], + 'TableParameters' => ['description' => 'HIVE表的参数JSON串。', 'type' => 'string', 'example' => '{\\"transient_lastDdlTime\\":\\"1568031823\\",\\"bucketing_version\\":\\"2\\",\\"comment\\":\\"RANDOM GENERATED TEST DATA BY FUNCTION OF RANDOM_TEST_DATA\\"}'], + 'Owner' => ['description' => '所有者。', 'type' => 'string', 'example' => 'root'], + 'TableName' => ['description' => 'EMR Hive表的名称。', 'type' => 'string', 'example' => 'pt_table_090901_emr'], + 'TableDesc' => ['description' => '表的描述信息。', 'type' => 'string', 'example' => 'RANDOM GENERATED TEST DATA BY FUNCTION OF RANDOM_TEST_DATA'], + 'IsCompressed' => ['description' => '是否压缩。', 'type' => 'boolean', 'example' => 'false'], + 'GmtModified' => ['description' => '修改时间,指元数据信息。', 'type' => 'string', 'example' => '2019-09-09 20:41:28'], + 'SerializationLib' => ['description' => '序列化反序列化设置。', 'type' => 'string', 'example' => 'org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe'], + 'OwnerId' => ['description' => '所有者的Aliyun UID。', 'type' => 'string', 'example' => '1861276710322536'], + 'TableSize' => ['description' => '以字节为单位的表的物理大小。', 'type' => 'integer', 'format' => 'int64', 'example' => '552'], + 'LastAccessTime' => ['description' => '最后的访问时间。', 'type' => 'string', 'example' => '1970-01-01 08:00:00'], + 'TableComment' => ['description' => '表的注释信息。', 'type' => 'string', 'example' => 'RANDOM GENERATED TEST DATA BY FUNCTION OF RANDOM_TEST_DATA'], + 'LastModifyTime' => ['description' => '最后的修改时间。', 'type' => 'string', 'example' => '2019-09-09 20:23:47'], + 'DatabaseName' => ['description' => 'Hive数据库的名称。', 'type' => 'string', 'example' => 'default'], + 'IsTemporary' => ['description' => '是否为临时表。', 'type' => 'boolean', 'example' => 'false'], + 'GmtCreate' => ['description' => '创建时间。', 'type' => 'string', 'example' => '2019-09-09 20:41:28'], + 'OutputFormat' => ['description' => 'Hive表的输出格式。', 'type' => 'string', 'example' => 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'], + 'TableType' => ['description' => '表的类型。', 'type' => 'string', 'example' => 'MANAGED_TABLE'], + 'OwnerType' => ['description' => 'Owner类型。', 'type' => 'string', 'example' => 'USER'], + 'PartitionKeys' => ['description' => '分区字段的名称列表。', 'type' => 'string', 'example' => 'DS,HR,REGION'], + 'ClusterBizId' => ['description' => 'EMR集群的ID。', 'type' => 'string', 'example' => 'C-D033DD5FB82436A6'], + 'Location' => ['description' => 'HDFS或OSS等存放路径。', 'type' => 'string', 'example' => 'hdfs://emr-header-1.cluster-136574:9000/user/hive/warehouse/pt_table_090901_emr'], + 'ClusterBizName' => ['description' => 'EMR集群的名称。', 'type' => 'string', 'example' => 'EHMC测试'], + 'InputFormat' => ['description' => 'Hive表的输入格式。', 'type' => 'string', 'example' => 'org.apache.hadoop.mapred.TextInputFormat'], 'Columns' => [ 'description' => '字段列表。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'ColumnName' => [ - 'description' => '字段的名称。', - 'type' => 'string', - 'example' => 'double', - ], - 'ColumnComment' => [ - 'description' => '字段的注释。', - 'type' => 'string', - 'example' => 'BALANCE FIELD', - ], - 'Comment' => [ - 'description' => '字段的注释。', - 'type' => 'string', - 'example' => 'BALANCE FIELD', - ], - 'ColumnType' => [ - 'description' => '字段的数据类型。', - 'type' => 'string', - 'example' => 'double', - ], - 'GmtCreate' => [ - 'description' => '创建时间,指元数据信息。', - 'type' => 'string', - 'example' => '2019-09-09 20:23:47', - ], - 'GmtModified' => [ - 'description' => '修改时间,指元数据信息。', - 'type' => 'string', - 'example' => '2019-09-09 20:23:47', - ], - 'ColumnPosition' => [ - 'description' => '字段的位置。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], + 'ColumnName' => ['description' => '字段的名称。', 'type' => 'string', 'example' => 'double'], + 'ColumnComment' => ['description' => '字段的注释。', 'type' => 'string', 'example' => 'BALANCE FIELD'], + 'Comment' => ['description' => '字段的注释。', 'type' => 'string', 'example' => 'BALANCE FIELD'], + 'ColumnType' => ['description' => '字段的数据类型。', 'type' => 'string', 'example' => 'double'], + 'GmtCreate' => ['description' => '创建时间,指元数据信息。', 'type' => 'string', 'example' => '2019-09-09 20:23:47'], + 'GmtModified' => ['description' => '修改时间,指元数据信息。', 'type' => 'string', 'example' => '2019-09-09 20:23:47'], + 'ColumnPosition' => ['description' => '字段的位置。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], ], ], ], @@ -725,14 +341,8 @@ 'extraInfo' => ' ', ], 'ListEmrHiveAuditLogs' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -740,93 +350,44 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'query', - 'schema' => [ - 'description' => 'EMR集群的标识。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'C-D033DD5FB82436A6', - ], + 'schema' => ['description' => 'EMR集群的标识。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'C-D033DD5FB82436A6'], ], [ 'name' => 'DatabaseName', 'in' => 'query', - 'schema' => [ - 'description' => '数据库的名称。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'default', - ], + 'schema' => ['description' => '数据库的名称。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'default'], ], [ 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'description' => '页码。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'minimum' => '1', - 'example' => '2', - ], + 'schema' => ['description' => '页码。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'minimum' => '1', 'example' => '2'], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '页宽(每页记录数量)。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'maximum' => '100', - 'minimum' => '1', - 'example' => '2', - ], + 'schema' => ['description' => '页宽(每页记录数量)。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '100', 'minimum' => '1', 'example' => '2'], ], [ 'name' => 'TableName', 'in' => 'query', - 'schema' => [ - 'description' => '表的名称。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'test_table', - ], + 'schema' => ['description' => '表的名称。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'test_table'], ], [ 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '表示开始时间(10位时间戳),EndTime-StartTime需要满足小于等于86400。'."\n" - .'两个输入值可以同时为空,返回(current-86400, current)时间段内的审计日志。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1586509407', - ], + 'schema' => ['description' => '表示开始时间(10位时间戳),EndTime-StartTime需要满足小于等于86400。'."\n" + .'两个输入值可以同时为空,返回(current-86400, current)时间段内的审计日志。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1586509407'], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '表示结束时间(10位时间戳),EndTime-StartTime需要满足小于等于86400。'."\n" - .'两个输入值可以同时为空,返回(current-86400, current)时间段内的审计日志。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1586509710', - ], + 'schema' => ['description' => '表示结束时间(10位时间戳),EndTime-StartTime需要满足小于等于86400。'."\n" + .'两个输入值可以同时为空,返回(current-86400, current)时间段内的审计日志。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1586509710'], ], ], 'responses' => [ @@ -834,82 +395,30 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'ErrorMessage' => [ - 'description' => '错误信息。', - 'type' => 'string', - 'example' => 'success', - ], - 'RequestId' => [ - 'description' => '请求标识。', - 'type' => 'string', - 'example' => '58D5334A-B013-430E', - ], - 'ErrorCode' => [ - 'description' => '错误码。', - 'type' => 'string', - 'example' => '0', - ], + 'ErrorMessage' => ['description' => '错误信息。', 'type' => 'string', 'example' => 'success'], + 'RequestId' => ['description' => '请求标识。', 'type' => 'string', 'example' => '58D5334A-B013-430E'], + 'ErrorCode' => ['description' => '错误码。', 'type' => 'string', 'example' => '0'], 'Data' => [ 'description' => '返回数据。', 'type' => 'object', 'properties' => [ - 'PageNumber' => [ - 'description' => '页码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'PageSize' => [ - 'description' => '页宽(每页记录数量)。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'TotalCount' => [ - 'description' => '总记录量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], + 'PageNumber' => ['description' => '页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'PageSize' => ['description' => '页宽(每页记录数量)。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'TotalCount' => ['description' => '总记录量。', 'type' => 'integer', 'format' => 'int32', 'example' => '5'], 'PagedData' => [ 'description' => '分页获取的数据。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Operation' => [ - 'description' => '操作。', - 'type' => 'string', - 'example' => 'CREATE_TABLE', - ], - 'User' => [ - 'description' => '用户。', - 'type' => 'string', - 'example' => 'root', - ], - 'EventTime' => [ - 'description' => '事件的发生时间。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1564019679506', - ], - 'Table' => [ - 'description' => '数据表。', - 'type' => 'string', - 'example' => 'test_table', - ], - 'Database' => [ - 'description' => '数据库。', - 'type' => 'string', - 'example' => 'default', - ], + 'Operation' => ['description' => '操作。', 'type' => 'string', 'example' => 'CREATE_TABLE'], + 'User' => ['description' => '用户。', 'type' => 'string', 'example' => 'root'], + 'EventTime' => ['description' => '事件的发生时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1564019679506'], + 'Table' => ['description' => '数据表。', 'type' => 'string', 'example' => 'test_table'], + 'Database' => ['description' => '数据库。', 'type' => 'string', 'example' => 'default'], 'Groups' => [ 'type' => 'array', - 'items' => [ - 'description' => '用户组。', - 'type' => 'string', - 'example' => 'root', - ], + 'items' => ['description' => '用户组。', 'type' => 'string', 'example' => 'root'], ], ], ], @@ -929,14 +438,8 @@ 'extraInfo' => ' ', ], 'ListEmrHiveDatabases' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -944,20 +447,12 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'query', - 'schema' => [ - 'description' => 'EMR集群的ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'C-D033DD5FB82436A6', - ], + 'schema' => ['description' => 'EMR集群的ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'C-D033DD5FB82436A6'], ], ], 'responses' => [ @@ -965,89 +460,27 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'ErrorMessage' => [ - 'description' => '错误信息。', - 'type' => 'string', - 'example' => 'test', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'D9A61DC0-B922-421B-B706', - ], - 'ErrorCode' => [ - 'description' => '错误码。', - 'type' => 'string', - 'example' => '0', - ], + 'ErrorMessage' => ['description' => '错误信息。', 'type' => 'string', 'example' => 'test'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'D9A61DC0-B922-421B-B706'], + 'ErrorCode' => ['description' => '错误码。', 'type' => 'string', 'example' => '0'], 'Data' => [ 'description' => '返回数据。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Type' => [ - 'description' => '数据库的类型。', - 'type' => 'string', - 'example' => 'HIVE', - ], - 'Status' => [ - 'description' => '数据库的状态。', - 'type' => 'string', - 'example' => '-', - ], - 'Owner' => [ - 'description' => '数据库的所有者。', - 'type' => 'string', - 'example' => 'public', - ], - 'Comment' => [ - 'description' => 'Hive数据库的注释。', - 'type' => 'string', - 'example' => 'Default Hive database', - ], - 'GmtModified' => [ - 'description' => '修改时间戳,指元数据信息。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1568010630000', - ], - 'OwnerId' => [ - 'description' => '数据库所有者的Aliyun Uid。', - 'type' => 'string', - 'example' => '18612767', - ], - 'Parameters' => [ - 'description' => 'Hive数据库参数JSON串。', - 'type' => 'string', - 'example' => '{}', - ], - 'Region' => [ - 'description' => 'Hive数据库所属集群的所在地域。', - 'type' => 'string', - 'example' => 'cn-shanghai', - ], - 'GmtCreate' => [ - 'description' => '创建时间戳,指元数据信息。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1568010630000', - ], - 'OwnerType' => [ - 'description' => '所有者的类型。', - 'type' => 'string', - 'example' => 'ROLE', - ], - 'Name' => [ - 'description' => 'Hive数据库的名称。', - 'type' => 'string', - 'example' => 'default', - ], - 'Location' => [ - 'description' => 'Hive数据库的存储位置。', - 'type' => 'string', - 'example' => 'hdfs://emr-header-1.cluster-136574:9000/user/hive/warehouse', - ], + 'Type' => ['description' => '数据库的类型。', 'type' => 'string', 'example' => 'HIVE'], + 'Status' => ['description' => '数据库的状态。', 'type' => 'string', 'example' => '-'], + 'Owner' => ['description' => '数据库的所有者。', 'type' => 'string', 'example' => 'public'], + 'Comment' => ['description' => 'Hive数据库的注释。', 'type' => 'string', 'example' => 'Default Hive database'], + 'GmtModified' => ['description' => '修改时间戳,指元数据信息。', 'type' => 'integer', 'format' => 'int64', 'example' => '1568010630000'], + 'OwnerId' => ['description' => '数据库所有者的Aliyun Uid。', 'type' => 'string', 'example' => '18612767'], + 'Parameters' => ['description' => 'Hive数据库参数JSON串。', 'type' => 'string', 'example' => '{}'], + 'Region' => ['description' => 'Hive数据库所属集群的所在地域。', 'type' => 'string', 'example' => 'cn-shanghai'], + 'GmtCreate' => ['description' => '创建时间戳,指元数据信息。', 'type' => 'integer', 'format' => 'int64', 'example' => '1568010630000'], + 'OwnerType' => ['description' => '所有者的类型。', 'type' => 'string', 'example' => 'ROLE'], + 'Name' => ['description' => 'Hive数据库的名称。', 'type' => 'string', 'example' => 'default'], + 'Location' => ['description' => 'Hive数据库的存储位置。', 'type' => 'string', 'example' => 'hdfs://emr-header-1.cluster-136574:9000/user/hive/warehouse'], ], ], ], @@ -1063,14 +496,8 @@ 'extraInfo' => ' ', ], 'ListEmrHiveTables' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1078,58 +505,27 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'query', - 'schema' => [ - 'description' => 'EMR集群的ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'C-D033DD5FB82436A6', - ], + 'schema' => ['description' => 'EMR集群的ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'C-D033DD5FB82436A6'], ], [ 'name' => 'DatabaseName', 'in' => 'query', - 'schema' => [ - 'description' => 'EMR Hive数据库的名称。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'default', - ], + 'schema' => ['description' => 'EMR Hive数据库的名称。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'default'], ], [ 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'description' => '页码。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'minimum' => '1', - 'example' => '2', - ], + 'schema' => ['description' => '页码。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'minimum' => '1', 'example' => '2'], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '页宽(每页记录数量)。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'maximum' => '100', - 'minimum' => '1', - 'example' => '2', - ], + 'schema' => ['description' => '页宽(每页记录数量)。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '100', 'minimum' => '1', 'example' => '2'], ], ], 'responses' => [ @@ -1137,159 +533,44 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'ErrorMessage' => [ - 'description' => '错误信息。', - 'type' => 'string', - 'example' => 'test', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'E6F0DBDD-5AD8-4870-A6A0', - ], - 'ErrorCode' => [ - 'description' => '错误码。', - 'type' => 'string', - 'example' => '0', - ], + 'ErrorMessage' => ['description' => '错误信息。', 'type' => 'string', 'example' => 'test'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'E6F0DBDD-5AD8-4870-A6A0'], + 'ErrorCode' => ['description' => '错误码。', 'type' => 'string', 'example' => '0'], 'Data' => [ 'description' => '返回数据。', 'type' => 'object', 'properties' => [ - 'PageNumber' => [ - 'description' => '页码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'PageSize' => [ - 'description' => '页宽(每页记录数量)。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'TotalCount' => [ - 'description' => '总记录量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], + 'PageNumber' => ['description' => '页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'PageSize' => ['description' => '页宽(每页记录数量)。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'TotalCount' => ['description' => '总记录量。', 'type' => 'integer', 'format' => 'int32', 'example' => '5'], 'PagedData' => [ 'description' => '分页获取的数据。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'TableParameters' => [ - 'description' => 'Hive表参数JSON串。', - 'type' => 'string', - 'example' => '{\\"transient_lastDdlTime\\":\\"1568031823\\",\\"bucketing_version\\":\\"2\\",\\"comment\\":\\"RANDOM GENERATED TEST DATA BY FUNCTION OF RANDOM_TEST_DATA\\"}', - ], - 'Owner' => [ - 'description' => '所有者。', - 'type' => 'string', - 'example' => 'root', - ], - 'TableName' => [ - 'description' => '表的名称。', - 'type' => 'string', - 'example' => 'pt_table_090901_emr_orc', - ], - 'TableDesc' => [ - 'description' => '表的描述信息。', - 'type' => 'string', - 'example' => 'RANDOM GENERATED TEST DATA BY FUNCTION OF RANDOM_TEST_DATA', - ], - 'IsCompressed' => [ - 'description' => '是否启用了压缩。', - 'type' => 'boolean', - 'example' => 'false', - ], - 'GmtModified' => [ - 'description' => '编辑时间,指元数据。', - 'type' => 'string', - 'example' => '2019-09-09 20:23:47', - ], - 'SerializationLib' => [ - 'description' => 'Hive表的序列化、反序列化设置。', - 'type' => 'string', - 'example' => 'org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe', - ], - 'OwnerId' => [ - 'description' => '所有者的Aliyun Uid。', - 'type' => 'string', - 'example' => '18612767103****', - ], - 'LastAccessTime' => [ - 'description' => '最后访问的时间。', - 'type' => 'string', - 'example' => '1970-01-01 08:00:00', - ], - 'TableComment' => [ - 'description' => '表注释,同表在Hive库中的Comment。', - 'type' => 'string', - 'example' => 'RANDOM GENERATED TEST DATA BY FUNCTION OF RANDOM_TEST_DATA', - ], - 'LastModifyTime' => [ - 'description' => '最后修改的时间。', - 'type' => 'string', - 'example' => '2019-09-09 20:23:47', - ], - 'DatabaseName' => [ - 'description' => '表所在数据库的名称。', - 'type' => 'string', - 'example' => 'default', - ], - 'IsTemporary' => [ - 'description' => '是否为临时表。', - 'type' => 'boolean', - 'example' => 'false', - ], - 'GmtCreate' => [ - 'description' => '创建时间,指元数据。', - 'type' => 'string', - 'example' => '2019-09-09 20:23:47', - ], - 'OutputFormat' => [ - 'description' => '表的输出格式。', - 'type' => 'string', - 'example' => 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat', - ], - 'TableType' => [ - 'description' => '表的类型。', - 'type' => 'string', - 'example' => 'MANAGED_TABLE', - ], - 'OwnerType' => [ - 'description' => '所有者的类型。', - 'type' => 'string', - 'example' => 'ROLE', - ], - 'PartitionKeys' => [ - 'description' => '分区字段列表(仅限分区表)。', - 'type' => 'string', - 'example' => 'DS,HR,REGION', - ], - 'ClusterBizId' => [ - 'description' => 'EMR集群的标识。', - 'type' => 'string', - 'example' => 'C-D033DD5FB82436A6', - ], - 'Location' => [ - 'description' => '表的存储路径。', - 'type' => 'string', - 'example' => 'hdfs://emr-header-1.cluster-136574:9000/user/hive/warehouse/pt_table_090901_emr', - ], - 'ClusterBizName' => [ - 'description' => 'EMR集群的名称。', - 'type' => 'string', - 'example' => 'EHMC测试', - ], - 'InputFormat' => [ - 'description' => '表的输入格式。', - 'type' => 'string', - 'example' => 'org.apache.hadoop.hive.ql.io.orc.OrcInputFormat', - ], + 'TableParameters' => ['description' => 'Hive表参数JSON串。', 'type' => 'string', 'example' => '{\\"transient_lastDdlTime\\":\\"1568031823\\",\\"bucketing_version\\":\\"2\\",\\"comment\\":\\"RANDOM GENERATED TEST DATA BY FUNCTION OF RANDOM_TEST_DATA\\"}'], + 'Owner' => ['description' => '所有者。', 'type' => 'string', 'example' => 'root'], + 'TableName' => ['description' => '表的名称。', 'type' => 'string', 'example' => 'pt_table_090901_emr_orc'], + 'TableDesc' => ['description' => '表的描述信息。', 'type' => 'string', 'example' => 'RANDOM GENERATED TEST DATA BY FUNCTION OF RANDOM_TEST_DATA'], + 'IsCompressed' => ['description' => '是否启用了压缩。', 'type' => 'boolean', 'example' => 'false'], + 'GmtModified' => ['description' => '编辑时间,指元数据。', 'type' => 'string', 'example' => '2019-09-09 20:23:47'], + 'SerializationLib' => ['description' => 'Hive表的序列化、反序列化设置。', 'type' => 'string', 'example' => 'org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe'], + 'OwnerId' => ['description' => '所有者的Aliyun Uid。', 'type' => 'string', 'example' => '18612767103****'], + 'LastAccessTime' => ['description' => '最后访问的时间。', 'type' => 'string', 'example' => '1970-01-01 08:00:00'], + 'TableComment' => ['description' => '表注释,同表在Hive库中的Comment。', 'type' => 'string', 'example' => 'RANDOM GENERATED TEST DATA BY FUNCTION OF RANDOM_TEST_DATA'], + 'LastModifyTime' => ['description' => '最后修改的时间。', 'type' => 'string', 'example' => '2019-09-09 20:23:47'], + 'DatabaseName' => ['description' => '表所在数据库的名称。', 'type' => 'string', 'example' => 'default'], + 'IsTemporary' => ['description' => '是否为临时表。', 'type' => 'boolean', 'example' => 'false'], + 'GmtCreate' => ['description' => '创建时间,指元数据。', 'type' => 'string', 'example' => '2019-09-09 20:23:47'], + 'OutputFormat' => ['description' => '表的输出格式。', 'type' => 'string', 'example' => 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'], + 'TableType' => ['description' => '表的类型。', 'type' => 'string', 'example' => 'MANAGED_TABLE'], + 'OwnerType' => ['description' => '所有者的类型。', 'type' => 'string', 'example' => 'ROLE'], + 'PartitionKeys' => ['description' => '分区字段列表(仅限分区表)。', 'type' => 'string', 'example' => 'DS,HR,REGION'], + 'ClusterBizId' => ['description' => 'EMR集群的标识。', 'type' => 'string', 'example' => 'C-D033DD5FB82436A6'], + 'Location' => ['description' => '表的存储路径。', 'type' => 'string', 'example' => 'hdfs://emr-header-1.cluster-136574:9000/user/hive/warehouse/pt_table_090901_emr'], + 'ClusterBizName' => ['description' => 'EMR集群的名称。', 'type' => 'string', 'example' => 'EHMC测试'], + 'InputFormat' => ['description' => '表的输入格式。', 'type' => 'string', 'example' => 'org.apache.hadoop.hive.ql.io.orc.OrcInputFormat'], ], ], ], @@ -1308,14 +589,8 @@ 'extraInfo' => ' ', ], 'ListHiveTableLineages' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1323,42 +598,22 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'query', - 'schema' => [ - 'description' => 'EMR集群的ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'C-D033DD5FB82436A6', - ], + 'schema' => ['description' => 'EMR集群的ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'C-D033DD5FB82436A6'], ], [ 'name' => 'DatabaseName', 'in' => 'query', - 'schema' => [ - 'description' => 'EMR HIVE数据库的名称。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'default', - ], + 'schema' => ['description' => 'EMR HIVE数据库的名称。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'default'], ], [ 'name' => 'TableName', 'in' => 'query', - 'schema' => [ - 'description' => 'EMR HIVE表的名称。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'pt_table_090901_emr', - ], + 'schema' => ['description' => 'EMR HIVE表的名称。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'pt_table_090901_emr'], ], ], 'responses' => [ @@ -1366,88 +621,30 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'ErrorMessage' => [ - 'description' => '错误信息。', - 'type' => 'string', - 'example' => 'test', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '691CA452-D37A-4ED0-9441', - ], - 'ErrorCode' => [ - 'description' => '错误码。', - 'type' => 'string', - 'example' => '0', - ], + 'ErrorMessage' => ['description' => '错误信息。', 'type' => 'string', 'example' => 'test'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '691CA452-D37A-4ED0-9441'], + 'ErrorCode' => ['description' => '错误码。', 'type' => 'string', 'example' => '0'], 'Data' => [ 'description' => '返回数据。', 'type' => 'object', 'properties' => [ - 'UpstreamNumber' => [ - 'description' => '上游血缘的数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'DownstreamNumber' => [ - 'description' => '下游血缘的数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - ], + 'UpstreamNumber' => ['description' => '上游血缘的数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'DownstreamNumber' => ['description' => '下游血缘的数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '3'], 'UpstreamLineages' => [ 'description' => '上游血缘列表。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'TableName' => [ - 'description' => '表的名称。', - 'type' => 'string', - 'example' => 'pt_table_090901_emr_orc', - ], - 'ModifiedTime' => [ - 'description' => '修改时间。', - 'type' => 'string', - 'example' => '2020-01-09 18:16:37', - ], - 'QueryText' => [ - 'description' => '任务对应的语句。', - 'type' => 'string', - 'example' => 'create table parquet_example_0407 select id as one,name as two,salary as three from PTtable_0407_emr', - ], - 'JobId' => [ - 'description' => '任务的ID。', - 'type' => 'string', - 'example' => 'job_1234567055_0006', - ], - 'CreateTime' => [ - 'description' => '创建时间。', - 'type' => 'string', - 'example' => '2020-01-09 18:16:15', - ], - 'DatabaseName' => [ - 'description' => '数据库的名称。', - 'type' => 'string', - 'example' => 'default', - ], - 'Engine' => [ - 'description' => '引擎信息。', - 'type' => 'string', - 'example' => 'mr', - ], - 'Source' => [ - 'description' => '血缘来源,例如HIVE。', - 'type' => 'string', - 'example' => 'HIVE', - ], - 'ClusterId' => [ - 'description' => 'EMR集群的标识。', - 'type' => 'string', - 'example' => 'C-D033DD5FB82436A6', - ], + 'TableName' => ['description' => '表的名称。', 'type' => 'string', 'example' => 'pt_table_090901_emr_orc'], + 'ModifiedTime' => ['description' => '修改时间。', 'type' => 'string', 'example' => '2020-01-09 18:16:37'], + 'QueryText' => ['description' => '任务对应的语句。', 'type' => 'string', 'example' => 'create table parquet_example_0407 select id as one,name as two,salary as three from PTtable_0407_emr'], + 'JobId' => ['description' => '任务的ID。', 'type' => 'string', 'example' => 'job_1234567055_0006'], + 'CreateTime' => ['description' => '创建时间。', 'type' => 'string', 'example' => '2020-01-09 18:16:15'], + 'DatabaseName' => ['description' => '数据库的名称。', 'type' => 'string', 'example' => 'default'], + 'Engine' => ['description' => '引擎信息。', 'type' => 'string', 'example' => 'mr'], + 'Source' => ['description' => '血缘来源,例如HIVE。', 'type' => 'string', 'example' => 'HIVE'], + 'ClusterId' => ['description' => 'EMR集群的标识。', 'type' => 'string', 'example' => 'C-D033DD5FB82436A6'], ], ], ], @@ -1457,51 +654,15 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'TableName' => [ - 'description' => '表的名称。', - 'type' => 'string', - 'example' => 'pt_table_090901_emr_orc', - ], - 'ModifiedTime' => [ - 'description' => '修改时间。', - 'type' => 'string', - 'example' => '2020-01-09 18:16:37', - ], - 'QueryText' => [ - 'description' => '任务对应的语句。', - 'type' => 'string', - 'example' => 'create table parquet_example_0407 select id as one,name as two,salary as three from PTtable_0407_emr', - ], - 'JobId' => [ - 'description' => '任务的ID。', - 'type' => 'string', - 'example' => 'job_1234567055_0006', - ], - 'CreateTime' => [ - 'description' => '创建时间。', - 'type' => 'string', - 'example' => '2020-01-09 18:16:15', - ], - 'DatabaseName' => [ - 'description' => '数据库的名称。', - 'type' => 'string', - 'example' => 'default', - ], - 'Engine' => [ - 'description' => '引擎信息。', - 'type' => 'string', - 'example' => 'mr', - ], - 'Source' => [ - 'description' => '血缘来源,例如HIVE。', - 'type' => 'string', - 'example' => 'HIVE', - ], - 'ClusterId' => [ - 'description' => 'EMR集群的标识。', - 'type' => 'string', - 'example' => 'C-D033DD5FB82436A6', - ], + 'TableName' => ['description' => '表的名称。', 'type' => 'string', 'example' => 'pt_table_090901_emr_orc'], + 'ModifiedTime' => ['description' => '修改时间。', 'type' => 'string', 'example' => '2020-01-09 18:16:37'], + 'QueryText' => ['description' => '任务对应的语句。', 'type' => 'string', 'example' => 'create table parquet_example_0407 select id as one,name as two,salary as three from PTtable_0407_emr'], + 'JobId' => ['description' => '任务的ID。', 'type' => 'string', 'example' => 'job_1234567055_0006'], + 'CreateTime' => ['description' => '创建时间。', 'type' => 'string', 'example' => '2020-01-09 18:16:15'], + 'DatabaseName' => ['description' => '数据库的名称。', 'type' => 'string', 'example' => 'default'], + 'Engine' => ['description' => '引擎信息。', 'type' => 'string', 'example' => 'mr'], + 'Source' => ['description' => '血缘来源,例如HIVE。', 'type' => 'string', 'example' => 'HIVE'], + 'ClusterId' => ['description' => 'EMR集群的标识。', 'type' => 'string', 'example' => 'C-D033DD5FB82436A6'], ], ], ], @@ -1520,14 +681,8 @@ 'extraInfo' => ' ', ], 'ListHiveColumnLineages' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1535,53 +690,27 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'query', - 'schema' => [ - 'description' => 'EMR集群的标识。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'C-D033DD5FB82436A6', - ], + 'schema' => ['description' => 'EMR集群的标识。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'C-D033DD5FB82436A6'], ], [ 'name' => 'DatabaseName', 'in' => 'query', - 'schema' => [ - 'description' => '数据库的名称。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'default', - ], + 'schema' => ['description' => '数据库的名称。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'default'], ], [ 'name' => 'TableName', 'in' => 'query', - 'schema' => [ - 'description' => '表的名称。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'test_table', - ], + 'schema' => ['description' => '表的名称。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'test_table'], ], [ 'name' => 'ColumnName', 'in' => 'query', - 'schema' => [ - 'description' => '字段的名称。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'balance', - ], + 'schema' => ['description' => '字段的名称。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'balance'], ], ], 'responses' => [ @@ -1589,102 +718,32 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'ErrorMessage' => [ - 'description' => '错误信息。', - 'type' => 'string', - 'example' => 'success', - ], - 'RequestId' => [ - 'description' => '请求标识。', - 'type' => 'string', - 'example' => '58D5334A-B013-430E', - ], - 'ErrorCode' => [ - 'description' => '错误码。', - 'type' => 'string', - 'example' => '0', - ], + 'ErrorMessage' => ['description' => '错误信息。', 'type' => 'string', 'example' => 'success'], + 'RequestId' => ['description' => '请求标识。', 'type' => 'string', 'example' => '58D5334A-B013-430E'], + 'ErrorCode' => ['description' => '错误码。', 'type' => 'string', 'example' => '0'], 'Data' => [ 'description' => '返回数据。', 'type' => 'object', 'properties' => [ - 'UpstreamNumber' => [ - 'description' => '上游血缘数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'DownstreamNumber' => [ - 'description' => '下游血缘的数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - ], + 'UpstreamNumber' => ['description' => '上游血缘数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'DownstreamNumber' => ['description' => '下游血缘的数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '3'], 'UpstreamLineages' => [ 'description' => '上游血缘。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'ColumnName' => [ - 'description' => '字段的名称。', - 'type' => 'string', - 'example' => 'balance', - ], - 'DirectUpperTableNumber' => [ - 'description' => '直接上游的表数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'TableName' => [ - 'description' => '表的名称。', - 'type' => 'string', - 'example' => 'pt_table_090901_emr_child', - ], - 'ModifiedTime' => [ - 'description' => '修改时间。', - 'type' => 'string', - 'example' => '2019-11-10 11:33:51', - ], - 'CreateTime' => [ - 'description' => '创建时间。', - 'type' => 'string', - 'example' => '2019-11-10 11:33:51', - ], - 'DirectDownTableNumber' => [ - 'description' => '直接下游的表数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'DatabaseName' => [ - 'description' => '数据库的名称。', - 'type' => 'string', - 'example' => 'default', - ], - 'DirectDownColumnNumber' => [ - 'description' => '直接下游的字段数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'DirectUpperColumnNumber' => [ - 'description' => '直接上游的字段数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'Source' => [ - 'description' => '血缘来源,例如HIVE。', - 'type' => 'string', - 'example' => 'HIVE', - ], - 'ClusterId' => [ - 'description' => 'EMR集群的标识。', - 'type' => 'string', - 'example' => 'C-D033DD5FB82436A6', - ], + 'ColumnName' => ['description' => '字段的名称。', 'type' => 'string', 'example' => 'balance'], + 'DirectUpperTableNumber' => ['description' => '直接上游的表数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'TableName' => ['description' => '表的名称。', 'type' => 'string', 'example' => 'pt_table_090901_emr_child'], + 'ModifiedTime' => ['description' => '修改时间。', 'type' => 'string', 'example' => '2019-11-10 11:33:51'], + 'CreateTime' => ['description' => '创建时间。', 'type' => 'string', 'example' => '2019-11-10 11:33:51'], + 'DirectDownTableNumber' => ['description' => '直接下游的表数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'DatabaseName' => ['description' => '数据库的名称。', 'type' => 'string', 'example' => 'default'], + 'DirectDownColumnNumber' => ['description' => '直接下游的字段数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'DirectUpperColumnNumber' => ['description' => '直接上游的字段数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'Source' => ['description' => '血缘来源,例如HIVE。', 'type' => 'string', 'example' => 'HIVE'], + 'ClusterId' => ['description' => 'EMR集群的标识。', 'type' => 'string', 'example' => 'C-D033DD5FB82436A6'], ], ], ], @@ -1694,65 +753,17 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'ColumnName' => [ - 'description' => '字段的名称。', - 'type' => 'string', - 'example' => 'balance', - ], - 'DirectUpperTableNumber' => [ - 'description' => '直接上游的表数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'TableName' => [ - 'description' => '表的名称。', - 'type' => 'string', - 'example' => 'pt_table_090901_emr_child', - ], - 'ModifiedTime' => [ - 'description' => '创建时间。', - 'type' => 'string', - 'example' => '2019-11-10 11:33:52', - ], - 'CreateTime' => [ - 'description' => '创建时间。', - 'type' => 'string', - 'example' => '2019-11-10 11:33:52', - ], - 'DirectDownTableNumber' => [ - 'description' => '直接下游的表数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'DatabaseName' => [ - 'description' => '数据库的名称。', - 'type' => 'string', - 'example' => 'default', - ], - 'DirectDownColumnNumber' => [ - 'description' => '直接下游的字段数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'DirectUpperColumnNumber' => [ - 'description' => '直接上游的字段数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'Source' => [ - 'description' => '血缘来源,例如HIVE。', - 'type' => 'string', - 'example' => 'HIVE', - ], - 'ClusterId' => [ - 'description' => 'EMR集群的标识。', - 'type' => 'string', - 'example' => 'C-D033DD5FB82436A6', - ], + 'ColumnName' => ['description' => '字段的名称。', 'type' => 'string', 'example' => 'balance'], + 'DirectUpperTableNumber' => ['description' => '直接上游的表数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'TableName' => ['description' => '表的名称。', 'type' => 'string', 'example' => 'pt_table_090901_emr_child'], + 'ModifiedTime' => ['description' => '创建时间。', 'type' => 'string', 'example' => '2019-11-10 11:33:52'], + 'CreateTime' => ['description' => '创建时间。', 'type' => 'string', 'example' => '2019-11-10 11:33:52'], + 'DirectDownTableNumber' => ['description' => '直接下游的表数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'DatabaseName' => ['description' => '数据库的名称。', 'type' => 'string', 'example' => 'default'], + 'DirectDownColumnNumber' => ['description' => '直接下游的字段数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'DirectUpperColumnNumber' => ['description' => '直接上游的字段数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'Source' => ['description' => '血缘来源,例如HIVE。', 'type' => 'string', 'example' => 'HIVE'], + 'ClusterId' => ['description' => 'EMR集群的标识。', 'type' => 'string', 'example' => 'C-D033DD5FB82436A6'], ], ], ], @@ -1772,14 +783,8 @@ ], 'ListTablePartitions' => [ 'summary' => '获取EMR HIVE表的分区列表。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1791,80 +796,38 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREdideE9OA4H', - ], + 'abilityTreeNodes' => ['FEATUREdideE9OA4H'], ], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'query', - 'schema' => [ - 'description' => '集群标识。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'C-2A51D3826C701234', - ], + 'schema' => ['description' => '集群标识。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'C-2A51D3826C701234'], ], [ 'name' => 'DatabaseName', 'in' => 'query', - 'schema' => [ - 'description' => '数据库名称。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'default', - ], + 'schema' => ['description' => '数据库名称。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'default'], ], [ 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'description' => '页码。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'minimum' => '1', - 'example' => '1', - ], + 'schema' => ['description' => '页码。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'minimum' => '1', 'example' => '1'], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '页宽。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'maximum' => '100', - 'minimum' => '1', - 'example' => '10', - ], + 'schema' => ['description' => '页宽。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '100', 'minimum' => '1', 'example' => '10'], ], [ 'name' => 'TableName', 'in' => 'query', - 'schema' => [ - 'description' => '表名称。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'test_table', - ], + 'schema' => ['description' => '表名称。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'test_table'], ], [ 'name' => 'Order', 'in' => 'query', - 'schema' => [ - 'description' => '升降序。升序为ASC,降序为DESC。', - 'type' => 'string', - 'required' => false, - 'example' => 'ASC/DESC', - ], + 'schema' => ['description' => '升降序。升序为ASC,降序为DESC。', 'type' => 'string', 'required' => false, 'example' => 'ASC/DESC'], ], ], 'responses' => [ @@ -1872,80 +835,28 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'ErrorMessage' => [ - 'description' => '错误信息。', - 'type' => 'string', - 'example' => 'success', - ], - 'RequestId' => [ - 'description' => '请求标识。', - 'type' => 'string', - 'example' => 'UUID', - ], - 'ErrorCode' => [ - 'description' => '错误码。', - 'type' => 'string', - 'example' => '0', - ], + 'ErrorMessage' => ['description' => '错误信息。', 'type' => 'string', 'example' => 'success'], + 'RequestId' => ['description' => '请求标识。', 'type' => 'string', 'example' => 'UUID'], + 'ErrorCode' => ['description' => '错误码。', 'type' => 'string', 'example' => '0'], 'Data' => [ 'description' => '返回数据。', 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => '总数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - ], - 'PageSize' => [ - 'description' => '页宽。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], + 'TotalCount' => ['description' => '总数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '3'], + 'PageSize' => ['description' => '页宽。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], 'PagedData' => [ 'description' => '分页数据。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'PartitionPath' => [ - 'description' => '分区的路径,例如HDFS路径。', - 'type' => 'string', - 'example' => 'hdfs://emr-header-1.cluster-136574:9000/user/hive/warehouse/pt_table_090901_emr_child/ds=20190909/hr=20/region=shanghai', - ], - 'PartitionComment' => [ - 'description' => '分区的描述信息。', - 'type' => 'string', - 'example' => 'test', - ], - 'PartitionName' => [ - 'description' => '分区的名称。', - 'type' => 'string', - 'example' => 'ds=20190909/hr=20/region=shanghai', - ], - 'GmtCreate' => [ - 'description' => '分区的创建时间。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1568032253000', - ], - 'PartitionType' => [ - 'description' => '分区的类型。', - 'type' => 'string', - 'example' => 'HIVE', - ], - 'GmtModified' => [ - 'description' => '分区的修改时间。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1568032253000', - ], - 'Location' => [ - 'description' => '分区的存储位置。', - 'type' => 'string', - 'example' => 'hdfs://emr-header-1.cluster-136574:9000/user/hive/warehouse/pt_table_090901_emr_child/ds=20190909/hr=20/region=shanghai', - ], + 'PartitionPath' => ['description' => '分区的路径,例如HDFS路径。', 'type' => 'string', 'example' => 'hdfs://emr-header-1.cluster-136574:9000/user/hive/warehouse/pt_table_090901_emr_child/ds=20190909/hr=20/region=shanghai'], + 'PartitionComment' => ['description' => '分区的描述信息。', 'type' => 'string', 'example' => 'test'], + 'PartitionName' => ['description' => '分区的名称。', 'type' => 'string', 'example' => 'ds=20190909/hr=20/region=shanghai'], + 'GmtCreate' => ['description' => '分区的创建时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1568032253000'], + 'PartitionType' => ['description' => '分区的类型。', 'type' => 'string', 'example' => 'HIVE'], + 'GmtModified' => ['description' => '分区的修改时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1568032253000'], + 'Location' => ['description' => '分区的存储位置。', 'type' => 'string', 'example' => 'hdfs://emr-header-1.cluster-136574:9000/user/hive/warehouse/pt_table_090901_emr_child/ds=20190909/hr=20/region=shanghai'], ], ], ], @@ -1963,14 +874,8 @@ 'extraInfo' => ' ', ], 'OpenDataWorksStandardService' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1981,18 +886,12 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'Region', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - ], + 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true], ], ], 'responses' => [ @@ -2000,12 +899,8 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'OrderId' => [ - 'type' => 'string', - ], - 'RequestId' => [ - 'type' => 'string', - ], + 'OrderId' => ['type' => 'string'], + 'RequestId' => ['type' => 'string'], ], ], ], @@ -2013,13 +908,8 @@ 'errorCodes' => [], ], 'SendTaskMetaCallback' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2030,103 +920,53 @@ 'systemTags' => [ 'operationType' => 'get', 'abilityTreeCode' => '78150', - 'abilityTreeNodes' => [ - 'FEATUREdideSYOMAV', - ], + 'abilityTreeNodes' => ['FEATUREdideSYOMAV'], ], 'parameters' => [ [ 'name' => 'TenantId', 'in' => 'formData', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'isFileTransferUrl' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'maximum' => '9223372036854775807', 'minimum' => '1', 'isFileTransferUrl' => false], ], [ 'name' => 'Type', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - ], + 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true], ], [ 'name' => 'StartTime', 'in' => 'formData', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'isFileTransferUrl' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'maximum' => '9223372036854775807', 'minimum' => '1', 'isFileTransferUrl' => false], ], [ 'name' => 'EndTime', 'in' => 'formData', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'isFileTransferUrl' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'maximum' => '9223372036854775807', 'minimum' => '1', 'isFileTransferUrl' => false], ], [ 'name' => 'User', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - 'docRequired' => true, - ], + 'schema' => ['type' => 'string', 'required' => false, 'docRequired' => true], ], [ 'name' => 'Code', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - ], + 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true], ], [ 'name' => 'ConnectionInfo', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - ], + 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true], ], [ 'name' => 'TaskEnvParam', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - ], + 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true], ], [ 'name' => 'SubType', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - ], + 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true], ], [ 'name' => 'Resources', @@ -2134,9 +974,7 @@ 'style' => 'repeatList', 'schema' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], 'required' => false, 'maxItems' => 10, ], @@ -2147,41 +985,24 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Data' => [ - 'type' => 'string', - ], - 'RequestId' => [ - 'type' => 'string', - ], - 'ErrMsg' => [ - 'type' => 'string', - ], - 'ErrorCode' => [ - 'type' => 'integer', - 'format' => 'int64', - ], + 'Data' => ['type' => 'string'], + 'RequestId' => ['type' => 'string'], + 'ErrMsg' => ['type' => 'string'], + 'ErrorCode' => ['type' => 'integer', 'format' => 'int64'], ], ], ], ], 'errorCodes' => [ 500 => [ - [ - 'errorCode' => 'InternalError.Meta.Unknown', - 'errorMessage' => 'An unknown error occurred while processing your request.', - ], + ['errorCode' => 'InternalError.Meta.Unknown', 'errorMessage' => 'An unknown error occurred while processing your request.'], ], ], ], 'SetSwitchValue' => [ 'summary' => '设置Switch的值', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2193,16 +1014,12 @@ [ 'name' => 'SwitchName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - ], + 'schema' => ['type' => 'string'], ], [ 'name' => 'SwitchValue', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - ], + 'schema' => ['type' => 'string'], ], ], 'responses' => [ @@ -2211,35 +1028,22 @@ 'title' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'type' => 'string', - ], - 'Data' => [ - 'type' => 'boolean', - ], + 'RequestId' => ['title' => 'Id of the request', 'type' => 'string'], + 'Data' => ['type' => 'boolean'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'IdempotentParameterMismatch', - 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', - ], + ['errorCode' => 'IdempotentParameterMismatch', 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.'], ], ], ], 'GetDataServiceApiContext' => [ 'summary' => '获取数据服务ApiContext信息', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2252,66 +1056,33 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '180496', - 'abilityTreeNodes' => [ - 'FEATUREdideWDSR97', - ], + 'abilityTreeNodes' => ['FEATUREdideWDSR97'], ], 'parameters' => [ [ 'name' => 'ApiId', 'in' => 'query', - 'schema' => [ - 'title' => 'api逐渐', - 'description' => 'apiId', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'minimum' => '0', - 'exclusiveMinimum' => true, - 'example' => '12345', - ], + 'schema' => ['title' => 'api逐渐', 'description' => 'apiId', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'minimum' => '0', 'exclusiveMinimum' => true, 'example' => '12345'], ], [ 'name' => 'Verbose', 'in' => 'query', - 'schema' => [ - 'title' => '是否详情', - 'description' => '是否详情', - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], + 'schema' => ['title' => '是否详情', 'description' => '是否详情', 'type' => 'boolean', 'required' => false, 'example' => 'true'], ], [ 'name' => 'CacheKey', 'in' => 'query', - 'schema' => [ - 'description' => 'ApiContext缓存键值', - 'type' => 'string', - 'required' => false, - 'example' => 'abc-124', - ], + 'schema' => ['description' => 'ApiContext缓存键值', 'type' => 'string', 'required' => false, 'example' => 'abc-124'], ], [ 'name' => 'ForPrivateResGroup', 'in' => 'query', - 'schema' => [ - 'description' => '是否绑定独享数据服务资源组', - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], + 'schema' => ['description' => '是否绑定独享数据服务资源组', 'type' => 'boolean', 'required' => false, 'example' => 'true'], ], [ 'name' => 'ApiStatus', 'in' => 'query', - 'schema' => [ - 'description' => 'Api状态,已发布、草稿态等', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'Api状态,已发布、草稿态等', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], ], 'responses' => [ @@ -2321,36 +1092,17 @@ 'description' => 'ApiContext', 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => 'ApiContext信息', - 'type' => 'string', - 'example' => '{"apiId":123}', - ], - 'ErrMsg' => [ - 'description' => '错误信息', - 'type' => 'string', - 'example' => 'success', - ], - 'ErrCode' => [ - 'description' => '错误码', - 'type' => 'string', - 'example' => '0', - ], - 'RequestId' => [ - 'description' => '请求Id', - 'type' => 'string', - 'example' => '1AFAE64E-D1BE-432B-A9****', - ], + 'Data' => ['description' => 'ApiContext信息', 'type' => 'string', 'example' => '{"apiId":123}'], + 'ErrMsg' => ['description' => '错误信息', 'type' => 'string', 'example' => 'success'], + 'ErrCode' => ['description' => '错误码', 'type' => 'string', 'example' => '0'], + 'RequestId' => ['description' => '请求Id', 'type' => 'string', 'example' => '1AFAE64E-D1BE-432B-A9****'], ], ], ], ], 'errorCodes' => [ 500 => [ - [ - 'errorCode' => 'InternalError.System', - 'errorMessage' => 'An internal system error occurred. Try again later.', - ], + ['errorCode' => 'InternalError.System', 'errorMessage' => 'An internal system error occurred. Try again later.'], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": \\"{\\\\\\"apiId\\\\\\":123}\\",\\n \\"ErrMsg\\": \\"success\\",\\n \\"ErrCode\\": \\"0\\",\\n \\"RequestId\\": \\"1AFAE64E-D1BE-432B-A9****\\"\\n}","type":"json"}]', @@ -2359,12 +1111,8 @@ ], 'GetDataServiceContextUpdateEvent' => [ 'summary' => '查询APIcontext变更事件。', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -2377,9 +1125,7 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '191385', - 'abilityTreeNodes' => [ - 'FEATUREdideZZ63WZ', - ], + 'abilityTreeNodes' => ['FEATUREdideZZ63WZ'], ], 'parameters' => [], 'responses' => [ @@ -2389,56 +1135,27 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID', - 'type' => 'string', - 'example' => '8754EE08-4AA2-5F77-ADD7-754DBBDA9F75', - ], - 'Data' => [ - 'title' => 'Id of the request', - 'description' => '返回内容', - 'type' => 'string', - 'example' => '{\'TotalCount\': 0, \'CalcEngines\': []}', - ], - 'ErrMsg' => [ - 'title' => 'Id of the request', - 'description' => '错误信息', - 'type' => 'string', - 'example' => 'success', - ], - 'ErrCode' => [ - 'title' => 'Id of the request', - 'description' => '错误码', - 'type' => 'string', - 'example' => '0', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID', 'type' => 'string', 'example' => '8754EE08-4AA2-5F77-ADD7-754DBBDA9F75'], + 'Data' => ['title' => 'Id of the request', 'description' => '返回内容', 'type' => 'string', 'example' => '{\'TotalCount\': 0, \'CalcEngines\': []}'], + 'ErrMsg' => ['title' => 'Id of the request', 'description' => '错误信息', 'type' => 'string', 'example' => 'success'], + 'ErrCode' => ['title' => 'Id of the request', 'description' => '错误码', 'type' => 'string', 'example' => '0'], ], ], ], ], 'errorCodes' => [ 500 => [ - [ - 'errorCode' => 'InternalError.System', - 'errorMessage' => 'An internal system error occurred. Try again later.', - ], + ['errorCode' => 'InternalError.System', 'errorMessage' => 'An internal system error occurred. Try again later.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"8754EE08-4AA2-5F77-ADD7-754DBBDA9F75\\",\\n \\"Data\\": \\"{\'TotalCount\': 0, \'CalcEngines\': []}\\",\\n \\"ErrMsg\\": \\"success\\",\\n \\"ErrCode\\": \\"0\\"\\n}","type":"json"}]', 'title' => 'GetDataServiceContextUpdateEvent', ], 'GetDataServiceConnection' => [ 'summary' => '新server独享资源组获取数据源信息。', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -2451,31 +1168,18 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '259634', - 'abilityTreeNodes' => [ - 'FEATUREdideWDSR97', - ], + 'abilityTreeNodes' => ['FEATUREdideWDSR97'], ], 'parameters' => [ [ 'name' => 'ConnectionId', 'in' => 'query', - 'schema' => [ - 'description' => '数据源id', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '数据源id', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'], ], [ 'name' => 'DataSourceType', 'in' => 'query', - 'schema' => [ - 'description' => '数据源类型', - 'type' => 'string', - 'required' => false, - 'example' => 'normal', - ], + 'schema' => ['description' => '数据源类型', 'type' => 'string', 'required' => false, 'example' => 'normal'], ], ], 'responses' => [ @@ -2485,27 +1189,10 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'Id of the request', - 'type' => 'string', - 'example' => '123-abc', - ], - 'Data' => [ - 'description' => '数据源信息', - 'type' => 'string', - 'example' => '{}', - ], - 'ErrMsg' => [ - 'description' => '错误信息', - 'type' => 'string', - 'example' => 'success', - ], - 'ErrCode' => [ - 'description' => '错误码', - 'type' => 'string', - 'example' => '0', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '123-abc'], + 'Data' => ['description' => '数据源信息', 'type' => 'string', 'example' => '{}'], + 'ErrMsg' => ['description' => '错误信息', 'type' => 'string', 'example' => 'success'], + 'ErrCode' => ['description' => '错误码', 'type' => 'string', 'example' => '0'], ], ], ], @@ -2515,12 +1202,8 @@ ], 'GetDataServiceApiAuthMapContext' => [ 'summary' => '新server独享资源组获取api context。', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -2533,52 +1216,33 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '259344', - 'abilityTreeNodes' => [ - 'FEATUREdideWDSR97', - ], + 'abilityTreeNodes' => ['FEATUREdideWDSR97'], ], 'parameters' => [ [ 'name' => 'ApiId', 'in' => 'query', - 'schema' => [ - 'description' => 'API ID', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'API ID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'], ], [ 'name' => 'Verbose', 'in' => 'query', - 'schema' => [ - 'description' => '是否查询详细信息', - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], + 'schema' => ['description' => '是否查询详细信息', 'type' => 'boolean', 'required' => false, 'example' => 'true'], ], [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => 'DataWorks项目空间id', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'DataWorks项目空间id', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'], ], [ 'name' => 'ApiPath', 'in' => 'query', - 'schema' => [ - 'description' => 'API 路径', - 'type' => 'string', - 'required' => false, - 'example' => '/apiPath', - ], + 'schema' => ['description' => 'API 路径', 'type' => 'string', 'required' => false, 'example' => '/apiPath'], + ], + [ + 'name' => 'ApigwInstanceId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], ], 'responses' => [ @@ -2588,27 +1252,10 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => 'API 信息', - 'type' => 'string', - 'example' => '{}', - ], - 'ErrMsg' => [ - 'description' => '错误信息', - 'type' => 'string', - 'example' => 'success', - ], - 'ErrCode' => [ - 'description' => '错误码', - 'type' => 'string', - 'example' => '0', - ], - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'Id of the request', - 'type' => 'string', - 'example' => '123-abc', - ], + 'Data' => ['description' => 'API 信息', 'type' => 'string', 'example' => '{}'], + 'ErrMsg' => ['description' => '错误信息', 'type' => 'string', 'example' => 'success'], + 'ErrCode' => ['description' => '错误码', 'type' => 'string', 'example' => '0'], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '123-abc'], ], ], ], @@ -2618,12 +1265,8 @@ ], 'GetDataServiceFunction' => [ 'summary' => '查询函数信息。', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -2636,21 +1279,13 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '260794', - 'abilityTreeNodes' => [ - 'FEATUREdideSYX560', - ], + 'abilityTreeNodes' => ['FEATUREdideSYX560'], ], 'parameters' => [ [ 'name' => 'FunctionId', 'in' => 'query', - 'schema' => [ - 'description' => '函数ID', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '函数ID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'], ], ], 'responses' => [ @@ -2660,126 +1295,85 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'Data' => [ - 'title' => 'Id of the request', - 'description' => 'Id of the request', - 'type' => 'string', - 'example' => '{}', - ], - 'ErrMsg' => [ - 'description' => '错误信息', - 'type' => 'string', - 'example' => 'success', - ], - 'ErrCode' => [ - 'description' => '错误码', - 'type' => 'string', - 'example' => '0', - ], - 'RequestId' => [ - 'description' => 'RequestId', - 'type' => 'string', - 'example' => 'abc-123', - ], + 'Data' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '{}'], + 'ErrMsg' => ['description' => '错误信息', 'type' => 'string', 'example' => 'success'], + 'ErrCode' => ['description' => '错误码', 'type' => 'string', 'example' => '0'], + 'RequestId' => ['description' => 'RequestId', 'type' => 'string', 'example' => 'abc-123'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": \\"{}\\",\\n \\"ErrMsg\\": \\"success\\",\\n \\"ErrCode\\": \\"0\\",\\n \\"RequestId\\": \\"abc-123\\"\\n}","type":"json"}]', 'title' => '查询函数信息', ], + 'GetDataServiceConfig' => [ + 'summary' => '查询配置项。', + 'path' => '', + 'methods' => ['get', 'post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREdideZZ63WZ'], + ], + 'parameters' => [ + [ + 'name' => 'ConfigKey', + 'in' => 'query', + 'schema' => ['description' => '配置项名称', 'type' => 'string', 'required' => false, 'example' => 'abc'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '0000-ABCD-****'], + 'Data' => ['description' => '配置项的值内容', 'type' => 'string', 'example' => '{"key":"value"}'], + 'ErrMsg' => ['description' => '错误信息', 'type' => 'string', 'example' => 'success'], + 'ErrCode' => ['description' => '错误码', 'type' => 'string', 'example' => '1108110501'], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0000-ABCD-****\\",\\n \\"Data\\": \\"{\\\\\\"key\\\\\\":\\\\\\"value\\\\\\"}\\",\\n \\"ErrMsg\\": \\"success\\",\\n \\"ErrCode\\": \\"1108110501\\"\\n}","type":"json"}]', + 'title' => '查询配置项', + ], ], 'endpoints' => [ - [ - 'regionId' => 'cn-wulanchabu', - 'endpoint' => 'dataworks.cn-wulanchabu.aliyuncs.com', - ], - [ - 'regionId' => 'cn-beijing', - 'endpoint' => 'dataworks.cn-beijing.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai', - 'endpoint' => 'dataworks.cn-shanghai.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hongkong', - 'endpoint' => 'dataworks.cn-hongkong.aliyuncs.com', - ], - [ - 'regionId' => 'cn-zhangjiakou', - 'endpoint' => 'dataworks.cn-zhangjiakou.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen', - 'endpoint' => 'dataworks.cn-shenzhen.aliyuncs.com', - ], - [ - 'regionId' => 'ap-northeast-1', - 'endpoint' => 'dataworks.ap-northeast-1.aliyuncs.com', - ], - [ - 'regionId' => 'cn-chengdu', - 'endpoint' => 'dataworks.cn-chengdu.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-1', - 'endpoint' => 'dataworks.ap-southeast-1.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-3', - 'endpoint' => 'dataworks.ap-southeast-3.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-5', - 'endpoint' => 'dataworks.ap-southeast-5.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou', - 'endpoint' => 'dataworks.cn-hangzhou.aliyuncs.com', - ], - [ - 'regionId' => 'us-east-1', - 'endpoint' => 'dataworks.us-east-1.aliyuncs.com', - ], - [ - 'regionId' => 'eu-west-1', - 'endpoint' => 'dataworks.eu-west-1.aliyuncs.com', - ], - [ - 'regionId' => 'us-west-1', - 'endpoint' => 'dataworks.us-west-1.aliyuncs.com', - ], - [ - 'regionId' => 'eu-central-1', - 'endpoint' => 'dataworks.eu-central-1.aliyuncs.com', - ], - [ - 'regionId' => 'me-east-1', - 'endpoint' => 'dataworks.me-east-1.aliyuncs.com', - ], - [ - 'regionId' => 'me-central-1', - 'endpoint' => 'dataworks.me-central-1.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen-finance-1', - 'endpoint' => 'dataworks.cn-shenzhen-finance-1.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai-finance-1', - 'endpoint' => 'dataworks.cn-shanghai-finance-1.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou-finance', - 'endpoint' => 'dataworks.aliyuncs.com', - ], - [ - 'regionId' => 'ap-northeast-2', - 'endpoint' => 'dataworks.ap-northeast-2.aliyuncs.com', - ], + ['regionId' => 'cn-wulanchabu', 'endpoint' => 'dataworks.cn-wulanchabu.aliyuncs.com'], + ['regionId' => 'cn-beijing', 'endpoint' => 'dataworks.cn-beijing.aliyuncs.com'], + ['regionId' => 'cn-shanghai', 'endpoint' => 'dataworks.cn-shanghai.aliyuncs.com'], + ['regionId' => 'cn-hongkong', 'endpoint' => 'dataworks.cn-hongkong.aliyuncs.com'], + ['regionId' => 'cn-zhangjiakou', 'endpoint' => 'dataworks.cn-zhangjiakou.aliyuncs.com'], + ['regionId' => 'cn-shenzhen', 'endpoint' => 'dataworks.cn-shenzhen.aliyuncs.com'], + ['regionId' => 'ap-northeast-1', 'endpoint' => 'dataworks.ap-northeast-1.aliyuncs.com'], + ['regionId' => 'cn-chengdu', 'endpoint' => 'dataworks.cn-chengdu.aliyuncs.com'], + ['regionId' => 'ap-southeast-1', 'endpoint' => 'dataworks.ap-southeast-1.aliyuncs.com'], + ['regionId' => 'ap-southeast-3', 'endpoint' => 'dataworks.ap-southeast-3.aliyuncs.com'], + ['regionId' => 'ap-southeast-5', 'endpoint' => 'dataworks.ap-southeast-5.aliyuncs.com'], + ['regionId' => 'cn-hangzhou', 'endpoint' => 'dataworks.cn-hangzhou.aliyuncs.com'], + ['regionId' => 'us-east-1', 'endpoint' => 'dataworks.us-east-1.aliyuncs.com'], + ['regionId' => 'eu-west-1', 'endpoint' => 'dataworks.eu-west-1.aliyuncs.com'], + ['regionId' => 'us-west-1', 'endpoint' => 'dataworks.us-west-1.aliyuncs.com'], + ['regionId' => 'eu-central-1', 'endpoint' => 'dataworks.eu-central-1.aliyuncs.com'], + ['regionId' => 'me-east-1', 'endpoint' => 'dataworks.me-east-1.aliyuncs.com'], + ['regionId' => 'me-central-1', 'endpoint' => 'dataworks.me-central-1.aliyuncs.com'], + ['regionId' => 'cn-shenzhen-finance-1', 'endpoint' => 'dataworks.cn-shenzhen-finance-1.aliyuncs.com'], + ['regionId' => 'cn-shanghai-finance-1', 'endpoint' => 'dataworks.cn-shanghai-finance-1.aliyuncs.com'], + ['regionId' => 'cn-hangzhou-finance', 'endpoint' => 'dataworks.aliyuncs.com'], + ['regionId' => 'ap-northeast-2', 'endpoint' => 'dataworks.ap-northeast-2.aliyuncs.com'], ], ]; |
