From 1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634 Mon Sep 17 00:00:00 2001 From: Zhineng Li Date: Sun, 12 Jul 2026 17:11:17 +0800 Subject: update APIs 20260712 --- .../openanalytics-open/2020-09-28/api-docs.php | 922 ++++----------------- 1 file changed, 152 insertions(+), 770 deletions(-) (limited to 'data/en_us/openanalytics-open/2020-09-28') diff --git a/data/en_us/openanalytics-open/2020-09-28/api-docs.php b/data/en_us/openanalytics-open/2020-09-28/api-docs.php index bd65fb5..445ebf1 100644 --- a/data/en_us/openanalytics-open/2020-09-28/api-docs.php +++ b/data/en_us/openanalytics-open/2020-09-28/api-docs.php @@ -1,10 +1,6 @@ '1.0', - 'info' => [ - 'style' => 'RPC', - 'product' => 'openanalytics-open', - 'version' => '2020-09-28', - ], + 'info' => ['style' => 'RPC', 'product' => 'openanalytics-open', 'version' => '2020-09-28'], 'directories' => [ [ 'id' => 66508, @@ -15,28 +11,19 @@ 'id' => 66512, 'title' => null, 'type' => 'directory', - 'children' => [ - 'CreateDatabase', - 'GetAllDatabases', - ], + 'children' => ['CreateDatabase', 'GetAllDatabases'], ], [ 'id' => 66518, 'title' => null, 'type' => 'directory', - 'children' => [ - 'AddPartitions', - ], + 'children' => ['AddPartitions'], ], [ 'id' => 66523, 'title' => null, 'type' => 'directory', - 'children' => [ - 'GetTable', - 'GetAllTables', - 'DropTable', - ], + 'children' => ['GetTable', 'GetAllTables', 'DropTable'], ], ], ], @@ -47,13 +34,8 @@ 'apis' => [ 'CreateDatabase' => [ 'summary' => '创建数据库', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -61,44 +43,22 @@ ], 'operationType' => 'write', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - 'riskType' => 'none', - 'chargeType' => 'free', - ], + 'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'Name', 'in' => 'query', - 'schema' => [ - 'title' => '创建数据库的名字', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'db001', - ], + 'schema' => ['title' => '创建数据库的名字', 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'db001'], ], [ 'name' => 'Description', 'in' => 'query', - 'schema' => [ - 'title' => '数据库描述', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'this is db description', - ], + 'schema' => ['title' => '数据库描述', 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'this is db description'], ], [ 'name' => 'LocationUri', 'in' => 'query', - 'schema' => [ - 'title' => '数据库的 location', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'oss://data/xxx', - ], + 'schema' => ['title' => '数据库的 location', 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'oss://data/xxx'], ], [ 'name' => 'Parameters', @@ -109,11 +69,7 @@ 'description' => '', 'type' => 'object', 'required' => false, - 'additionalProperties' => [ - 'type' => 'string', - 'description' => '', - 'example' => 'key001=value001', - ], + 'additionalProperties' => ['type' => 'string', 'description' => '', 'example' => 'key001=value001'], ], ], ], @@ -124,37 +80,11 @@ 'description' => '', 'type' => 'object', 'properties' => [ - 'Code' => [ - 'title' => '如果后端处理出现错误,则表示错误的类型', - 'description' => '', - 'type' => 'string', - 'example' => 'ALREADY_EXISTS', - ], - 'Data' => [ - 'title' => '成功创建库的库ID', - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '6666', - ], - 'Message' => [ - 'title' => '如果后端处理出现错误,则表示错误的信息', - 'description' => '', - 'type' => 'string', - 'example' => 'Database db001 already exists', - ], - 'RequestId' => [ - 'title' => '请求的 ID', - 'description' => '', - 'type' => 'string', - 'example' => '9BEAC206-0795-4DE3-B1FD-964BEF432B23', - ], - 'Success' => [ - 'title' => '标识本次请求是否成功', - 'description' => '', - 'type' => 'boolean', - 'example' => 'false', - ], + 'Code' => ['title' => '如果后端处理出现错误,则表示错误的类型', 'description' => '', 'type' => 'string', 'example' => 'ALREADY_EXISTS'], + 'Data' => ['title' => '成功创建库的库ID', 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '6666'], + 'Message' => ['title' => '如果后端处理出现错误,则表示错误的信息', 'description' => '', 'type' => 'string', 'example' => 'Database db001 already exists'], + 'RequestId' => ['title' => '请求的 ID', 'description' => '', 'type' => 'string', 'example' => '9BEAC206-0795-4DE3-B1FD-964BEF432B23'], + 'Success' => ['title' => '标识本次请求是否成功', 'description' => '', 'type' => 'boolean', 'example' => 'false'], ], ], ], @@ -164,13 +94,8 @@ ], 'GetAllDatabases' => [ 'summary' => '获取某个用户所有数据库', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -178,11 +103,7 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - ], + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [], 'responses' => [ 200 => [ @@ -191,40 +112,16 @@ 'description' => '', 'type' => 'object', 'properties' => [ - 'Code' => [ - 'title' => '如果后端处理出现错误,则表示错误的类型', - 'description' => '', - 'type' => 'string', - 'example' => 'ok', - ], + 'Code' => ['title' => '如果后端处理出现错误,则表示错误的类型', 'description' => '', 'type' => 'string', 'example' => 'ok'], 'Data' => [ 'title' => '返回的数据库列表', 'description' => '', 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'db001', - ], - ], - 'Message' => [ - 'title' => '如果后端处理出现错误,则表示错误的信息', - 'description' => '', - 'type' => 'string', - 'example' => 'ok', - ], - 'RequestId' => [ - 'title' => '请求的 ID', - 'description' => '', - 'type' => 'string', - 'example' => '9BEAC206-0795-4DE3-B1FD-964BEF432B23', - ], - 'Success' => [ - 'title' => '标识本次请求是否成功', - 'description' => '', - 'type' => 'boolean', - 'example' => 'true', + 'items' => ['description' => '', 'type' => 'string', 'example' => 'db001'], ], + 'Message' => ['title' => '如果后端处理出现错误,则表示错误的信息', 'description' => '', 'type' => 'string', 'example' => 'ok'], + 'RequestId' => ['title' => '请求的 ID', 'description' => '', 'type' => 'string', 'example' => '9BEAC206-0795-4DE3-B1FD-964BEF432B23'], + 'Success' => ['title' => '标识本次请求是否成功', 'description' => '', 'type' => 'boolean', 'example' => 'true'], ], ], ], @@ -235,13 +132,8 @@ ], 'AddPartitions' => [ 'summary' => '添加分区', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -249,11 +141,7 @@ ], 'operationType' => 'write', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - 'riskType' => 'none', - 'chargeType' => 'free', - ], + 'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'Partition', @@ -267,23 +155,13 @@ 'description' => '', 'type' => 'object', 'properties' => [ - 'DbName' => [ - 'title' => '数据库名称', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'db001', - ], + 'DbName' => ['title' => '数据库名称', 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'db001'], 'Parameters' => [ 'title' => '分区属性', 'description' => '', 'type' => 'object', 'required' => false, - 'additionalProperties' => [ - 'type' => 'string', - 'description' => '', - 'example' => 'key001=value002', - ], + 'additionalProperties' => ['type' => 'string', 'description' => '', 'example' => 'key001=value002'], ], 'StorageDescriptor' => [ 'title' => '分区的 StorageDescriptor ', @@ -298,117 +176,50 @@ 'description' => '', 'type' => 'object', 'properties' => [ - 'Comment' => [ - 'title' => '列注释', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'this is comment', - ], - 'Name' => [ - 'title' => '列名', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'col1', - ], - 'Type' => [ - 'title' => '列类型', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'string', - ], + 'Comment' => ['title' => '列注释', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'this is comment'], + 'Name' => ['title' => '列名', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'col1'], + 'Type' => ['title' => '列类型', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'string'], ], 'required' => false, ], 'required' => true, ], - 'InputFormat' => [ - 'title' => '表的 inputFormat', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'org.apache.hadoop.hive.ql.io.parquet.MapredParquetInputFormat', - ], - 'Location' => [ - 'title' => '表路径', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'oss://data/xxxx', - ], - 'OutputFormat' => [ - 'title' => '表的 outputFormat', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'org.apache.hadoop.hive.ql.io.parquet.MapredParquetOutputFormat', - ], + 'InputFormat' => ['title' => '表的 inputFormat', 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'org.apache.hadoop.hive.ql.io.parquet.MapredParquetInputFormat'], + 'Location' => ['title' => '表路径', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'oss://data/xxxx'], + 'OutputFormat' => ['title' => '表的 outputFormat', 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'org.apache.hadoop.hive.ql.io.parquet.MapredParquetOutputFormat'], 'Parameters' => [ 'title' => 'StorageDescriptor 的属性', 'description' => '', 'type' => 'object', 'required' => false, - 'additionalProperties' => [ - 'type' => 'string', - 'example' => 'key001=value002', - 'description' => '', - ], + 'additionalProperties' => ['type' => 'string', 'example' => 'key001=value002', 'description' => ''], ], 'SerDeInfo' => [ 'title' => '表的 serDeInfo', 'description' => '', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'title' => 'SerDe 的名字', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'serDeName', - ], + 'Name' => ['title' => 'SerDe 的名字', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'serDeName'], 'Parameters' => [ 'title' => 'SerDe 的', 'description' => '', 'type' => 'object', 'required' => false, - 'additionalProperties' => [ - 'type' => 'string', - 'example' => 'key001=value002', - 'description' => '', - ], - ], - 'SerializationLib' => [ - 'title' => 'SerDe 的 serializationLib 信息', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'org.apache.hadoop.hive.ql.io.parquet.serde.ParquetHiveSerDe', + 'additionalProperties' => ['type' => 'string', 'example' => 'key001=value002', 'description' => ''], ], + 'SerializationLib' => ['title' => 'SerDe 的 serializationLib 信息', 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'org.apache.hadoop.hive.ql.io.parquet.serde.ParquetHiveSerDe'], ], 'required' => true, ], ], 'required' => true, ], - 'TableName' => [ - 'title' => '表名', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'tbl001', - ], + 'TableName' => ['title' => '表名', 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'tbl001'], 'Values' => [ 'title' => '需要添加的分区', 'description' => '', 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'p001', - ], + 'items' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'p001'], 'required' => true, ], ], @@ -425,47 +236,18 @@ 'description' => '', 'type' => 'object', 'properties' => [ - 'Code' => [ - 'title' => '如果后端处理出现错误,则表示错误的类型', - 'description' => '', - 'type' => 'string', - 'example' => 'INVALID_OPERATION', - ], - 'Data' => [ - 'title' => '成功添加的分区个数', - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2', - ], - 'Message' => [ - 'title' => '如果后端处理出现错误,则表示错误的信息', - 'description' => '', - 'type' => 'string', - 'example' => 'Too many partitions, exceed max partition number', - ], - 'RequestId' => [ - 'title' => '请求的 ID', - 'description' => '', - 'type' => 'string', - 'example' => '9BEAC206-0795-4DE3-B1FD-964BEF432B23', - ], - 'Success' => [ - 'title' => '标识本次请求是否成功', - 'description' => '', - 'type' => 'boolean', - 'example' => 'true', - ], + 'Code' => ['title' => '如果后端处理出现错误,则表示错误的类型', 'description' => '', 'type' => 'string', 'example' => 'INVALID_OPERATION'], + 'Data' => ['title' => '成功添加的分区个数', 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '2'], + 'Message' => ['title' => '如果后端处理出现错误,则表示错误的信息', 'description' => '', 'type' => 'string', 'example' => 'Too many partitions, exceed max partition number'], + 'RequestId' => ['title' => '请求的 ID', 'description' => '', 'type' => 'string', 'example' => '9BEAC206-0795-4DE3-B1FD-964BEF432B23'], + 'Success' => ['title' => '标识本次请求是否成功', 'description' => '', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], 'errorCodes' => [ 430 => [ - [ - 'errorCode' => 'ServerError.Inner', - 'errorMessage' => 'An internal error occurred.', - ], + ['errorCode' => 'ServerError.Inner', 'errorMessage' => 'An internal error occurred.'], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"INVALID_OPERATION\\",\\n \\"Data\\": 2,\\n \\"Message\\": \\"Too many partitions, exceed max partition number\\",\\n \\"RequestId\\": \\"9BEAC206-0795-4DE3-B1FD-964BEF432B23\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"Too many partitions, exceed max partition number\\n9BEAC206-0795-4DE3-B1FD-964BEF432B23\\n2\\nINVALID_OPERATION\\ntrue","errorExample":""}]', @@ -473,13 +255,8 @@ ], 'GetTable' => [ 'summary' => '获取表', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -487,33 +264,17 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - ], + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'DbName', 'in' => 'query', - 'schema' => [ - 'title' => '数据库名称', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'db001', - ], + 'schema' => ['title' => '数据库名称', 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'db001'], ], [ 'name' => 'TableName', 'in' => 'query', - 'schema' => [ - 'title' => '表名称', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'tbl001', - ], + 'schema' => ['title' => '表名称', 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'tbl001'], ], ], 'responses' => [ @@ -523,70 +284,24 @@ 'description' => '', 'type' => 'object', 'properties' => [ - 'Code' => [ - 'title' => '如果后端处理出现错误,则表示错误的类型', - 'description' => '', - 'type' => 'string', - 'example' => 'NO_SUCH_OBJECT', - ], - 'Message' => [ - 'title' => '如果后端处理出现错误,则表示错误的信息', - 'description' => '', - 'type' => 'string', - 'example' => 'No such table: db001.tbl001', - ], - 'RequestId' => [ - 'title' => '请求的 ID', - 'description' => '', - 'type' => 'string', - 'example' => '9BEAC206-0795-4DE3-B1FD-964BEF432B23', - ], - 'Success' => [ - 'title' => '标识本次请求是否成功', - 'description' => '', - 'type' => 'boolean', - 'example' => 'false', - ], + 'Code' => ['title' => '如果后端处理出现错误,则表示错误的类型', 'description' => '', 'type' => 'string', 'example' => 'NO_SUCH_OBJECT'], + 'Message' => ['title' => '如果后端处理出现错误,则表示错误的信息', 'description' => '', 'type' => 'string', 'example' => 'No such table: db001.tbl001'], + 'RequestId' => ['title' => '请求的 ID', 'description' => '', 'type' => 'string', 'example' => '9BEAC206-0795-4DE3-B1FD-964BEF432B23'], + 'Success' => ['title' => '标识本次请求是否成功', 'description' => '', 'type' => 'boolean', 'example' => 'false'], 'Table' => [ 'title' => '获取的表信息', 'description' => '', 'type' => 'object', 'properties' => [ - 'CreateTime' => [ - 'title' => '表的创建时间', - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '20190813', - ], - 'DbName' => [ - 'title' => '数据库名称', - 'description' => '', - 'type' => 'string', - 'example' => 'db001', - ], - 'LastAccessTime' => [ - 'title' => '最后一次访问时间', - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '20190814', - ], - 'Owner' => [ - 'title' => '表的所属用户', - 'description' => '', - 'type' => 'string', - 'example' => 'user001', - ], + 'CreateTime' => ['title' => '表的创建时间', 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '20190813'], + 'DbName' => ['title' => '数据库名称', 'description' => '', 'type' => 'string', 'example' => 'db001'], + 'LastAccessTime' => ['title' => '最后一次访问时间', 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '20190814'], + 'Owner' => ['title' => '表的所属用户', 'description' => '', 'type' => 'string', 'example' => 'user001'], 'Parameters' => [ 'title' => '表属性', 'description' => '', 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'string', - 'description' => '', - 'example' => 'key001=value001', - ], + 'additionalProperties' => ['type' => 'string', 'description' => '', 'example' => 'key001=value001'], ], 'PartitionKeys' => [ 'title' => '分区信息', @@ -596,24 +311,9 @@ 'description' => '', 'type' => 'object', 'properties' => [ - 'Comment' => [ - 'title' => '分区注释', - 'description' => '', - 'type' => 'string', - 'example' => 'this is partition comment', - ], - 'Name' => [ - 'title' => '分区名称', - 'description' => '', - 'type' => 'string', - 'example' => 'part001', - ], - 'Type' => [ - 'title' => '分区类型', - 'description' => '', - 'type' => 'string', - 'example' => 'int', - ], + 'Comment' => ['title' => '分区注释', 'description' => '', 'type' => 'string', 'example' => 'this is partition comment'], + 'Name' => ['title' => '分区名称', 'description' => '', 'type' => 'string', 'example' => 'part001'], + 'Type' => ['title' => '分区类型', 'description' => '', 'type' => 'string', 'example' => 'int'], ], ], ], @@ -630,105 +330,37 @@ 'description' => '', 'type' => 'object', 'properties' => [ - 'Comment' => [ - 'title' => '列注释', - 'description' => '', - 'type' => 'string', - 'example' => 'this is column comment', - ], - 'Name' => [ - 'title' => '列名称', - 'description' => '', - 'type' => 'string', - 'example' => 'col1', - ], - 'Type' => [ - 'title' => '列类型', - 'description' => '', - 'type' => 'string', - 'example' => 'string', - ], + 'Comment' => ['title' => '列注释', 'description' => '', 'type' => 'string', 'example' => 'this is column comment'], + 'Name' => ['title' => '列名称', 'description' => '', 'type' => 'string', 'example' => 'col1'], + 'Type' => ['title' => '列类型', 'description' => '', 'type' => 'string', 'example' => 'string'], ], ], ], - 'InputFormat' => [ - 'title' => '表的 inputFormat', - 'description' => '', - 'type' => 'string', - 'example' => 'org.apache.hadoop.hive.ql.io.parquet.MapredParquetInputFormat', - ], - 'Location' => [ - 'title' => '表路径', - 'description' => '', - 'type' => 'string', - 'example' => 'oss://data/xxxx', - ], - 'OutputFormat' => [ - 'title' => '表的 outputFormat', - 'description' => '', - 'type' => 'string', - 'example' => 'org.apache.hadoop.hive.ql.io.parquet.MapredParquetOutputFormat', - ], - 'Parameters' => [ - 'title' => 'SD 的属性', - 'description' => '', - 'type' => 'object', - ], + 'InputFormat' => ['title' => '表的 inputFormat', 'description' => '', 'type' => 'string', 'example' => 'org.apache.hadoop.hive.ql.io.parquet.MapredParquetInputFormat'], + 'Location' => ['title' => '表路径', 'description' => '', 'type' => 'string', 'example' => 'oss://data/xxxx'], + 'OutputFormat' => ['title' => '表的 outputFormat', 'description' => '', 'type' => 'string', 'example' => 'org.apache.hadoop.hive.ql.io.parquet.MapredParquetOutputFormat'], + 'Parameters' => ['title' => 'SD 的属性', 'description' => '', 'type' => 'object'], 'SerDeInfo' => [ 'title' => '表的 SerDe 信息', 'description' => '', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'title' => 'SerDe 的名称', - 'description' => '', - 'type' => 'string', - 'example' => 'SerDeName', - ], + 'Name' => ['title' => 'SerDe 的名称', 'description' => '', 'type' => 'string', 'example' => 'SerDeName'], 'Parameters' => [ 'title' => 'SerDe 的属性', 'description' => '', 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'string', - 'description' => '', - 'example' => 'key001=value001', - ], - ], - 'SerializationLib' => [ - 'title' => 'SerDe 的 serializationLib', - 'description' => '', - 'type' => 'string', - 'example' => 'org.apache.hadoop.hive.ql.io.parquet.serde.ParquetHiveSerDe', + 'additionalProperties' => ['type' => 'string', 'description' => '', 'example' => 'key001=value001'], ], + 'SerializationLib' => ['title' => 'SerDe 的 serializationLib', 'description' => '', 'type' => 'string', 'example' => 'org.apache.hadoop.hive.ql.io.parquet.serde.ParquetHiveSerDe'], ], ], ], ], - 'TableName' => [ - 'title' => '表的名称', - 'description' => '', - 'type' => 'string', - 'example' => 'tbl001', - ], - 'TableType' => [ - 'title' => '表的类型', - 'description' => '', - 'type' => 'string', - 'example' => 'VIEW', - ], - 'ViewExpandedText' => [ - 'title' => '如果表是视图,则存储扩展视图SQL', - 'description' => '', - 'type' => 'string', - 'example' => 'select count(*) from tbl002', - ], - 'ViewOriginalText' => [ - 'title' => '如果表是视图,则存储原生视图SQL', - 'description' => '', - 'type' => 'string', - 'example' => 'select count(*) from tbl002', - ], + 'TableName' => ['title' => '表的名称', 'description' => '', 'type' => 'string', 'example' => 'tbl001'], + 'TableType' => ['title' => '表的类型', 'description' => '', 'type' => 'string', 'example' => 'VIEW'], + 'ViewExpandedText' => ['title' => '如果表是视图,则存储扩展视图SQL', 'description' => '', 'type' => 'string', 'example' => 'select count(*) from tbl002'], + 'ViewOriginalText' => ['title' => '如果表是视图,则存储原生视图SQL', 'description' => '', 'type' => 'string', 'example' => 'select count(*) from tbl002'], ], ], ], @@ -741,13 +373,8 @@ ], 'GetAllTables' => [ 'summary' => '获取某个数据库下面的所有表', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -755,22 +382,12 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - ], + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'DbName', 'in' => 'query', - 'schema' => [ - 'title' => '数据库名称', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'db001', - ], + 'schema' => ['title' => '数据库名称', 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'db001'], ], ], 'responses' => [ @@ -780,40 +397,16 @@ 'description' => '', 'type' => 'object', 'properties' => [ - 'Code' => [ - 'title' => '如果后端处理出现错误,则表示错误的类型', - 'description' => '', - 'type' => 'string', - 'example' => 'NO_SUCH_OBJECT', - ], + 'Code' => ['title' => '如果后端处理出现错误,则表示错误的类型', 'description' => '', 'type' => 'string', 'example' => 'NO_SUCH_OBJECT'], 'Data' => [ 'title' => '请求数据库低下的所有表', 'description' => '', 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'tbl001', - ], - ], - 'Message' => [ - 'title' => '如果后端处理出现错误,则表示错误的信息', - 'description' => '', - 'type' => 'string', - 'example' => 'The database db001 does not exist', - ], - 'RequestId' => [ - 'title' => '请求的 ID', - 'description' => '', - 'type' => 'string', - 'example' => '9BEAC206-0795-4DE3-B1FD-964BEF432B23', - ], - 'Success' => [ - 'title' => '标识本次请求是否成功', - 'description' => '', - 'type' => 'boolean', - 'example' => 'false', + 'items' => ['description' => '', 'type' => 'string', 'example' => 'tbl001'], ], + 'Message' => ['title' => '如果后端处理出现错误,则表示错误的信息', 'description' => '', 'type' => 'string', 'example' => 'The database db001 does not exist'], + 'RequestId' => ['title' => '请求的 ID', 'description' => '', 'type' => 'string', 'example' => '9BEAC206-0795-4DE3-B1FD-964BEF432B23'], + 'Success' => ['title' => '标识本次请求是否成功', 'description' => '', 'type' => 'boolean', 'example' => 'false'], ], ], ], @@ -824,13 +417,8 @@ ], 'DropTable' => [ 'summary' => '删除表', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -838,33 +426,17 @@ ], 'operationType' => 'write', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'delete', - 'riskType' => 'none', - 'chargeType' => 'free', - ], + 'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'DbName', 'in' => 'query', - 'schema' => [ - 'title' => '数据库名称', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'db001', - ], + 'schema' => ['title' => '数据库名称', 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'db001'], ], [ 'name' => 'TableName', 'in' => 'query', - 'schema' => [ - 'title' => '表名称', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'tbl001', - ], + 'schema' => ['title' => '表名称', 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'tbl001'], ], ], 'responses' => [ @@ -874,46 +446,18 @@ 'description' => '', 'type' => 'object', 'properties' => [ - 'Code' => [ - 'title' => '如果后端处理出现错误,则表示错误的类型', - 'description' => '', - 'type' => 'string', - 'example' => 'NO_SUCH_OBJECT', - ], - 'Data' => [ - 'title' => '标记表是否删除成功', - 'description' => '', - 'type' => 'boolean', - 'example' => 'false', - ], - 'Message' => [ - 'title' => '如果后端处理出现错误,则表示错误的信息', - 'description' => '', - 'type' => 'string', - 'example' => 'No such table: db001.tbl001', - ], - 'RequestId' => [ - 'title' => '请求的 ID', - 'description' => '', - 'type' => 'string', - 'example' => '9BEAC206-0795-4DE3-B1FD-964BEF432B23', - ], - 'Success' => [ - 'title' => '标识本次请求是否成功', - 'description' => '', - 'type' => 'boolean', - 'example' => 'false', - ], + 'Code' => ['title' => '如果后端处理出现错误,则表示错误的类型', 'description' => '', 'type' => 'string', 'example' => 'NO_SUCH_OBJECT'], + 'Data' => ['title' => '标记表是否删除成功', 'description' => '', 'type' => 'boolean', 'example' => 'false'], + 'Message' => ['title' => '如果后端处理出现错误,则表示错误的信息', 'description' => '', 'type' => 'string', 'example' => 'No such table: db001.tbl001'], + 'RequestId' => ['title' => '请求的 ID', 'description' => '', 'type' => 'string', 'example' => '9BEAC206-0795-4DE3-B1FD-964BEF432B23'], + 'Success' => ['title' => '标识本次请求是否成功', 'description' => '', 'type' => 'boolean', 'example' => 'false'], ], ], ], ], 'errorCodes' => [ 430 => [ - [ - 'errorCode' => 'ServerError.Inner', - 'errorMessage' => 'An internal error occurred.', - ], + ['errorCode' => 'ServerError.Inner', 'errorMessage' => 'An internal error occurred.'], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"NO_SUCH_OBJECT\\",\\n \\"Data\\": false,\\n \\"Message\\": \\"No such table: db001.tbl001\\",\\n \\"RequestId\\": \\"9BEAC206-0795-4DE3-B1FD-964BEF432B23\\",\\n \\"Success\\": false\\n}","errorExample":""},{"type":"xml","example":"No such table: db001.tbl001\\n9BEAC206-0795-4DE3-B1FD-964BEF432B23\\nfalse\\nNO_SUCH_OBJECT\\nfalse","errorExample":""}]', @@ -921,221 +465,59 @@ ], ], 'endpoints' => [ - [ - 'regionId' => 'cn-beijing', - 'endpoint' => 'openanalytics.cn-beijing.aliyuncs.com', - ], - [ - 'regionId' => 'cn-zhangjiakou', - 'endpoint' => 'openanalytics.cn-zhangjiakou.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou', - 'endpoint' => 'openanalytics.cn-hangzhou.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai', - 'endpoint' => 'openanalytics.cn-shanghai.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen', - 'endpoint' => 'openanalytics.cn-shenzhen.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hongkong', - 'endpoint' => 'openanalytics.cn-hongkong.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-1', - 'endpoint' => 'openanalytics.ap-southeast-1.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-2', - 'endpoint' => 'datalakeanalytics.ap-southeast-2.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-3', - 'endpoint' => 'openanalytics.ap-southeast-3.aliyuncs.com', - ], - [ - 'regionId' => 'ap-northeast-1', - 'endpoint' => 'datalakeanalytics.ap-northeast-1.aliyuncs.com', - ], - [ - 'regionId' => 'eu-west-1', - 'endpoint' => 'openanalytics.eu-west-1.aliyuncs.com', - ], - [ - 'regionId' => 'us-west-1', - 'endpoint' => 'openanalytics.us-west-1.aliyuncs.com', - ], - [ - 'regionId' => 'us-east-1', - 'endpoint' => 'datalakeanalytics.us-east-1.aliyuncs.com', - ], - [ - 'regionId' => 'eu-central-1', - 'endpoint' => 'datalakeanalytics.eu-central-1.aliyuncs.com', - ], - [ - 'regionId' => 'ap-south-1', - 'endpoint' => 'openanalytics.ap-south-1.aliyuncs.com', - ], - [ - 'regionId' => 'ap-northeast-2-pop', - 'endpoint' => 'openanalytics.ap-northeast-1.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-5', - 'endpoint' => 'openanalytics.ap-southeast-5.aliyuncs.com', - ], - [ - 'regionId' => 'cn-beijing-finance-1', - 'endpoint' => 'openanalytics.aliyuncs.com', - ], - [ - 'regionId' => 'cn-beijing-finance-pop', - 'endpoint' => 'openanalytics.aliyuncs.com', - ], - [ - 'regionId' => 'cn-beijing-gov-1', - 'endpoint' => 'openanalytics.aliyuncs.com', - ], - [ - 'regionId' => 'cn-beijing-nu16-b01', - 'endpoint' => 'openanalytics.aliyuncs.com', - ], - [ - 'regionId' => 'cn-chengdu', - 'endpoint' => 'openanalytics.aliyuncs.com', - ], - [ - 'regionId' => 'cn-edge-1', - 'endpoint' => 'openanalytics.aliyuncs.com', - ], - [ - 'regionId' => 'cn-fujian', - 'endpoint' => 'openanalytics.aliyuncs.com', - ], - [ - 'regionId' => 'cn-haidian-cm12-c01', - 'endpoint' => 'openanalytics.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou-bj-b01', - 'endpoint' => 'openanalytics.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou-finance', - 'endpoint' => 'openanalytics.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou-internal-prod-1', - 'endpoint' => 'openanalytics.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou-internal-test-1', - 'endpoint' => 'openanalytics.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou-internal-test-2', - 'endpoint' => 'openanalytics.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou-internal-test-3', - 'endpoint' => 'openanalytics.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou-test-306', - 'endpoint' => 'openanalytics.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hongkong-finance-pop', - 'endpoint' => 'openanalytics.aliyuncs.com', - ], - [ - 'regionId' => 'cn-huhehaote', - 'endpoint' => 'openanalytics.cn-huhehaote.aliyuncs.com', - ], - [ - 'regionId' => 'cn-north-2-gov-1', - 'endpoint' => 'openanalytics.aliyuncs.com', - ], - [ - 'regionId' => 'cn-qingdao', - 'endpoint' => 'openanalytics.cn-qingdao.aliyuncs.com', - ], - [ - 'regionId' => 'cn-qingdao-nebula', - 'endpoint' => 'openanalytics.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai-et15-b01', - 'endpoint' => 'openanalytics.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai-et2-b01', - 'endpoint' => 'openanalytics.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai-finance-1', - 'endpoint' => 'openanalytics.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai-inner', - 'endpoint' => 'openanalytics.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai-internal-test-1', - 'endpoint' => 'openanalytics.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen-finance-1', - 'endpoint' => 'openanalytics.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen-inner', - 'endpoint' => 'openanalytics.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen-st4-d01', - 'endpoint' => 'openanalytics.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen-su18-b01', - 'endpoint' => 'openanalytics.aliyuncs.com', - ], - [ - 'regionId' => 'cn-wuhan', - 'endpoint' => 'openanalytics.aliyuncs.com', - ], - [ - 'regionId' => 'cn-yushanfang', - 'endpoint' => 'openanalytics.aliyuncs.com', - ], - [ - 'regionId' => 'cn-zhangbei-na61-b01', - 'endpoint' => 'openanalytics.aliyuncs.com', - ], - [ - 'regionId' => 'cn-zhangjiakou-na62-a01', - 'endpoint' => 'openanalytics.aliyuncs.com', - ], - [ - 'regionId' => 'cn-zhengzhou-nebula-1', - 'endpoint' => 'openanalytics.aliyuncs.com', - ], - [ - 'regionId' => 'eu-west-1-oxs', - 'endpoint' => 'openanalytics.ap-northeast-1.aliyuncs.com', - ], - [ - 'regionId' => 'me-east-1', - 'endpoint' => 'openanalytics.me-east-1.aliyuncs.com', - ], - [ - 'regionId' => 'rus-west-1-pop', - 'endpoint' => 'openanalytics.ap-northeast-1.aliyuncs.com', - ], + ['regionId' => 'cn-beijing', 'endpoint' => 'openanalytics.cn-beijing.aliyuncs.com'], + ['regionId' => 'cn-zhangjiakou', 'endpoint' => 'openanalytics.cn-zhangjiakou.aliyuncs.com'], + ['regionId' => 'cn-hangzhou', 'endpoint' => 'openanalytics.cn-hangzhou.aliyuncs.com'], + ['regionId' => 'cn-shanghai', 'endpoint' => 'openanalytics.cn-shanghai.aliyuncs.com'], + ['regionId' => 'cn-shenzhen', 'endpoint' => 'openanalytics.cn-shenzhen.aliyuncs.com'], + ['regionId' => 'cn-hongkong', 'endpoint' => 'openanalytics.cn-hongkong.aliyuncs.com'], + ['regionId' => 'ap-southeast-1', 'endpoint' => 'openanalytics.ap-southeast-1.aliyuncs.com'], + ['regionId' => 'ap-southeast-2', 'endpoint' => 'datalakeanalytics.ap-southeast-2.aliyuncs.com'], + ['regionId' => 'ap-southeast-3', 'endpoint' => 'openanalytics.ap-southeast-3.aliyuncs.com'], + ['regionId' => 'ap-northeast-1', 'endpoint' => 'datalakeanalytics.ap-northeast-1.aliyuncs.com'], + ['regionId' => 'eu-west-1', 'endpoint' => 'openanalytics.eu-west-1.aliyuncs.com'], + ['regionId' => 'us-west-1', 'endpoint' => 'openanalytics.us-west-1.aliyuncs.com'], + ['regionId' => 'us-east-1', 'endpoint' => 'datalakeanalytics.us-east-1.aliyuncs.com'], + ['regionId' => 'eu-central-1', 'endpoint' => 'datalakeanalytics.eu-central-1.aliyuncs.com'], + ['regionId' => 'ap-south-1', 'endpoint' => 'openanalytics.ap-south-1.aliyuncs.com'], + ['regionId' => 'ap-northeast-2-pop', 'endpoint' => 'openanalytics.ap-northeast-1.aliyuncs.com'], + ['regionId' => 'ap-southeast-5', 'endpoint' => 'openanalytics.ap-southeast-5.aliyuncs.com'], + ['regionId' => 'cn-beijing-finance-1', 'endpoint' => 'openanalytics.aliyuncs.com'], + ['regionId' => 'cn-beijing-finance-pop', 'endpoint' => 'openanalytics.aliyuncs.com'], + ['regionId' => 'cn-beijing-gov-1', 'endpoint' => 'openanalytics.aliyuncs.com'], + ['regionId' => 'cn-beijing-nu16-b01', 'endpoint' => 'openanalytics.aliyuncs.com'], + ['regionId' => 'cn-chengdu', 'endpoint' => 'openanalytics.aliyuncs.com'], + ['regionId' => 'cn-edge-1', 'endpoint' => 'openanalytics.aliyuncs.com'], + ['regionId' => 'cn-fujian', 'endpoint' => 'openanalytics.aliyuncs.com'], + ['regionId' => 'cn-haidian-cm12-c01', 'endpoint' => 'openanalytics.aliyuncs.com'], + ['regionId' => 'cn-hangzhou-bj-b01', 'endpoint' => 'openanalytics.aliyuncs.com'], + ['regionId' => 'cn-hangzhou-finance', 'endpoint' => 'openanalytics.aliyuncs.com'], + ['regionId' => 'cn-hangzhou-internal-prod-1', 'endpoint' => 'openanalytics.aliyuncs.com'], + ['regionId' => 'cn-hangzhou-internal-test-1', 'endpoint' => 'openanalytics.aliyuncs.com'], + ['regionId' => 'cn-hangzhou-internal-test-2', 'endpoint' => 'openanalytics.aliyuncs.com'], + ['regionId' => 'cn-hangzhou-internal-test-3', 'endpoint' => 'openanalytics.aliyuncs.com'], + ['regionId' => 'cn-hangzhou-test-306', 'endpoint' => 'openanalytics.aliyuncs.com'], + ['regionId' => 'cn-hongkong-finance-pop', 'endpoint' => 'openanalytics.aliyuncs.com'], + ['regionId' => 'cn-huhehaote', 'endpoint' => 'openanalytics.cn-huhehaote.aliyuncs.com'], + ['regionId' => 'cn-north-2-gov-1', 'endpoint' => 'openanalytics.aliyuncs.com'], + ['regionId' => 'cn-qingdao', 'endpoint' => 'openanalytics.cn-qingdao.aliyuncs.com'], + ['regionId' => 'cn-qingdao-nebula', 'endpoint' => 'openanalytics.aliyuncs.com'], + ['regionId' => 'cn-shanghai-et15-b01', 'endpoint' => 'openanalytics.aliyuncs.com'], + ['regionId' => 'cn-shanghai-et2-b01', 'endpoint' => 'openanalytics.aliyuncs.com'], + ['regionId' => 'cn-shanghai-finance-1', 'endpoint' => 'openanalytics.aliyuncs.com'], + ['regionId' => 'cn-shanghai-inner', 'endpoint' => 'openanalytics.aliyuncs.com'], + ['regionId' => 'cn-shanghai-internal-test-1', 'endpoint' => 'openanalytics.aliyuncs.com'], + ['regionId' => 'cn-shenzhen-finance-1', 'endpoint' => 'openanalytics.aliyuncs.com'], + ['regionId' => 'cn-shenzhen-inner', 'endpoint' => 'openanalytics.aliyuncs.com'], + ['regionId' => 'cn-shenzhen-st4-d01', 'endpoint' => 'openanalytics.aliyuncs.com'], + ['regionId' => 'cn-shenzhen-su18-b01', 'endpoint' => 'openanalytics.aliyuncs.com'], + ['regionId' => 'cn-wuhan', 'endpoint' => 'openanalytics.aliyuncs.com'], + ['regionId' => 'cn-yushanfang', 'endpoint' => 'openanalytics.aliyuncs.com'], + ['regionId' => 'cn-zhangbei-na61-b01', 'endpoint' => 'openanalytics.aliyuncs.com'], + ['regionId' => 'cn-zhangjiakou-na62-a01', 'endpoint' => 'openanalytics.aliyuncs.com'], + ['regionId' => 'cn-zhengzhou-nebula-1', 'endpoint' => 'openanalytics.aliyuncs.com'], + ['regionId' => 'eu-west-1-oxs', 'endpoint' => 'openanalytics.ap-northeast-1.aliyuncs.com'], + ['regionId' => 'me-east-1', 'endpoint' => 'openanalytics.me-east-1.aliyuncs.com'], + ['regionId' => 'rus-west-1-pop', 'endpoint' => 'openanalytics.ap-northeast-1.aliyuncs.com'], ], ]; -- cgit v1.2.3