summaryrefslogtreecommitdiff
path: root/data/dataanalysisgbi/2024-08-23/api-docs.php
diff options
context:
space:
mode:
Diffstat (limited to 'data/dataanalysisgbi/2024-08-23/api-docs.php')
-rw-r--r--data/dataanalysisgbi/2024-08-23/api-docs.php1267
1 files changed, 342 insertions, 925 deletions
diff --git a/data/dataanalysisgbi/2024-08-23/api-docs.php b/data/dataanalysisgbi/2024-08-23/api-docs.php
index 98d5b2a..d63f490 100644
--- a/data/dataanalysisgbi/2024-08-23/api-docs.php
+++ b/data/dataanalysisgbi/2024-08-23/api-docs.php
@@ -1,38 +1,27 @@
<?php return [
'version' => '1.0',
- 'info' => [
- 'style' => 'ROA',
- 'product' => 'DataAnalysisGBI',
- 'version' => '2024-08-23',
- ],
+ 'info' => ['style' => 'ROA', 'product' => 'DataAnalysisGBI', 'version' => '2024-08-23'],
'components' => [
'schemas' => [],
],
'apis' => [
- 'RunDataAnalysis' => [
- 'path' => '/{workspaceId}/gbi/runDataAnalysis',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- 'sse',
- ],
+ 'BatchDeleteSynonyms' => [
+ 'path' => '/gbi/batchDelete/synonyms',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspaceId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -42,148 +31,53 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'specificationType' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'generateSqlOnly' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- 'query' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'sessionId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'dataRole' => [
+ 'synonymIdKeys' => [
'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- 'userParams' => [
- 'type' => 'any',
- 'required' => false,
- ],
- 'agentCtrlParams' => [
- 'type' => 'any',
- 'required' => false,
+ 'required' => true,
+ 'items' => ['type' => 'string', 'required' => false],
],
],
],
],
],
],
- 'RunDataResultAnalysis' => [
- 'path' => '/gbi/runDataResultAnalysis',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- 'sse',
- ],
+ 'CancelDatasourceAuthorization' => [
+ 'path' => '/gbi/cancel/datasource',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspaceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'body',
- 'in' => 'body',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'sqlData' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'column' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- 'data' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'additionalProperties' => [
- 'type' => 'string',
- ],
- ],
- ],
- ],
- ],
- 'analysisMode' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'requestId' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'RunSqlGeneration' => [
- 'path' => '/gbi/runSqlGeneration',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- 'sse',
- ],
+ 'CreateBusinessLogic' => [
+ 'path' => '/gbi/create/logic',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspaceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -193,51 +87,30 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'specificationType' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'query' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'sessionId' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'type' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'description' => ['type' => 'string', 'required' => false],
],
],
],
],
],
- 'UpdateBusinessLogic' => [
- 'path' => '/gbi/update/logic',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'CreateDatasourceAuthorization' => [
+ 'path' => '/gbi/create/datasource',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspaceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -247,52 +120,33 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'businessLogicIdKey' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'description' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'type' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'type' => ['type' => 'integer', 'format' => 'int32', 'required' => true],
+ 'url' => ['type' => 'string', 'required' => false],
+ 'userName' => ['type' => 'string', 'required' => false],
+ 'password' => ['type' => 'string', 'required' => false],
+ 'vdbId' => ['type' => 'string', 'required' => false],
],
],
],
],
],
- 'CreateBusinessLogic' => [
- 'path' => '/gbi/create/logic',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'CreateSynonyms' => [
+ 'path' => '/gbi/create/synonyms',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspaceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -302,48 +156,39 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'type' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
+ 'word' => ['type' => 'string', 'required' => true],
+ 'wordSynonyms' => [
+ 'type' => 'array',
+ 'required' => true,
+ 'items' => ['type' => 'string', 'required' => false],
],
- 'description' => [
- 'type' => 'string',
+ 'columns' => [
+ 'type' => 'array',
'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
],
],
],
],
],
],
- 'ListBusinessLogic' => [
- 'path' => '/gbi/list/logic',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'CreateVirtualDatasourceInstance' => [
+ 'path' => '/gbi/virtualDatasource/createVirtualDatasourceInstance',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspaceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -353,15 +198,9 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'nextToken' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'maxResults' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'name' => ['type' => 'string', 'required' => false],
+ 'description' => ['type' => 'string', 'required' => false],
+ 'type' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
],
],
@@ -369,32 +208,21 @@
],
'DeleteBusinessLogic' => [
'path' => '/gbi/delete/logic',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspaceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -407,44 +235,30 @@
'businessLogicIdKeys' => [
'type' => 'array',
'required' => true,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'items' => ['type' => 'string', 'required' => false],
],
],
],
],
],
],
- 'CreateSynonyms' => [
- 'path' => '/gbi/create/synonyms',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'DeleteColumn' => [
+ 'path' => '/gbi/delete/column',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspaceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -454,59 +268,29 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'word' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'wordSynonyms' => [
- 'type' => 'array',
- 'required' => true,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- 'columns' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
+ 'columnIdKey' => ['type' => 'string', 'required' => true],
],
],
],
],
],
- 'ListSynonyms' => [
- 'path' => '/gbi/list/synonyms',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'DeleteSelectedTable' => [
+ 'path' => '/gbi/delete/table',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspaceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -516,48 +300,29 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'nextToken' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'maxResults' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'tableIdKey' => ['type' => 'string', 'required' => true],
],
],
],
],
],
- 'UpdateSynonyms' => [
- 'path' => '/gbi/update/synonyms',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'DeleteVirtualDatasourceInstance' => [
+ 'path' => '/gbi/virtualDatasource/deleteVirtualDatasourceInstance',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspaceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -567,63 +332,29 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'synonymIdKey' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'word' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'wordSynonyms' => [
- 'type' => 'array',
- 'required' => true,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- 'columns' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
+ 'vdbId' => ['type' => 'string', 'required' => true],
],
],
],
],
],
- 'BatchDeleteSynonyms' => [
- 'path' => '/gbi/batchDelete/synonyms',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListBusinessLogic' => [
+ 'path' => '/gbi/list/logic',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspaceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -633,47 +364,30 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'synonymIdKeys' => [
- 'type' => 'array',
- 'required' => true,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
+ 'nextToken' => ['type' => 'string', 'required' => false],
+ 'maxResults' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
],
],
],
],
- 'CreateDatasourceAuthorization' => [
- 'path' => '/gbi/create/datasource',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListColumn' => [
+ 'path' => '/gbi/list/column',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspaceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -683,91 +397,64 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'type' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- ],
- 'url' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'userName' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'password' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'vdbId' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'tableIdKey' => ['type' => 'string', 'required' => true],
+ 'nextToken' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'maxResults' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
],
],
],
],
- 'CancelDatasourceAuthorization' => [
- 'path' => '/gbi/cancel/datasource',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListEnumMapping' => [
+ 'path' => '/gbi/list/mapping',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspaceId',
'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
- 'required' => true,
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'tableIdKey' => ['type' => 'string', 'required' => true],
+ 'columnIdKey' => ['type' => 'string', 'required' => true],
+ ],
],
],
],
],
- 'SyncRemoteTables' => [
- 'path' => '/gbi/update/datasource/tables',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListSelectedTables' => [
+ 'path' => '/gbi/list/datasource/table',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspaceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -777,67 +464,30 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'tableNames' => [
- 'type' => 'array',
- 'required' => true,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- 'pullSamples' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- 'keepTableNames' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- 'noModifiedTableNames' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
+ 'nextToken' => ['type' => 'string', 'required' => false],
+ 'maxResults' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
],
],
],
],
- 'ListSelectedTables' => [
- 'path' => '/gbi/list/datasource/table',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListSynonyms' => [
+ 'path' => '/gbi/list/synonyms',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspaceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -847,48 +497,30 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'nextToken' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'maxResults' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'nextToken' => ['type' => 'string', 'required' => false],
+ 'maxResults' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
],
],
],
],
- 'UpdateTableInfo' => [
- 'path' => '/gbi/update/table',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListVirtualDatasourceInstance' => [
+ 'path' => '/gbi/virtualDatasource/listVirtualDatasourceInstance',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspaceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -898,59 +530,30 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'tableIdKey' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'description' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'primaryKey' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'foreignKeys' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
+ 'nextToken' => ['type' => 'string', 'required' => false],
+ 'maxResults' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
],
],
],
],
- 'DeleteSelectedTable' => [
- 'path' => '/gbi/delete/table',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'RecoverColumn' => [
+ 'path' => '/gbi/recover/column',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspaceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -960,10 +563,8 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'tableIdKey' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'columnIdKey' => ['type' => 'string', 'required' => true],
+ 'tableIdKey' => ['type' => 'string', 'required' => true],
],
],
],
@@ -971,32 +572,21 @@
],
'ResyncTable' => [
'path' => '/gbi/refresh/table',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspaceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -1006,47 +596,29 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'tableIdKey' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'keep' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'tableIdKey' => ['type' => 'string', 'required' => true],
+ 'keep' => ['type' => 'boolean', 'required' => false],
],
],
],
],
],
- 'ListColumn' => [
- 'path' => '/gbi/list/column',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'RunDataAnalysis' => [
+ 'path' => '/{workspaceId}/gbi/runDataAnalysis',
+ 'methods' => ['post'],
+ 'schemes' => ['https', 'sse'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => [],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspaceId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -1056,53 +628,39 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'tableIdKey' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'nextToken' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'maxResults' => [
- 'type' => 'integer',
- 'format' => 'int32',
+ 'specificationType' => ['type' => 'string', 'required' => false],
+ 'generateSqlOnly' => ['type' => 'boolean', 'required' => false],
+ 'query' => ['type' => 'string', 'required' => true],
+ 'sessionId' => ['type' => 'string', 'required' => false],
+ 'dataRole' => [
+ 'type' => 'array',
'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
],
+ 'userParams' => ['type' => 'any', 'required' => false],
+ 'agentCtrlParams' => ['type' => 'any', 'required' => false],
],
],
],
],
],
- 'UpdateColumn' => [
- 'path' => '/gbi/update/column',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'RunDataResultAnalysis' => [
+ 'path' => '/gbi/runDataResultAnalysis',
+ 'methods' => ['post'],
+ 'schemes' => ['https', 'sse'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspaceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -1112,86 +670,50 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'columnIdKey' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'tableIdKey' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'chineseName' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'description' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'enumType' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- ],
- 'enumValues' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- 'samples' => [
- 'type' => 'array',
+ 'sqlData' => [
+ 'type' => 'object',
'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
+ 'properties' => [
+ 'column' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
+ ],
+ 'data' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'additionalProperties' => ['type' => 'string'],
+ ],
+ ],
],
],
- 'rangeMin' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- 'rangeMax' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'analysisMode' => ['type' => 'string', 'required' => false],
+ 'requestId' => ['type' => 'string', 'required' => true],
],
],
],
],
],
- 'RecoverColumn' => [
- 'path' => '/gbi/recover/column',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'RunSqlGeneration' => [
+ 'path' => '/gbi/runSqlGeneration',
+ 'methods' => ['post'],
+ 'schemes' => ['https', 'sse'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspaceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -1201,47 +723,31 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'columnIdKey' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'tableIdKey' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'specificationType' => ['type' => 'string', 'required' => false],
+ 'query' => ['type' => 'string', 'required' => true],
+ 'sessionId' => ['type' => 'string', 'required' => false],
],
],
],
],
],
- 'DeleteColumn' => [
- 'path' => '/gbi/delete/column',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'SaveVirtualDatasourceDdl' => [
+ 'path' => '/gbi/virtualDatasource/addDdl2VirtualInstance',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspaceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -1251,43 +757,30 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'columnIdKey' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'vdbId' => ['type' => 'string', 'required' => true],
+ 'ddl' => ['type' => 'string', 'required' => true],
],
],
],
],
],
- 'ListEnumMapping' => [
- 'path' => '/gbi/list/mapping',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'SyncRemoteTables' => [
+ 'path' => '/gbi/update/datasource/tables',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspaceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -1297,47 +790,44 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'tableIdKey' => [
- 'type' => 'string',
+ 'tableNames' => [
+ 'type' => 'array',
'required' => true,
+ 'items' => ['type' => 'string', 'required' => false],
],
- 'columnIdKey' => [
- 'type' => 'string',
- 'required' => true,
+ 'pullSamples' => ['type' => 'boolean', 'required' => false],
+ 'keepTableNames' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
+ ],
+ 'noModifiedTableNames' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
],
],
],
],
],
],
- 'UpdateEnumMapping' => [
- 'path' => '/gbi/update/mapping',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'UpdateBusinessLogic' => [
+ 'path' => '/gbi/update/logic',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspaceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -1347,57 +837,31 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'tableIdKey' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'columnIdKey' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'enumMapping' => [
- 'type' => 'object',
- 'required' => false,
- 'additionalProperties' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
- ],
- ],
+ 'businessLogicIdKey' => ['type' => 'string', 'required' => true],
+ 'description' => ['type' => 'string', 'required' => true],
+ 'type' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
],
],
],
],
- 'CreateVirtualDatasourceInstance' => [
- 'path' => '/gbi/virtualDatasource/createVirtualDatasourceInstance',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'UpdateColumn' => [
+ 'path' => '/gbi/update/column',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspaceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -1407,52 +871,45 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'name' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'description' => [
- 'type' => 'string',
+ 'columnIdKey' => ['type' => 'string', 'required' => true],
+ 'tableIdKey' => ['type' => 'string', 'required' => true],
+ 'chineseName' => ['type' => 'string', 'required' => false],
+ 'description' => ['type' => 'string', 'required' => false],
+ 'enumType' => ['type' => 'integer', 'format' => 'int32', 'required' => true],
+ 'enumValues' => [
+ 'type' => 'array',
'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
],
- 'type' => [
- 'type' => 'integer',
- 'format' => 'int32',
+ 'samples' => [
+ 'type' => 'array',
'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
],
+ 'rangeMin' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ 'rangeMax' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
],
],
],
],
- 'ListVirtualDatasourceInstance' => [
- 'path' => '/gbi/virtualDatasource/listVirtualDatasourceInstance',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'UpdateEnumMapping' => [
+ 'path' => '/gbi/update/mapping',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspaceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -1462,48 +919,38 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'nextToken' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'maxResults' => [
- 'type' => 'integer',
- 'format' => 'int32',
+ 'tableIdKey' => ['type' => 'string', 'required' => true],
+ 'columnIdKey' => ['type' => 'string', 'required' => true],
+ 'enumMapping' => [
+ 'type' => 'object',
'required' => false,
+ 'additionalProperties' => [
+ 'type' => 'array',
+ 'items' => ['type' => 'string'],
+ ],
],
],
],
],
],
],
- 'UpdateVirtualDatasourceInstance' => [
- 'path' => '/gbi/virtualDatasource/updateVirtualDatasourceInstance',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'UpdateSynonyms' => [
+ 'path' => '/gbi/update/synonyms',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspaceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -1513,56 +960,40 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'name' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'description' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'vdbId' => [
- 'type' => 'string',
+ 'synonymIdKey' => ['type' => 'string', 'required' => true],
+ 'word' => ['type' => 'string', 'required' => true],
+ 'wordSynonyms' => [
+ 'type' => 'array',
'required' => true,
+ 'items' => ['type' => 'string', 'required' => false],
],
- 'type' => [
- 'type' => 'integer',
- 'format' => 'int32',
+ 'columns' => [
+ 'type' => 'array',
'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
],
],
],
],
],
],
- 'DeleteVirtualDatasourceInstance' => [
- 'path' => '/gbi/virtualDatasource/deleteVirtualDatasourceInstance',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'UpdateTableInfo' => [
+ 'path' => '/gbi/update/table',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspaceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -1572,43 +1003,36 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'vdbId' => [
- 'type' => 'string',
- 'required' => true,
+ 'tableIdKey' => ['type' => 'string', 'required' => true],
+ 'description' => ['type' => 'string', 'required' => false],
+ 'primaryKey' => ['type' => 'string', 'required' => false],
+ 'foreignKeys' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
],
],
],
],
],
],
- 'SaveVirtualDatasourceDdl' => [
- 'path' => '/gbi/virtualDatasource/addDdl2VirtualInstance',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'UpdateVirtualDatasourceInstance' => [
+ 'path' => '/gbi/virtualDatasource/updateVirtualDatasourceInstance',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspaceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'body',
@@ -1618,14 +1042,10 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'vdbId' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'ddl' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => ['type' => 'string', 'required' => false],
+ 'description' => ['type' => 'string', 'required' => false],
+ 'vdbId' => ['type' => 'string', 'required' => true],
+ 'type' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
],
],
@@ -1633,9 +1053,6 @@
],
],
'endpoints' => [
- [
- 'regionId' => 'cn-beijing',
- 'endpoint' => 'dataanalysisgbi.cn-beijing.aliyuncs.com',
- ],
+ ['regionId' => 'cn-beijing', 'regionName' => '华北2(北京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'dataanalysisgbi.cn-beijing.aliyuncs.com', 'endpoint' => 'dataanalysisgbi.cn-beijing.aliyuncs.com', 'vpc' => 'dataanalysisgbi-vpc.cn-beijing.aliyuncs.com'],
],
];