'1.0',
'info' => [
'style' => 'RPC',
'product' => 'dataworks-public',
'version' => '2018-06-01',
],
'directories' => [
[
'id' => 60061,
'title' => null,
'type' => 'directory',
'children' => [
'CreateManualDag',
'DeleteFile',
'SearchManualDagNodeInstance',
],
],
[
'id' => 60066,
'title' => null,
'type' => 'directory',
'children' => [
'DescribeEmrHiveTable',
'ListEmrHiveAuditLogs',
'ListEmrHiveDatabases',
'ListEmrHiveTables',
'ListHiveTableLineages',
'ListHiveColumnLineages',
'ListTablePartitions',
],
],
[
'id' => 0,
'title' => '其它',
'type' => 'directory',
'children' => [
'OpenDataWorksStandardService',
'SendTaskMetaCallback',
'SetSwitchValue',
'GetDataServiceApiContext',
'GetDataServiceContextUpdateEvent',
'GetDataServiceConnection',
'GetDataServiceApiAuthMapContext',
'GetDataServiceFunction',
],
],
],
'components' => [
'schemas' => [],
],
'apis' => [
'CreateManualDag' => [
'methods' => [
'post',
],
'schemes' => [
'http',
'https',
],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'systemTags' => [
'operationType' => 'none',
'abilityTreeCode' => '78125',
'abilityTreeNodes' => [
'FEATUREdideVFMENL',
],
],
'parameters' => [
[
'name' => 'ProjectName',
'in' => 'query',
'schema' => [
'description' => '',
'docRequired' => true,
'example' => 'test_project',
'required' => true,
'type' => 'string',
],
],
[
'name' => 'FlowName',
'in' => 'query',
'schema' => [
'description' => '',
'docRequired' => true,
'example' => 'test_flow',
'required' => true,
'type' => 'string',
],
],
[
'name' => 'DagPara',
'in' => 'query',
'schema' => [
'description' => '',
'example' => 'param_k1=param_v1 param_k2=param_v2',
'required' => false,
'type' => 'string',
],
],
[
'name' => 'NodePara',
'in' => 'query',
'schema' => [
'description' => '',
'example' => '{"103180025": "test=$[yyyy-mm-dd]"}',
'required' => false,
'type' => 'string',
],
],
[
'name' => 'Bizdate',
'in' => 'query',
'schema' => [
'description' => '',
'docRequired' => true,
'example' => '2018-12-12 00:00:00',
'required' => true,
'type' => 'string',
],
],
],
'responses' => [
200 => [
'schema' => [
'properties' => [
'ReturnCode' => [
'description' => '',
'example' => '0',
'type' => 'string',
],
'RequestId' => [
'description' => '',
'example' => '2d9ce-38ef-4923-baf6-391a7e656',
'type' => 'string',
],
'ReturnValue' => [
'description' => '',
'example' => '1244311235',
'format' => 'int64',
'type' => 'integer',
],
'ReturnErrorSolution' => [
'description' => '',
'example' => 'test',
'type' => 'string',
],
'ReturnMessage' => [
'description' => '',
'example' => 'test',
'type' => 'string',
],
],
'type' => 'object',
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"ReturnCode\\": \\"0\\",\\n \\"RequestId\\": \\"2d9ce-38ef-4923-baf6-391a7e656\\",\\n \\"ReturnValue\\": 1244311235,\\n \\"ReturnErrorSolution\\": \\"test\\",\\n \\"ReturnMessage\\": \\"test\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\nD394A-96-4C7-96E-FCDEB0AB3\\r\\n\\t0\\r\\n\\t\\r\\n\\t\\r\\n\\t13245685\\r\\n","errorExample":""}]',
'extraInfo' => ' ',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'title' => 'CreateManualDag',
],
'DeleteFile' => [
'methods' => [
'post',
],
'schemes' => [
'http',
'https',
],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
'operationType' => 'delete',
'abilityTreeCode' => '78128',
'abilityTreeNodes' => [
'FEATUREdide8FM783',
],
],
'parameters' => [
[
'name' => 'ProjectId',
'in' => 'formData',
'schema' => [
'type' => 'integer',
'format' => 'int64',
'required' => false,
'docRequired' => true,
],
],
[
'name' => 'ProjectIdentifier',
'in' => 'formData',
'schema' => [
'type' => 'string',
'required' => false,
],
],
[
'name' => 'FileId',
'in' => 'formData',
'schema' => [
'type' => 'integer',
'format' => 'int64',
'required' => true,
'docRequired' => true,
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'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.',
],
],
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.',
],
],
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.',
],
],
],
'responseDemo' => null,
],
'SearchManualDagNodeInstance' => [
'methods' => [
'post',
],
'schemes' => [
'http',
'https',
],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'systemTags' => [
'operationType' => 'get',
'abilityTreeCode' => '78147',
'abilityTreeNodes' => [
'FEATUREdide7WF1GB',
],
],
'parameters' => [
[
'name' => 'ProjectName',
'in' => 'query',
'schema' => [
'description' => '',
'docRequired' => true,
'example' => 'test_odps_project',
'required' => true,
'type' => 'string',
],
],
[
'name' => 'DagId',
'in' => 'query',
'schema' => [
'description' => '',
'docRequired' => true,
'example' => '123434234',
'format' => 'int64',
'required' => true,
'type' => 'integer',
],
],
],
'responses' => [
200 => [
'schema' => [
'properties' => [
'RequestId' => [
'description' => '',
'example' => '2d9ced66-38ef-4923-baf6-391dd3a7e656',
'type' => 'string',
],
'ErrMsg' => [
'description' => '',
'example' => 'test',
'type' => 'string',
],
'ErrCode' => [
'description' => '',
'example' => '0',
'type' => 'string',
],
'Success' => [
'description' => '',
'example' => 'true',
'type' => 'boolean',
],
'Data' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'NodeInsInfo' => [
'description' => '',
'type' => 'array',
'items' => [
'properties' => [
'Status' => [
'description' => '',
'example' => '6',
'format' => 'int32',
'type' => 'integer',
],
'BeginRunningTime' => [
'description' => '',
'example' => '2018-12-12 00:00:00',
'type' => 'string',
],
'FinishTime' => [
'description' => '',
'example' => '2018-12-12 00:00:00',
'type' => 'string',
],
'ParaValue' => [
'description' => '',
'example' => 'param_k1=param_v1',
'type' => 'string',
],
'CreateTime' => [
'description' => '',
'example' => '2018-12-12 00:00:00',
'type' => 'string',
],
'DagId' => [
'description' => '',
'example' => '12434232423',
'format' => 'int64',
'type' => 'integer',
],
'InstanceId' => [
'description' => '',
'example' => '12322434112',
'format' => 'int64',
'type' => 'integer',
],
'BeginWaitResTime' => [
'description' => '',
'example' => '2018-12-12 00:00:00',
'type' => 'string',
],
'DagType' => [
'description' => '',
'example' => '5',
'format' => 'int32',
'type' => 'integer',
],
'NodeName' => [
'description' => '',
'example' => 'test_node',
'type' => 'string',
],
'Bizdate' => [
'description' => '',
'example' => '2018-12-12 00:00:00',
'type' => 'string',
],
'BeginWaitTimeTime' => [
'description' => '',
'example' => '2018-12-12 00:00:00',
'type' => 'string',
],
'ModifyTime' => [
'description' => '',
'example' => '2018-12-12 00:00:00',
'type' => 'string',
],
],
'type' => 'object',
],
],
],
],
],
'type' => 'object',
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"2d9ced66-38ef-4923-baf6-391dd3a7e656\\",\\n \\"ErrMsg\\": \\"test\\",\\n \\"ErrCode\\": \\"0\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"NodeInsInfo\\": [\\n {\\n \\"Status\\": 6,\\n \\"BeginRunningTime\\": \\"2018-12-12 00:00:00\\",\\n \\"FinishTime\\": \\"2018-12-12 00:00:00\\",\\n \\"ParaValue\\": \\"param_k1=param_v1\\",\\n \\"CreateTime\\": \\"2018-12-12 00:00:00\\",\\n \\"DagId\\": 12434232423,\\n \\"InstanceId\\": 12322434112,\\n \\"BeginWaitResTime\\": \\"2018-12-12 00:00:00\\",\\n \\"DagType\\": 5,\\n \\"NodeName\\": \\"test_node\\",\\n \\"Bizdate\\": \\"2018-12-12 00:00:00\\",\\n \\"BeginWaitTimeTime\\": \\"2018-12-12 00:00:00\\",\\n \\"ModifyTime\\": \\"2018-12-12 00:00:00\\"\\n }\\n ]\\n }\\n}","errorExample":" {}"},{"type":"xml","example":"\\r\\n \\r\\n\\t\\t1564019679966\\r\\n\\t\\t1564019679966\\r\\n\\t\\t1564019679506\\r\\n\\t\\t1559318400000\\r\\n\\t\\t1564019679464\\r\\n\\t\\t332455685\\r\\n\\t\\t5\\r\\n\\t\\t1564019679966\\r\\n\\t\\t2427622331\\r\\n\\t\\t1564019679966\\r\\n\\t\\tvi\\r\\n\\t\\t6\\r\\n\\t\\r\\n\\t0\\r\\n\\t\\r\\n\\tE1729535-8C06-43F6-B1EA-6236F60A68E9\\r\\n\\ttrue\\r\\n","errorExample":""}]',
'extraInfo' => ' ',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'title' => 'SearchManualDagNodeInstance',
],
'DescribeEmrHiveTable' => [
'methods' => [
'post',
'get',
],
'schemes' => [
'http',
'https',
],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
],
'parameters' => [
[
'name' => 'ClusterId',
'in' => 'query',
'schema' => [
'description' => '',
'docRequired' => true,
'example' => 'C-D033DD5FB82436A6',
'required' => true,
'type' => 'string',
],
],
[
'name' => 'DatabaseName',
'in' => 'query',
'schema' => [
'description' => '',
'docRequired' => true,
'example' => 'default',
'required' => true,
'type' => 'string',
],
],
[
'name' => 'TableName',
'in' => 'query',
'schema' => [
'description' => '',
'example' => 'pt_table_090901_emr',
'required' => false,
'type' => 'string',
],
],
],
'responses' => [
200 => [
'schema' => [
'properties' => [
'ErrorMessage' => [
'description' => '',
'example' => 'test',
'type' => 'string',
],
'RequestId' => [
'description' => '',
'example' => 'E6F0DBDD-5AD8-4870-A6A0',
'type' => 'string',
],
'ErrorCode' => [
'description' => '',
'example' => '0',
'type' => 'string',
],
'Data' => [
'description' => '',
'properties' => [
'TableParameters' => [
'description' => '',
'example' => '{\\"transient_lastDdlTime\\":\\"1568031823\\",\\"bucketing_version\\":\\"2\\",\\"comment\\":\\"RANDOM GENERATED TEST DATA BY FUNCTION OF RANDOM_TEST_DATA\\"}',
'type' => 'string',
],
'Owner' => [
'description' => '',
'example' => 'root',
'type' => 'string',
],
'TableName' => [
'description' => '',
'example' => 'pt_table_090901_emr',
'type' => 'string',
],
'TableDesc' => [
'description' => '',
'example' => 'RANDOM GENERATED TEST DATA BY FUNCTION OF RANDOM_TEST_DATA',
'type' => 'string',
],
'IsCompressed' => [
'description' => '',
'example' => 'false',
'type' => 'boolean',
],
'GmtModified' => [
'description' => '',
'example' => '2019-09-09 20:41:28',
'type' => 'string',
],
'SerializationLib' => [
'description' => '',
'example' => 'org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe',
'type' => 'string',
],
'OwnerId' => [
'description' => '',
'example' => '1861276710322536',
'type' => 'string',
],
'TableSize' => [
'description' => '',
'example' => '552',
'format' => 'int64',
'type' => 'integer',
],
'LastAccessTime' => [
'description' => '',
'example' => '1970-01-01 08:00:00',
'type' => 'string',
],
'TableComment' => [
'description' => '',
'example' => 'RANDOM GENERATED TEST DATA BY FUNCTION OF RANDOM_TEST_DATA',
'type' => 'string',
],
'LastModifyTime' => [
'description' => '',
'example' => '2019-09-09 20:23:47',
'type' => 'string',
],
'DatabaseName' => [
'description' => '',
'example' => 'default',
'type' => 'string',
],
'IsTemporary' => [
'description' => '',
'example' => 'false',
'type' => 'boolean',
],
'GmtCreate' => [
'description' => '',
'example' => '2019-09-09 20:41:28',
'type' => 'string',
],
'OutputFormat' => [
'description' => '',
'example' => 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat',
'type' => 'string',
],
'TableType' => [
'description' => '',
'example' => 'MANAGED_TABLE',
'type' => 'string',
],
'OwnerType' => [
'description' => '',
'example' => 'USER',
'type' => 'string',
],
'PartitionKeys' => [
'description' => '',
'example' => 'DS,HR,REGION',
'type' => 'string',
],
'ClusterBizId' => [
'description' => '',
'example' => 'C-D033DD5FB82436A6',
'type' => 'string',
],
'Location' => [
'description' => '',
'example' => 'hdfs://emr-header-1.cluster-136574:9000/user/hive/warehouse/pt_table_090901_emr',
'type' => 'string',
],
'ClusterBizName' => [
'description' => '',
'example' => '',
'type' => 'string',
],
'InputFormat' => [
'description' => '',
'example' => 'org.apache.hadoop.mapred.TextInputFormat',
'type' => 'string',
],
'Columns' => [
'description' => '',
'items' => [
'properties' => [
'ColumnName' => [
'description' => '',
'example' => 'double',
'type' => 'string',
],
'ColumnComment' => [
'description' => '',
'example' => 'BALANCE FIELD',
'type' => 'string',
],
'Comment' => [
'description' => '',
'example' => 'BALANCE FIELD',
'type' => 'string',
],
'ColumnType' => [
'description' => '',
'example' => 'double',
'type' => 'string',
],
'GmtCreate' => [
'description' => '',
'example' => '2019-09-09 20:23:47',
'type' => 'string',
],
'GmtModified' => [
'description' => '',
'example' => '2019-09-09 20:23:47',
'type' => 'string',
],
'ColumnPosition' => [
'description' => '',
'example' => '1',
'format' => 'int32',
'type' => 'integer',
],
],
'type' => 'object',
],
'type' => 'array',
],
],
'type' => 'object',
],
],
'type' => 'object',
],
],
],
'errorCodes' => [],
'responseDemo' => '[{"type":"json","example":"{\\n \\"ErrorMessage\\": \\"test\\",\\n \\"RequestId\\": \\"E6F0DBDD-5AD8-4870-A6A0\\",\\n \\"ErrorCode\\": \\"0\\",\\n \\"Data\\": {\\n \\"TableParameters\\": \\"{\\\\\\\\\\\\\\"transient_lastDdlTime\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"1568031823\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"bucketing_version\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"2\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"comment\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"RANDOM GENERATED TEST DATA BY FUNCTION OF RANDOM_TEST_DATA\\\\\\\\\\\\\\"}\\",\\n \\"Owner\\": \\"root\\",\\n \\"TableName\\": \\"pt_table_090901_emr\\",\\n \\"TableDesc\\": \\"RANDOM GENERATED TEST DATA BY FUNCTION OF RANDOM_TEST_DATA\\",\\n \\"IsCompressed\\": false,\\n \\"GmtModified\\": \\"2019-09-09 20:41:28\\",\\n \\"SerializationLib\\": \\"org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe\\",\\n \\"OwnerId\\": \\"1861276710322536\\",\\n \\"TableSize\\": 552,\\n \\"LastAccessTime\\": \\"1970-01-01 08:00:00\\",\\n \\"TableComment\\": \\"RANDOM GENERATED TEST DATA BY FUNCTION OF RANDOM_TEST_DATA\\",\\n \\"LastModifyTime\\": \\"2019-09-09 20:23:47\\",\\n \\"DatabaseName\\": \\"default\\",\\n \\"IsTemporary\\": false,\\n \\"GmtCreate\\": \\"2019-09-09 20:41:28\\",\\n \\"OutputFormat\\": \\"org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat\\",\\n \\"TableType\\": \\"MANAGED_TABLE\\",\\n \\"OwnerType\\": \\"USER\\",\\n \\"PartitionKeys\\": \\"DS,HR,REGION\\",\\n \\"ClusterBizId\\": \\"C-D033DD5FB82436A6\\",\\n \\"Location\\": \\"hdfs://emr-header-1.cluster-136574:9000/user/hive/warehouse/pt_table_090901_emr\\",\\n \\"ClusterBizName\\": \\"EHMC测试\\",\\n \\"InputFormat\\": \\"org.apache.hadoop.mapred.TextInputFormat\\",\\n \\"Columns\\": [\\n {\\n \\"ColumnName\\": \\"double\\",\\n \\"ColumnComment\\": \\"BALANCE FIELD\\",\\n \\"Comment\\": \\"BALANCE FIELD\\",\\n \\"ColumnType\\": \\"double\\",\\n \\"GmtCreate\\": \\"2019-09-09 20:23:47\\",\\n \\"GmtModified\\": \\"2019-09-09 20:23:47\\",\\n \\"ColumnPosition\\": 1\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"0\\nsuccess\\n6212847D-86BE-4E5D-A147-FF5****\\n\\n C-D033DD5FB8****\\n pt_table_090901_emr\\n MANAGED_TABLE\\n 552\\n root\\n \\n false\\n org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe\\n org.apache.hadoop.mapred.TextInputFormat\\n org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat\\n hdfs://emr-header-1.cluster-136574:9000/user/hive/warehouse/pt_table_090901_emr\\n 1970-01-01 08:00:00\\n 2019-09-09 20:23:47\\n 2019-09-09 20:23:47\\n RANDOM GENERATED TEST DATA BY FUNCTION OF RANDOM_TEST_DATA\\n {\\"transient_lastDdlTime\\":\\"1568031823\\",\\"bucketing_version\\":\\"2\\",\\"comment\\":\\"RANDOM GENERATED TEST DATA BY FUNCTION OF RANDOM_TEST_DATA\\"}\\n DS,HR,REGION\\n false\\n EHMC测试****\\n default\\n 1861276****\\n RANDOM GENERATED TEST DATA BY FUNCTION OF RANDOM_TEST_DATA\\n 2019-09-09 20:23:47\\n \\n 4\\n gender\\n boolean\\n GENDER FIELD\\n 2019-09-09 20:23:47\\n 2019-09-09 20:23:47\\n GENDER FIELD\\n \\n \\n 3\\n balance\\n double\\n BALANCE FIELD\\n 2019-09-09 20:23:47\\n 2019-09-09 20:23:47\\n BALANCE FIELD\\n \\n \\n 2\\n age\\n bigint\\n AGE FIELD\\n 2019-09-09 20:23:47\\n 2019-09-09 20:23:47\\n AGE FIELD\\n \\n \\n 2\\n REGION\\n string\\n PARTITIONED BY REGION\\n 2019-09-09 20:23:47\\n 2019-09-09 20:23:47\\n PARTITIONED BY REGION\\n \\n \\n 1\\n tag\\n string\\n TAG FIELD\\n 2019-09-09 20:23:47\\n 2019-09-09 20:23:47\\n TAG FIELD\\n \\n \\n 1\\n HR\\n string\\n PARTITIONED BY SINGLE DAY HOUR\\n 2019-09-09 20:23:47\\n 2019-09-09 20:23:47\\n PARTITIONED BY SINGLE DAY HOUR\\n \\n \\n 0\\n name\\n string\\n NAME FIELD\\n 2019-09-09 20:23:47\\n 2019-09-09 20:23:47\\n NAME FIELD\\n \\n \\n 0\\n DS\\n string\\n PARTITIONED BY SINGLE DAY\\n 2019-09-09 20:23:47\\n 2019-09-09 20:23:47\\n PARTITIONED BY SINGLE DAY\\n \\n \\n 5\\n birthday\\n string\\n BIRTHDAY FIELD\\n 2019-09-09 20:23:47\\n 2019-09-09 20:23:47\\n BIRTHDAY FIELD\\n \\n","errorExample":""}]',
'extraInfo' => ' ',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'title' => 'DescribeEmrHiveTable',
],
'ListEmrHiveAuditLogs' => [
'methods' => [
'post',
'get',
],
'schemes' => [
'http',
'https',
],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
],
'parameters' => [
[
'name' => 'ClusterId',
'in' => 'query',
'schema' => [
'description' => '',
'docRequired' => true,
'example' => 'C-D033DD5FB82436A6',
'required' => true,
'type' => 'string',
],
],
[
'name' => 'DatabaseName',
'in' => 'query',
'schema' => [
'description' => '',
'docRequired' => true,
'example' => 'default',
'required' => true,
'type' => 'string',
],
],
[
'name' => 'PageNumber',
'in' => 'query',
'schema' => [
'description' => '',
'docRequired' => true,
'example' => '2',
'format' => 'int32',
'minimum' => '1',
'required' => true,
'type' => 'integer',
],
],
[
'name' => 'PageSize',
'in' => 'query',
'schema' => [
'description' => '',
'docRequired' => true,
'example' => '2',
'format' => 'int32',
'maximum' => '100',
'minimum' => '1',
'required' => true,
'type' => 'integer',
],
],
[
'name' => 'TableName',
'in' => 'query',
'schema' => [
'description' => '',
'docRequired' => true,
'example' => 'test_table',
'required' => true,
'type' => 'string',
],
],
[
'name' => 'StartTime',
'in' => 'query',
'schema' => [
'description' => '',
'example' => '1586509407',
'format' => 'int32',
'required' => false,
'type' => 'integer',
],
],
[
'name' => 'EndTime',
'in' => 'query',
'schema' => [
'description' => '',
'example' => '1586509710',
'format' => 'int32',
'required' => false,
'type' => 'integer',
],
],
],
'responses' => [
200 => [
'schema' => [
'properties' => [
'ErrorMessage' => [
'description' => '',
'example' => 'success',
'type' => 'string',
],
'RequestId' => [
'description' => '',
'example' => '58D5334A-B013-430E',
'type' => 'string',
],
'ErrorCode' => [
'description' => '',
'example' => '0',
'type' => 'string',
],
'Data' => [
'description' => '',
'properties' => [
'PageNumber' => [
'description' => '',
'example' => '2',
'format' => 'int32',
'type' => 'integer',
],
'PageSize' => [
'description' => '',
'example' => '2',
'format' => 'int32',
'type' => 'integer',
],
'TotalCount' => [
'description' => '',
'example' => '5',
'format' => 'int32',
'type' => 'integer',
],
'PagedData' => [
'description' => '',
'items' => [
'properties' => [
'Operation' => [
'description' => '',
'example' => 'CREATE_TABLE',
'type' => 'string',
],
'User' => [
'description' => '',
'example' => 'root',
'type' => 'string',
],
'EventTime' => [
'description' => '',
'example' => '1564019679506',
'format' => 'int64',
'type' => 'integer',
],
'Table' => [
'description' => '',
'example' => 'test_table',
'type' => 'string',
],
'Database' => [
'description' => '',
'example' => 'default',
'type' => 'string',
],
'Groups' => [
'items' => [
'description' => '',
'example' => 'root',
'type' => 'string',
],
'type' => 'array',
],
],
'type' => 'object',
],
'type' => 'array',
],
],
'type' => 'object',
],
],
'type' => 'object',
],
],
],
'errorCodes' => [],
'responseDemo' => '[{"type":"json","example":"{\\n \\"ErrorMessage\\": \\"success\\",\\n \\"RequestId\\": \\"58D5334A-B013-430E\\",\\n \\"ErrorCode\\": \\"0\\",\\n \\"Data\\": {\\n \\"PageNumber\\": 2,\\n \\"PageSize\\": 2,\\n \\"TotalCount\\": 5,\\n \\"PagedData\\": [\\n {\\n \\"Operation\\": \\"CREATE_TABLE\\",\\n \\"User\\": \\"root\\",\\n \\"EventTime\\": 1564019679506,\\n \\"Table\\": \\"test_table\\",\\n \\"Database\\": \\"default\\",\\n \\"Groups\\": [\\n \\"root\\"\\n ]\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"0\\nsuccess\\nE6F0DBDD-5AD8-4870-A6A0-B8FD5B****\\n\\n 2\\n 2\\n 5\\n \\n wj_db_01\\n root\\n CREATE_TABLE\\n \\n root\\n \\n","errorExample":""}]',
'extraInfo' => ' ',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'title' => 'ListEmrHiveAuditLogs',
],
'ListEmrHiveDatabases' => [
'methods' => [
'post',
'get',
],
'schemes' => [
'http',
'https',
],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
],
'parameters' => [
[
'name' => 'ClusterId',
'in' => 'query',
'schema' => [
'description' => '',
'docRequired' => true,
'example' => 'C-D033DD5FB82436A6',
'required' => true,
'type' => 'string',
],
],
],
'responses' => [
200 => [
'schema' => [
'properties' => [
'ErrorMessage' => [
'description' => '',
'example' => 'test',
'type' => 'string',
],
'RequestId' => [
'description' => '',
'example' => 'D9A61DC0-B922-421B-B706',
'type' => 'string',
],
'ErrorCode' => [
'description' => '',
'example' => '0',
'type' => 'string',
],
'Data' => [
'description' => '',
'items' => [
'properties' => [
'Type' => [
'description' => '',
'example' => 'HIVE',
'type' => 'string',
],
'Status' => [
'description' => '',
'example' => '-',
'type' => 'string',
],
'Owner' => [
'description' => '',
'example' => 'public',
'type' => 'string',
],
'Comment' => [
'description' => '',
'example' => 'Default Hive database',
'type' => 'string',
],
'GmtModified' => [
'description' => '',
'example' => '1568010630000',
'format' => 'int64',
'type' => 'integer',
],
'OwnerId' => [
'description' => '',
'example' => '18612767',
'type' => 'string',
],
'Parameters' => [
'description' => '',
'example' => '{}',
'type' => 'string',
],
'Region' => [
'description' => '',
'example' => 'cn-shanghai',
'type' => 'string',
],
'GmtCreate' => [
'description' => '',
'example' => '1568010630000',
'format' => 'int64',
'type' => 'integer',
],
'OwnerType' => [
'description' => '',
'example' => 'ROLE',
'type' => 'string',
],
'Name' => [
'description' => '',
'example' => 'default',
'type' => 'string',
],
'Location' => [
'description' => '',
'example' => 'hdfs://emr-header-1.cluster-136574:9000/user/hive/warehouse',
'type' => 'string',
],
],
'type' => 'object',
],
'type' => 'array',
],
],
'type' => 'object',
],
],
],
'errorCodes' => [],
'responseDemo' => '[{"type":"json","example":"{\\n \\"ErrorMessage\\": \\"test\\",\\n \\"RequestId\\": \\"D9A61DC0-B922-421B-B706\\",\\n \\"ErrorCode\\": \\"0\\",\\n \\"Data\\": [\\n {\\n \\"Type\\": \\"HIVE\\",\\n \\"Status\\": \\"-\\",\\n \\"Owner\\": \\"public\\",\\n \\"Comment\\": \\"Default Hive database\\",\\n \\"GmtModified\\": 1568010630000,\\n \\"OwnerId\\": \\"18612767\\",\\n \\"Parameters\\": \\"{}\\",\\n \\"Region\\": \\"cn-shanghai\\",\\n \\"GmtCreate\\": 1568010630000,\\n \\"OwnerType\\": \\"ROLE\\",\\n \\"Name\\": \\"default\\",\\n \\"Location\\": \\"hdfs://emr-header-1.cluster-136574:9000/user/hive/warehouse\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"0\\nsuccess\\nD9A61DC0-B922-421B-B706-B2****\\n\\n default\\n HIVE\\n public\\n 18612767****\\n Default Hive database\\n hdfs://emr-header-1.cluster-136574:9000/user/hive/warehouse\\n \\n {}\\n 1568010630000\\n 1568010630000\\n ROLE\\n cn-shanghai\\n\\n\\n house_db_0909\\n HIVE\\n root\\n 18612767103****\\n ?????0909\\n hdfs://emr-header-1.cluster-136574:9000/user/hive/warehouse/house_db_0909.db\\n \\n {}\\n 1568010341000\\n 1568010341000\\n USER\\n cn-shanghai\\n\\n\\n twitter_db\\n HIVE\\n admin\\n 1861276710****\\n hdfs://emr-header-1.cluster-136574:9000/user/hive/warehouse/twitter_db.db\\n \\n {}\\n 1568178228000\\n 1568178228000\\n USER\\n cn-shanghai\\n","errorExample":""}]',
'extraInfo' => ' ',
'responseParamsDescription' => ' ',
'title' => 'ListEmrHiveDatabases',
],
'ListEmrHiveTables' => [
'methods' => [
'post',
'get',
],
'schemes' => [
'http',
'https',
],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
],
'parameters' => [
[
'name' => 'ClusterId',
'in' => 'query',
'schema' => [
'description' => '',
'docRequired' => true,
'example' => 'C-D033DD5FB82436A6',
'required' => true,
'type' => 'string',
],
],
[
'name' => 'DatabaseName',
'in' => 'query',
'schema' => [
'description' => '',
'docRequired' => true,
'example' => 'default',
'required' => true,
'type' => 'string',
],
],
[
'name' => 'PageNumber',
'in' => 'query',
'schema' => [
'description' => '',
'docRequired' => true,
'example' => '2',
'format' => 'int32',
'minimum' => '1',
'required' => true,
'type' => 'integer',
],
],
[
'name' => 'PageSize',
'in' => 'query',
'schema' => [
'description' => '',
'docRequired' => true,
'example' => '2',
'format' => 'int32',
'maximum' => '100',
'minimum' => '1',
'required' => true,
'type' => 'integer',
],
],
],
'responses' => [
200 => [
'schema' => [
'properties' => [
'ErrorMessage' => [
'description' => '',
'example' => 'test',
'type' => 'string',
],
'RequestId' => [
'description' => '',
'example' => 'E6F0DBDD-5AD8-4870-A6A0',
'type' => 'string',
],
'ErrorCode' => [
'description' => '',
'example' => '0',
'type' => 'string',
],
'Data' => [
'description' => '',
'properties' => [
'PageNumber' => [
'description' => '',
'example' => '2',
'format' => 'int32',
'type' => 'integer',
],
'PageSize' => [
'description' => '',
'example' => '2',
'format' => 'int32',
'type' => 'integer',
],
'TotalCount' => [
'description' => '',
'example' => '5',
'format' => 'int32',
'type' => 'integer',
],
'PagedData' => [
'description' => '',
'items' => [
'properties' => [
'TableParameters' => [
'description' => '',
'example' => '{\\"transient_lastDdlTime\\":\\"1568031823\\",\\"bucketing_version\\":\\"2\\",\\"comment\\":\\"RANDOM GENERATED TEST DATA BY FUNCTION OF RANDOM_TEST_DATA\\"}',
'type' => 'string',
],
'Owner' => [
'description' => '',
'example' => 'root',
'type' => 'string',
],
'TableName' => [
'description' => '',
'example' => 'pt_table_090901_emr_orc',
'type' => 'string',
],
'TableDesc' => [
'description' => '',
'example' => 'RANDOM GENERATED TEST DATA BY FUNCTION OF RANDOM_TEST_DATA',
'type' => 'string',
],
'IsCompressed' => [
'description' => '',
'example' => 'false',
'type' => 'boolean',
],
'GmtModified' => [
'description' => '',
'example' => '2019-09-09 20:23:47',
'type' => 'string',
],
'SerializationLib' => [
'description' => '',
'example' => 'org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe',
'type' => 'string',
],
'OwnerId' => [
'description' => '',
'example' => '18612767103****',
'type' => 'string',
],
'LastAccessTime' => [
'description' => '',
'example' => '1970-01-01 08:00:00',
'type' => 'string',
],
'TableComment' => [
'description' => '',
'example' => 'RANDOM GENERATED TEST DATA BY FUNCTION OF RANDOM_TEST_DATA',
'type' => 'string',
],
'LastModifyTime' => [
'description' => '',
'example' => '2019-09-09 20:23:47',
'type' => 'string',
],
'DatabaseName' => [
'description' => '',
'example' => 'default',
'type' => 'string',
],
'IsTemporary' => [
'description' => '',
'example' => 'false',
'type' => 'boolean',
],
'GmtCreate' => [
'description' => '',
'example' => '2019-09-09 20:23:47',
'type' => 'string',
],
'OutputFormat' => [
'description' => '',
'example' => 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat',
'type' => 'string',
],
'TableType' => [
'description' => '',
'example' => 'MANAGED_TABLE',
'type' => 'string',
],
'OwnerType' => [
'description' => '',
'example' => 'ROLE',
'type' => 'string',
],
'PartitionKeys' => [
'description' => '',
'example' => 'DS,HR,REGION',
'type' => 'string',
],
'ClusterBizId' => [
'description' => '',
'example' => 'C-D033DD5FB82436A6',
'type' => 'string',
],
'Location' => [
'description' => '',
'example' => 'hdfs://emr-header-1.cluster-136574:9000/user/hive/warehouse/pt_table_090901_emr',
'type' => 'string',
],
'ClusterBizName' => [
'description' => '',
'example' => '',
'type' => 'string',
],
'InputFormat' => [
'description' => '',
'example' => 'org.apache.hadoop.hive.ql.io.orc.OrcInputFormat',
'type' => 'string',
],
],
'type' => 'object',
],
'type' => 'array',
],
],
'type' => 'object',
],
],
'type' => 'object',
],
],
],
'errorCodes' => [],
'responseDemo' => '[{"type":"json","example":"{\\n \\"ErrorMessage\\": \\"test\\",\\n \\"RequestId\\": \\"E6F0DBDD-5AD8-4870-A6A0\\",\\n \\"ErrorCode\\": \\"0\\",\\n \\"Data\\": {\\n \\"PageNumber\\": 2,\\n \\"PageSize\\": 2,\\n \\"TotalCount\\": 5,\\n \\"PagedData\\": [\\n {\\n \\"TableParameters\\": \\"{\\\\\\\\\\\\\\"transient_lastDdlTime\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"1568031823\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"bucketing_version\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"2\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"comment\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"RANDOM GENERATED TEST DATA BY FUNCTION OF RANDOM_TEST_DATA\\\\\\\\\\\\\\"}\\",\\n \\"Owner\\": \\"root\\",\\n \\"TableName\\": \\"pt_table_090901_emr_orc\\",\\n \\"TableDesc\\": \\"RANDOM GENERATED TEST DATA BY FUNCTION OF RANDOM_TEST_DATA\\",\\n \\"IsCompressed\\": false,\\n \\"GmtModified\\": \\"2019-09-09 20:23:47\\",\\n \\"SerializationLib\\": \\"org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe\\",\\n \\"OwnerId\\": \\"18612767103****\\",\\n \\"LastAccessTime\\": \\"1970-01-01 08:00:00\\",\\n \\"TableComment\\": \\"RANDOM GENERATED TEST DATA BY FUNCTION OF RANDOM_TEST_DATA\\",\\n \\"LastModifyTime\\": \\"2019-09-09 20:23:47\\",\\n \\"DatabaseName\\": \\"default\\",\\n \\"IsTemporary\\": false,\\n \\"GmtCreate\\": \\"2019-09-09 20:23:47\\",\\n \\"OutputFormat\\": \\"org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat\\",\\n \\"TableType\\": \\"MANAGED_TABLE\\",\\n \\"OwnerType\\": \\"ROLE\\",\\n \\"PartitionKeys\\": \\"DS,HR,REGION\\",\\n \\"ClusterBizId\\": \\"C-D033DD5FB82436A6\\",\\n \\"Location\\": \\"hdfs://emr-header-1.cluster-136574:9000/user/hive/warehouse/pt_table_090901_emr\\",\\n \\"ClusterBizName\\": \\"EHMC测试\\",\\n \\"InputFormat\\": \\"org.apache.hadoop.hive.ql.io.orc.OrcInputFormat\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"0\\nsuccess\\nE6F0DBDD-5AD8-4870-A6A0-B8FD5B****\\n\\n 2\\n 2\\n 5\\n \\n C-D033DD5FB****\\n pt_table_090901_emr_orc\\n MANAGED_TABLE\\n root\\n \\n false\\n org.apache.hadoop.hive.ql.io.orc.OrcSerde\\n org.apache.hadoop.hive.ql.io.orc.OrcInputFormat\\n org.apache.hadoop.hive.ql.io.orc.OrcOutputFormat\\n hdfs://emr-header-1.cluster-136574:9000/user/hive/warehouse/pt_table_090901_emr_orc\\n 1970-01-01 08:00:00\\n 2019-09-09 20:41:28\\n 2019-09-09 20:41:28\\n RANDOM GENERATED TEST DATA BY FUNCTION OF RANDOM_TEST_DATA\\n {\\"orc.compress\\":\\"ZLIB\\",\\"transient_lastDdlTime\\":\\"1568032884\\",\\"bucketing_version\\":\\"2\\",\\"comment\\":\\"RANDOM GENERATED TEST DATA BY FUNCTION OF RANDOM_TEST_DATA\\"}\\n DS,HR,REGION\\n false\\n EHMC测试****\\n default\\n 18612767****\\n 2019-09-09 20:41:28\\n RANDOM GENERATED TEST DATA BY FUNCTION OF RANDOM_TEST_DATA\\n \\n \\n C-D033DD5FB8****\\n pt_table_090901_emr\\n MANAGED_TABLE\\n root\\n \\n false\\n org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe\\n org.apache.hadoop.mapred.TextInputFormat\\n org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat\\n hdfs://emr-header-1.cluster-136574:9000/user/hive/warehouse/pt_table_090901_emr\\n 1970-01-01 08:00:00\\n 2019-09-09 20:23:47\\n 2019-09-09 20:23:47\\n RANDOM GENERATED TEST DATA BY FUNCTION OF RANDOM_TEST_DATA\\n {\\"transient_lastDdlTime\\":\\"1568031823\\",\\"bucketing_version\\":\\"2\\",\\"comment\\":\\"RANDOM GENERATED TEST DATA BY FUNCTION OF RANDOM_TEST_DATA\\"}\\n DS,HR,REGION\\n false\\n EHMC测试****\\n default\\n 1861276710322536\\n 2019-09-09 20:23:47\\n RANDOM GENERATED TEST DATA BY FUNCTION OF RANDOM_TEST_DATA\\n \\n","errorExample":""}]',
'extraInfo' => ' ',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'title' => 'ListEmrHiveTables',
],
'ListHiveTableLineages' => [
'methods' => [
'post',
'get',
],
'schemes' => [
'http',
'https',
],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
],
'parameters' => [
[
'name' => 'ClusterId',
'in' => 'query',
'schema' => [
'description' => '',
'docRequired' => true,
'example' => 'C-D033DD5FB82436A6',
'required' => true,
'type' => 'string',
],
],
[
'name' => 'DatabaseName',
'in' => 'query',
'schema' => [
'description' => '',
'docRequired' => true,
'example' => 'default',
'required' => true,
'type' => 'string',
],
],
[
'name' => 'TableName',
'in' => 'query',
'schema' => [
'description' => '',
'docRequired' => true,
'example' => 'pt_table_090901_emr',
'required' => true,
'type' => 'string',
],
],
],
'responses' => [
200 => [
'schema' => [
'properties' => [
'ErrorMessage' => [
'description' => '',
'example' => 'test',
'type' => 'string',
],
'RequestId' => [
'description' => '',
'example' => '691CA452-D37A-4ED0-9441',
'type' => 'string',
],
'ErrorCode' => [
'description' => '',
'example' => '0',
'type' => 'string',
],
'Data' => [
'description' => '',
'properties' => [
'UpstreamNumber' => [
'description' => '',
'example' => '0',
'format' => 'int32',
'type' => 'integer',
],
'DownstreamNumber' => [
'description' => '',
'example' => '3',
'format' => 'int32',
'type' => 'integer',
],
'UpstreamLineages' => [
'description' => '',
'items' => [
'properties' => [
'TableName' => [
'description' => '',
'example' => 'pt_table_090901_emr_orc',
'type' => 'string',
],
'ModifiedTime' => [
'description' => '',
'example' => '2020-01-09 18:16:37',
'type' => 'string',
],
'QueryText' => [
'description' => '',
'example' => 'create table parquet_example_0407 select id as one,name as two,salary as three from PTtable_0407_emr',
'type' => 'string',
],
'JobId' => [
'description' => '',
'example' => 'job_1234567055_0006',
'type' => 'string',
],
'CreateTime' => [
'description' => '',
'example' => '2020-01-09 18:16:15',
'type' => 'string',
],
'DatabaseName' => [
'description' => '',
'example' => 'default',
'type' => 'string',
],
'Engine' => [
'description' => '',
'example' => 'mr',
'type' => 'string',
],
'Source' => [
'description' => '',
'example' => 'HIVE',
'type' => 'string',
],
'ClusterId' => [
'description' => '',
'example' => 'C-D033DD5FB82436A6',
'type' => 'string',
],
],
'type' => 'object',
],
'type' => 'array',
],
'DownstreamLineages' => [
'description' => '',
'items' => [
'properties' => [
'TableName' => [
'description' => '',
'example' => 'pt_table_090901_emr_orc',
'type' => 'string',
],
'ModifiedTime' => [
'description' => '',
'example' => '2020-01-09 18:16:37',
'type' => 'string',
],
'QueryText' => [
'description' => '',
'example' => 'create table parquet_example_0407 select id as one,name as two,salary as three from PTtable_0407_emr',
'type' => 'string',
],
'JobId' => [
'description' => '',
'example' => 'job_1234567055_0006',
'type' => 'string',
],
'CreateTime' => [
'description' => '',
'example' => '2020-01-09 18:16:15',
'type' => 'string',
],
'DatabaseName' => [
'description' => '',
'example' => 'default',
'type' => 'string',
],
'Engine' => [
'description' => '',
'example' => 'mr',
'type' => 'string',
],
'Source' => [
'description' => '',
'example' => 'HIVE',
'type' => 'string',
],
'ClusterId' => [
'description' => '',
'example' => 'C-D033DD5FB82436A6',
'type' => 'string',
],
],
'type' => 'object',
],
'type' => 'array',
],
],
'type' => 'object',
],
],
'type' => 'object',
],
],
],
'errorCodes' => [],
'responseDemo' => '[{"type":"json","example":"{\\n \\"ErrorMessage\\": \\"test\\",\\n \\"RequestId\\": \\"691CA452-D37A-4ED0-9441\\",\\n \\"ErrorCode\\": \\"0\\",\\n \\"Data\\": {\\n \\"UpstreamNumber\\": 0,\\n \\"DownstreamNumber\\": 3,\\n \\"UpstreamLineages\\": [\\n {\\n \\"TableName\\": \\"pt_table_090901_emr_orc\\",\\n \\"ModifiedTime\\": \\"2020-01-09 18:16:37\\",\\n \\"QueryText\\": \\"create table parquet_example_0407 select id as one,name as two,salary as three from PTtable_0407_emr\\",\\n \\"JobId\\": \\"job_1234567055_0006\\",\\n \\"CreateTime\\": \\"2020-01-09 18:16:15\\",\\n \\"DatabaseName\\": \\"default\\",\\n \\"Engine\\": \\"mr\\",\\n \\"Source\\": \\"HIVE\\",\\n \\"ClusterId\\": \\"C-D033DD5FB82436A6\\"\\n }\\n ],\\n \\"DownstreamLineages\\": [\\n {\\n \\"TableName\\": \\"pt_table_090901_emr_orc\\",\\n \\"ModifiedTime\\": \\"2020-01-09 18:16:37\\",\\n \\"QueryText\\": \\"create table parquet_example_0407 select id as one,name as two,salary as three from PTtable_0407_emr\\",\\n \\"JobId\\": \\"job_1234567055_0006\\",\\n \\"CreateTime\\": \\"2020-01-09 18:16:15\\",\\n \\"DatabaseName\\": \\"default\\",\\n \\"Engine\\": \\"mr\\",\\n \\"Source\\": \\"HIVE\\",\\n \\"ClusterId\\": \\"C-D033DD5FB82436A6\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"0\\nsuccess\\n691CA452-D37A-4ED0-9441-16F57****\\n\\n 0\\n 3\\n \\n 2019-11-10 11:33:52\\n create table parquet_example_0407 select id as one,name as two,salary as three from PTtable_0407_emr\\n default\\n mr\\n job_1234567055_0006\\n 2019-11-10 11:33:52\\n C-D033DD5FB****\\n HIVE\\n pt_table_090901_emr_child\\n \\n \\n 2020-01-09 18:16:15\\n insert OVERWRITE table parquet_example_0407 select id as one,name as two,salary as three from PTtable_0407_emr\\n default\\n mr\\n job_1234567055_0006\\n 2020-01-09 18:16:15\\n C-D033DD5****\\n HIVE\\n pt_table_090901_emr_orc\\n \\n \\n 2020-01-09 18:16:37\\n create table parquet_example_0407 select id as one,name as two,salary as three from PTtable_0407_emr\\n default\\n mr\\n job_1234567055_0006\\n 2020-01-09 18:16:37\\n C-D033DD5FB8****\\n HIVE\\n pt_table_0909_emr_orc\\n \\n","errorExample":""}]',
'extraInfo' => ' ',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'title' => 'ListHiveTableLineages',
],
'ListHiveColumnLineages' => [
'methods' => [
'post',
'get',
],
'schemes' => [
'http',
'https',
],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
],
'parameters' => [
[
'name' => 'ClusterId',
'in' => 'query',
'schema' => [
'description' => '',
'docRequired' => true,
'example' => 'C-D033DD5FB82436A6',
'required' => true,
'type' => 'string',
],
],
[
'name' => 'DatabaseName',
'in' => 'query',
'schema' => [
'description' => '',
'docRequired' => true,
'example' => 'default',
'required' => true,
'type' => 'string',
],
],
[
'name' => 'TableName',
'in' => 'query',
'schema' => [
'description' => '',
'docRequired' => true,
'example' => 'test_table',
'required' => true,
'type' => 'string',
],
],
[
'name' => 'ColumnName',
'in' => 'query',
'schema' => [
'description' => '',
'docRequired' => true,
'example' => 'balance',
'required' => true,
'type' => 'string',
],
],
],
'responses' => [
200 => [
'schema' => [
'properties' => [
'ErrorMessage' => [
'description' => '',
'example' => 'success',
'type' => 'string',
],
'RequestId' => [
'description' => '',
'example' => '58D5334A-B013-430E',
'type' => 'string',
],
'ErrorCode' => [
'description' => '',
'example' => '0',
'type' => 'string',
],
'Data' => [
'description' => '',
'properties' => [
'UpstreamNumber' => [
'description' => '',
'example' => '0',
'format' => 'int32',
'type' => 'integer',
],
'DownstreamNumber' => [
'description' => '',
'example' => '3',
'format' => 'int32',
'type' => 'integer',
],
'UpstreamLineages' => [
'description' => '',
'items' => [
'properties' => [
'ColumnName' => [
'description' => '',
'example' => 'balance',
'type' => 'string',
],
'DirectUpperTableNumber' => [
'description' => '',
'example' => '1',
'format' => 'int32',
'type' => 'integer',
],
'TableName' => [
'description' => '',
'example' => 'pt_table_090901_emr_child',
'type' => 'string',
],
'ModifiedTime' => [
'description' => '',
'example' => '2019-11-10 11:33:51',
'type' => 'string',
],
'CreateTime' => [
'description' => '',
'example' => '2019-11-10 11:33:51',
'type' => 'string',
],
'DirectDownTableNumber' => [
'description' => '',
'example' => '0',
'format' => 'int32',
'type' => 'integer',
],
'DatabaseName' => [
'description' => '',
'example' => 'default',
'type' => 'string',
],
'DirectDownColumnNumber' => [
'description' => '',
'example' => '1',
'format' => 'int32',
'type' => 'integer',
],
'DirectUpperColumnNumber' => [
'description' => '',
'example' => '2',
'format' => 'int32',
'type' => 'integer',
],
'Source' => [
'description' => '',
'example' => 'HIVE',
'type' => 'string',
],
'ClusterId' => [
'description' => '',
'example' => 'C-D033DD5FB82436A6',
'type' => 'string',
],
],
'type' => 'object',
],
'type' => 'array',
],
'DownstreamLineages' => [
'description' => '',
'items' => [
'properties' => [
'ColumnName' => [
'description' => '',
'example' => 'balance',
'type' => 'string',
],
'DirectUpperTableNumber' => [
'description' => '',
'example' => '1',
'format' => 'int32',
'type' => 'integer',
],
'TableName' => [
'description' => '',
'example' => 'pt_table_090901_emr_child',
'type' => 'string',
],
'ModifiedTime' => [
'description' => '',
'example' => '2019-11-10 11:33:52',
'type' => 'string',
],
'CreateTime' => [
'description' => '',
'example' => '2019-11-10 11:33:52',
'type' => 'string',
],
'DirectDownTableNumber' => [
'description' => '',
'example' => '0',
'format' => 'int32',
'type' => 'integer',
],
'DatabaseName' => [
'description' => '',
'example' => 'default',
'type' => 'string',
],
'DirectDownColumnNumber' => [
'description' => '',
'example' => '0',
'format' => 'int32',
'type' => 'integer',
],
'DirectUpperColumnNumber' => [
'description' => '',
'example' => '1',
'format' => 'int32',
'type' => 'integer',
],
'Source' => [
'description' => '',
'example' => 'HIVE',
'type' => 'string',
],
'ClusterId' => [
'description' => '',
'example' => 'C-D033DD5FB82436A6',
'type' => 'string',
],
],
'type' => 'object',
],
'type' => 'array',
],
],
'type' => 'object',
],
],
'type' => 'object',
],
],
],
'errorCodes' => [],
'responseDemo' => '[{"type":"json","example":"{\\n \\"ErrorMessage\\": \\"success\\",\\n \\"RequestId\\": \\"58D5334A-B013-430E\\",\\n \\"ErrorCode\\": \\"0\\",\\n \\"Data\\": {\\n \\"UpstreamNumber\\": 0,\\n \\"DownstreamNumber\\": 3,\\n \\"UpstreamLineages\\": [\\n {\\n \\"ColumnName\\": \\"balance\\",\\n \\"DirectUpperTableNumber\\": 1,\\n \\"TableName\\": \\"pt_table_090901_emr_child\\",\\n \\"ModifiedTime\\": \\"2019-11-10 11:33:51\\",\\n \\"CreateTime\\": \\"2019-11-10 11:33:51\\",\\n \\"DirectDownTableNumber\\": 0,\\n \\"DatabaseName\\": \\"default\\",\\n \\"DirectDownColumnNumber\\": 1,\\n \\"DirectUpperColumnNumber\\": 2,\\n \\"Source\\": \\"HIVE\\",\\n \\"ClusterId\\": \\"C-D033DD5FB82436A6\\"\\n }\\n ],\\n \\"DownstreamLineages\\": [\\n {\\n \\"ColumnName\\": \\"balance\\",\\n \\"DirectUpperTableNumber\\": 1,\\n \\"TableName\\": \\"pt_table_090901_emr_child\\",\\n \\"ModifiedTime\\": \\"2019-11-10 11:33:52\\",\\n \\"CreateTime\\": \\"2019-11-10 11:33:52\\",\\n \\"DirectDownTableNumber\\": 0,\\n \\"DatabaseName\\": \\"default\\",\\n \\"DirectDownColumnNumber\\": 0,\\n \\"DirectUpperColumnNumber\\": 1,\\n \\"Source\\": \\"HIVE\\",\\n \\"ClusterId\\": \\"C-D033DD5FB82436A6\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"0\\nsuccess\\n58D5334A-B013-430E-AF34-CD21****\\n\\n 0\\n 3\\n \\n 2019-11-10 11:33:51\\n 1\\n C-D033DD5F****\\n HIVE\\n pt_table_090901_emr_child\\n 1\\n 2\\n 2019-11-10 11:33:51\\n 2\\n balance\\n \\n \\n 2019-11-10 11:33:52\\n 0\\n C-D033DD5F****\\n HIVE\\n pt_table_090901_emr_orc\\n 0\\n 1\\n 2019-11-10 11:33:52\\n 1\\n balance\\n \\n \\n 2019-11-10 11:33:52\\n 0\\n C-D033DD5F****\\n HIVE\\n pt_table_0909_emr_orc\\n 0\\n 1\\n 2019-11-10 11:33:52\\n 1\\n balance\\n \\n","errorExample":""}]',
'extraInfo' => ' ',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'title' => 'ListHiveColumnLineages',
],
'ListTablePartitions' => [
'summary' => '查询表分区',
'methods' => [
'post',
'get',
],
'schemes' => [
'http',
'https',
],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => [
'FEATUREdideE9OA4H',
],
],
'parameters' => [
[
'name' => 'ClusterId',
'in' => 'query',
'schema' => [
'description' => '',
'docRequired' => true,
'example' => 'C-2A51D3826C701234',
'required' => true,
'type' => 'string',
],
],
[
'name' => 'DatabaseName',
'in' => 'query',
'schema' => [
'description' => '',
'docRequired' => true,
'example' => 'default',
'required' => true,
'type' => 'string',
],
],
[
'name' => 'PageNumber',
'in' => 'query',
'schema' => [
'description' => '',
'docRequired' => true,
'example' => '1',
'format' => 'int32',
'minimum' => '1',
'required' => true,
'type' => 'integer',
],
],
[
'name' => 'PageSize',
'in' => 'query',
'schema' => [
'description' => '',
'docRequired' => true,
'example' => '10',
'format' => 'int32',
'maximum' => '100',
'minimum' => '1',
'required' => true,
'type' => 'integer',
],
],
[
'name' => 'TableName',
'in' => 'query',
'schema' => [
'description' => '',
'docRequired' => true,
'example' => 'test_table',
'required' => true,
'type' => 'string',
],
],
[
'name' => 'Order',
'in' => 'query',
'schema' => [
'description' => '',
'example' => 'ASC/DESC',
'required' => false,
'type' => 'string',
],
],
],
'responses' => [
200 => [
'schema' => [
'properties' => [
'ErrorMessage' => [
'description' => '',
'example' => 'success',
'type' => 'string',
],
'RequestId' => [
'description' => '',
'example' => 'UUID',
'type' => 'string',
],
'ErrorCode' => [
'description' => '',
'example' => '0',
'type' => 'string',
],
'Data' => [
'description' => '',
'properties' => [
'TotalCount' => [
'description' => '',
'example' => '3',
'format' => 'int32',
'type' => 'integer',
],
'PageSize' => [
'description' => '',
'example' => '10',
'format' => 'int32',
'type' => 'integer',
],
'PagedData' => [
'description' => '',
'items' => [
'properties' => [
'PartitionPath' => [
'description' => '',
'example' => 'hdfs://emr-header-1.cluster-136574:9000/user/hive/warehouse/pt_table_090901_emr_child/ds=20190909/hr=20/region=shanghai',
'type' => 'string',
],
'PartitionComment' => [
'description' => '',
'example' => 'test',
'type' => 'string',
],
'PartitionName' => [
'description' => '',
'example' => 'ds=20190909/hr=20/region=shanghai',
'type' => 'string',
],
'GmtCreate' => [
'description' => '',
'example' => '1568032253000',
'format' => 'int64',
'type' => 'integer',
],
'PartitionType' => [
'description' => '',
'example' => 'HIVE',
'type' => 'string',
],
'GmtModified' => [
'description' => '',
'example' => '1568032253000',
'format' => 'int64',
'type' => 'integer',
],
'Location' => [
'description' => '',
'example' => 'hdfs://emr-header-1.cluster-136574:9000/user/hive/warehouse/pt_table_090901_emr_child/ds=20190909/hr=20/region=shanghai',
'type' => 'string',
],
],
'type' => 'object',
],
'type' => 'array',
],
],
'type' => 'object',
],
],
'type' => 'object',
],
],
],
'errorCodes' => [],
'responseDemo' => '[{"type":"json","example":"{\\n \\"ErrorMessage\\": \\"success\\",\\n \\"RequestId\\": \\"UUID\\",\\n \\"ErrorCode\\": \\"0\\",\\n \\"Data\\": {\\n \\"TotalCount\\": 3,\\n \\"PageSize\\": 10,\\n \\"PagedData\\": [\\n {\\n \\"PartitionPath\\": \\"hdfs://emr-header-1.cluster-136574:9000/user/hive/warehouse/pt_table_090901_emr_child/ds=20190909/hr=20/region=shanghai\\",\\n \\"PartitionComment\\": \\"test\\",\\n \\"PartitionName\\": \\"ds=20190909/hr=20/region=shanghai\\",\\n \\"GmtCreate\\": 1568032253000,\\n \\"PartitionType\\": \\"HIVE\\",\\n \\"GmtModified\\": 1568032253000,\\n \\"Location\\": \\"hdfs://emr-header-1.cluster-136574:9000/user/hive/warehouse/pt_table_090901_emr_child/ds=20190909/hr=20/region=shanghai\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"0\\nsuccess\\n2B31A7F4-68C8-499C-AF2B-3C906B56809F\\n\\n 2\\n 4\\n \\n 1574304364000\\n 1574304364000\\n hdfs://emr-header-1.cluster-46836:9000/user/hive/warehouse/pt_table_112001_emr/ds=20190724/hr=02/region=test-2\\n ds=20190724/hr=02/region=test-2\\n hdfs://emr-header-1.cluster-46836:9000/user/hive/warehouse/pt_table_112001_emr/ds=20190724/hr=02/region=test-2\\n HIVE\\n \\n \\n \\n 1574304355000\\n 1574304355000\\n hdfs://emr-header-1.cluster-46836:9000/user/hive/warehouse/pt_table_112001_emr/ds=20190721/hr=05/region=test-5\\n ds=20190721/hr=05/region=test-5\\n hdfs://emr-header-1.cluster-46836:9000/user/hive/warehouse/pt_table_112001_emr/ds=20190721/hr=05/region=test-5\\n HIVE\\n \\n \\n","errorExample":""}]',
'extraInfo' => ' ',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'title' => 'ListTablePartitions',
],
'OpenDataWorksStandardService' => [
'methods' => [
'post',
'get',
],
'schemes' => [
'http',
'https',
],
'security' => [
[
'AK' => [],
],
[
'APP' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
],
'parameters' => [
[
'name' => 'Region',
'in' => 'query',
'schema' => [
'type' => 'string',
'required' => true,
'docRequired' => true,
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'OrderId' => [
'type' => 'string',
],
'RequestId' => [
'type' => 'string',
],
],
],
],
],
'errorCodes' => [],
],
'SendTaskMetaCallback' => [
'methods' => [
'post',
],
'schemes' => [
'http',
'https',
],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'abilityTreeCode' => '78150',
'abilityTreeNodes' => [
'FEATUREdideSYOMAV',
],
],
'parameters' => [
[
'name' => 'TenantId',
'in' => 'formData',
'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,
],
],
[
'name' => 'StartTime',
'in' => 'formData',
'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,
],
],
[
'name' => 'User',
'in' => 'formData',
'schema' => [
'type' => 'string',
'required' => false,
'docRequired' => true,
],
],
[
'name' => 'Code',
'in' => 'formData',
'schema' => [
'type' => 'string',
'required' => true,
'docRequired' => true,
],
],
[
'name' => 'ConnectionInfo',
'in' => 'formData',
'schema' => [
'type' => 'string',
'required' => true,
'docRequired' => true,
],
],
[
'name' => 'TaskEnvParam',
'in' => 'formData',
'schema' => [
'type' => 'string',
'required' => true,
'docRequired' => true,
],
],
[
'name' => 'SubType',
'in' => 'formData',
'schema' => [
'type' => 'string',
'required' => true,
'docRequired' => true,
],
],
[
'name' => 'Resources',
'in' => 'formData',
'style' => 'repeatList',
'schema' => [
'type' => 'array',
'items' => [
'type' => 'string',
],
'required' => false,
'maxItems' => 10,
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'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.',
],
],
],
],
'SetSwitchValue' => [
'summary' => '设置Switch的值',
'methods' => [
'post',
],
'schemes' => [
'http',
'https',
],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'SwitchName',
'in' => 'query',
'schema' => [
'type' => 'string',
],
],
[
'name' => 'SwitchValue',
'in' => 'query',
'schema' => [
'type' => 'string',
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'type' => 'object',
'properties' => [
'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.',
],
],
],
],
'GetDataServiceApiContext' => [
'summary' => '查询apiContext接口',
'methods' => [
'get',
],
'schemes' => [
'http',
'https',
],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '180496',
'abilityTreeNodes' => [
'FEATUREdideWDSR97',
],
],
'parameters' => [
[
'name' => 'ApiId',
'in' => 'query',
'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',
],
],
[
'name' => 'CacheKey',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => false,
'example' => 'abc-124',
],
],
[
'name' => 'ForPrivateResGroup',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'boolean',
'required' => false,
'example' => 'true',
],
],
[
'name' => 'ApiStatus',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'integer',
'format' => 'int32',
'required' => false,
'example' => '1',
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'ApiContext',
'description' => 'ApiContext',
'type' => 'object',
'properties' => [
'Data' => [
'description' => '',
'type' => 'string',
'example' => '{"apiId":123}',
],
'ErrMsg' => [
'description' => '',
'type' => 'string',
'example' => 'success',
],
'ErrCode' => [
'description' => '',
'type' => 'string',
'example' => '0',
],
'RequestId' => [
'description' => '',
'type' => 'string',
'example' => '1AFAE64E-D1BE-432B-A9****',
],
],
],
],
],
'errorCodes' => [
500 => [
[
'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"}]',
],
'GetDataServiceContextUpdateEvent' => [
'summary' => '查询apiContext更新事件接口',
'methods' => [
'get',
],
'schemes' => [
'https',
],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '191385',
'abilityTreeNodes' => [
'FEATUREdideZZ63WZ',
],
],
'parameters' => [],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'RequestId' => [
'title' => 'Id of the request',
'description' => '',
'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.',
],
],
],
'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"}]',
],
'GetDataServiceConnection' => [
'summary' => '新server独享资源组获取数据源信息',
'methods' => [
'get',
],
'schemes' => [
'https',
],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '259634',
'abilityTreeNodes' => [
'FEATUREdideWDSR97',
],
],
'parameters' => [
[
'name' => 'ConnectionId',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'integer',
'format' => 'int64',
'required' => false,
'example' => '1',
],
],
[
'name' => 'DataSourceType',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => false,
'example' => 'normal',
],
],
],
'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' => '123-abc',
],
'Data' => [
'description' => '',
'type' => 'string',
'example' => '{}',
],
'ErrMsg' => [
'description' => '',
'type' => 'string',
'example' => 'success',
],
'ErrCode' => [
'description' => '',
'type' => 'string',
'example' => '0',
],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"123-abc\\",\\n \\"Data\\": \\"{}\\",\\n \\"ErrMsg\\": \\"success\\",\\n \\"ErrCode\\": \\"0\\"\\n}","type":"json"}]',
],
'GetDataServiceApiAuthMapContext' => [
'summary' => '新server独享资源组获取api context',
'methods' => [
'get',
],
'schemes' => [
'https',
],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '259344',
'abilityTreeNodes' => [
'FEATUREdideWDSR97',
],
],
'parameters' => [
[
'name' => 'ApiId',
'in' => 'query',
'schema' => [
'description' => 'API ID',
'type' => 'integer',
'format' => 'int64',
'required' => false,
'example' => '1',
],
],
[
'name' => 'Verbose',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'boolean',
'required' => false,
'example' => 'true',
],
],
[
'name' => 'ProjectId',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'integer',
'format' => 'int64',
'required' => false,
'example' => '1',
],
],
[
'name' => 'ApiPath',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => false,
'example' => '/apiPath',
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'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',
],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": \\"{}\\",\\n \\"ErrMsg\\": \\"success\\",\\n \\"ErrCode\\": \\"0\\",\\n \\"RequestId\\": \\"123-abc\\"\\n}","type":"json"}]',
],
'GetDataServiceFunction' => [
'summary' => '查询函数信息',
'methods' => [
'get',
],
'schemes' => [
'https',
],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '260794',
'abilityTreeNodes' => [
'FEATUREdideSYX560',
],
],
'parameters' => [
[
'name' => 'FunctionId',
'in' => 'query',
'schema' => [
'type' => 'integer',
'format' => 'int64',
'required' => false,
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'Data' => [
'title' => 'Id of the request',
'description' => 'Id of the request',
'type' => 'string',
],
'ErrMsg' => [
'type' => 'string',
],
'ErrCode' => [
'type' => 'string',
],
'RequestId' => [
'type' => 'string',
],
],
],
],
],
'staticInfo' => [
'returnType' => 'synchronous',
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": \\"{}\\",\\n \\"ErrMsg\\": \\"success\\",\\n \\"ErrCode\\": \\"0\\",\\n \\"RequestId\\": \\"abc-123\\"\\n}","type":"json"}]',
],
],
'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',
],
],
];