diff options
| author | Zhineng Li <[email protected]> | 2026-02-14 10:08:30 +0800 |
|---|---|---|
| committer | Zhineng Li <[email protected]> | 2026-02-14 10:08:30 +0800 |
| commit | eccd5cd5a067f5659982685afdeea209b1888efb (patch) | |
| tree | 1626c903b854317be1708ce3ccd3b4f4e6e0fc97 /data/dataanalysisgbi/2024-08-23 | |
| download | acs-metadata-1.0.0+20260212.tar.gz acs-metadata-1.0.0+20260212.zip | |
first commitHEADv1.0.0+20260212main
Diffstat (limited to 'data/dataanalysisgbi/2024-08-23')
| -rw-r--r-- | data/dataanalysisgbi/2024-08-23/api-docs.php | 1641 |
1 files changed, 1641 insertions, 0 deletions
diff --git a/data/dataanalysisgbi/2024-08-23/api-docs.php b/data/dataanalysisgbi/2024-08-23/api-docs.php new file mode 100644 index 0000000..98d5b2a --- /dev/null +++ b/data/dataanalysisgbi/2024-08-23/api-docs.php @@ -0,0 +1,1641 @@ +<?php return [ + 'version' => '1.0', + 'info' => [ + 'style' => 'ROA', + 'product' => 'DataAnalysisGBI', + 'version' => '2024-08-23', + ], + 'components' => [ + 'schemas' => [], + ], + 'apis' => [ + 'RunDataAnalysis' => [ + 'path' => '/{workspaceId}/gbi/runDataAnalysis', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + 'sse', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'workspaceId', + 'in' => 'path', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + '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' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'userParams' => [ + 'type' => 'any', + 'required' => false, + ], + 'agentCtrlParams' => [ + 'type' => 'any', + 'required' => false, + ], + ], + ], + ], + ], + ], + 'RunDataResultAnalysis' => [ + 'path' => '/gbi/runDataResultAnalysis', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + 'sse', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + '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, + ], + ], + ], + ], + ], + ], + 'RunSqlGeneration' => [ + 'path' => '/gbi/runSqlGeneration', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + 'sse', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + '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' => [ + 'specificationType' => [ + 'type' => 'string', + 'required' => false, + ], + 'query' => [ + 'type' => 'string', + 'required' => true, + ], + 'sessionId' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + ], + ], + ], + 'UpdateBusinessLogic' => [ + 'path' => '/gbi/update/logic', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + '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' => [ + 'businessLogicIdKey' => [ + 'type' => 'string', + 'required' => true, + ], + 'description' => [ + 'type' => 'string', + 'required' => true, + ], + 'type' => [ + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + ], + ], + ], + ], + ], + ], + 'CreateBusinessLogic' => [ + 'path' => '/gbi/create/logic', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + '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' => [ + 'type' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + ], + 'description' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + ], + ], + ], + 'ListBusinessLogic' => [ + 'path' => '/gbi/list/logic', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + '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' => [ + 'nextToken' => [ + 'type' => 'string', + 'required' => false, + ], + 'maxResults' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + ], + ], + ], + ], + ], + ], + 'DeleteBusinessLogic' => [ + 'path' => '/gbi/delete/logic', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + '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' => [ + 'businessLogicIdKeys' => [ + 'type' => 'array', + 'required' => true, + 'items' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + ], + ], + ], + ], + 'CreateSynonyms' => [ + 'path' => '/gbi/create/synonyms', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + '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' => [ + '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, + ], + ], + ], + ], + ], + ], + ], + 'ListSynonyms' => [ + 'path' => '/gbi/list/synonyms', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + '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' => [ + 'nextToken' => [ + 'type' => 'string', + 'required' => false, + ], + 'maxResults' => [ + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + ], + ], + ], + ], + ], + ], + 'UpdateSynonyms' => [ + 'path' => '/gbi/update/synonyms', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + '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' => [ + '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, + ], + ], + ], + ], + ], + ], + ], + 'BatchDeleteSynonyms' => [ + 'path' => '/gbi/batchDelete/synonyms', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + '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' => [ + 'synonymIdKeys' => [ + 'type' => 'array', + 'required' => true, + 'items' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + ], + ], + ], + ], + 'CreateDatasourceAuthorization' => [ + 'path' => '/gbi/create/datasource', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + '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' => [ + '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, + ], + ], + ], + ], + ], + ], + 'CancelDatasourceAuthorization' => [ + 'path' => '/gbi/cancel/datasource', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'workspaceId', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + ], + ], + 'SyncRemoteTables' => [ + 'path' => '/gbi/update/datasource/tables', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + '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' => [ + '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, + ], + ], + ], + ], + ], + ], + ], + 'ListSelectedTables' => [ + 'path' => '/gbi/list/datasource/table', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + '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' => [ + 'nextToken' => [ + 'type' => 'string', + 'required' => false, + ], + 'maxResults' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + ], + ], + ], + ], + ], + ], + 'UpdateTableInfo' => [ + 'path' => '/gbi/update/table', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + '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' => [ + '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, + ], + ], + ], + ], + ], + ], + ], + 'DeleteSelectedTable' => [ + 'path' => '/gbi/delete/table', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + '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' => [ + 'tableIdKey' => [ + 'type' => 'string', + 'required' => true, + ], + ], + ], + ], + ], + ], + 'ResyncTable' => [ + 'path' => '/gbi/refresh/table', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + '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' => [ + 'tableIdKey' => [ + 'type' => 'string', + 'required' => true, + ], + 'keep' => [ + 'type' => 'boolean', + 'required' => false, + ], + ], + ], + ], + ], + ], + 'ListColumn' => [ + 'path' => '/gbi/list/column', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + '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' => [ + 'tableIdKey' => [ + 'type' => 'string', + 'required' => true, + ], + 'nextToken' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + ], + 'maxResults' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + ], + ], + ], + ], + ], + ], + 'UpdateColumn' => [ + 'path' => '/gbi/update/column', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + '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' => [ + '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', + 'required' => false, + 'items' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'rangeMin' => [ + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + ], + 'rangeMax' => [ + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + ], + ], + ], + ], + ], + ], + 'RecoverColumn' => [ + 'path' => '/gbi/recover/column', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + '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' => [ + 'columnIdKey' => [ + 'type' => 'string', + 'required' => true, + ], + 'tableIdKey' => [ + 'type' => 'string', + 'required' => true, + ], + ], + ], + ], + ], + ], + 'DeleteColumn' => [ + 'path' => '/gbi/delete/column', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + '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' => [ + 'columnIdKey' => [ + 'type' => 'string', + 'required' => true, + ], + ], + ], + ], + ], + ], + 'ListEnumMapping' => [ + 'path' => '/gbi/list/mapping', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + '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' => [ + 'tableIdKey' => [ + 'type' => 'string', + 'required' => true, + ], + 'columnIdKey' => [ + 'type' => 'string', + 'required' => true, + ], + ], + ], + ], + ], + ], + 'UpdateEnumMapping' => [ + 'path' => '/gbi/update/mapping', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + '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' => [ + 'tableIdKey' => [ + 'type' => 'string', + 'required' => true, + ], + 'columnIdKey' => [ + 'type' => 'string', + 'required' => true, + ], + 'enumMapping' => [ + 'type' => 'object', + 'required' => false, + 'additionalProperties' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + ], + ], + 'CreateVirtualDatasourceInstance' => [ + 'path' => '/gbi/virtualDatasource/createVirtualDatasourceInstance', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + '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' => [ + 'name' => [ + 'type' => 'string', + 'required' => false, + ], + 'description' => [ + 'type' => 'string', + 'required' => false, + ], + 'type' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + ], + ], + ], + ], + ], + ], + 'ListVirtualDatasourceInstance' => [ + 'path' => '/gbi/virtualDatasource/listVirtualDatasourceInstance', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + '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' => [ + 'nextToken' => [ + 'type' => 'string', + 'required' => false, + ], + 'maxResults' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + ], + ], + ], + ], + ], + ], + 'UpdateVirtualDatasourceInstance' => [ + 'path' => '/gbi/virtualDatasource/updateVirtualDatasourceInstance', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'workspaceId', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'name' => [ + 'type' => 'string', + 'required' => false, + ], + 'description' => [ + 'type' => 'string', + 'required' => false, + ], + 'vdbId' => [ + 'type' => 'string', + 'required' => true, + ], + 'type' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + ], + ], + ], + ], + ], + ], + 'DeleteVirtualDatasourceInstance' => [ + 'path' => '/gbi/virtualDatasource/deleteVirtualDatasourceInstance', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + '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' => [ + 'vdbId' => [ + 'type' => 'string', + 'required' => true, + ], + ], + ], + ], + ], + ], + 'SaveVirtualDatasourceDdl' => [ + 'path' => '/gbi/virtualDatasource/addDdl2VirtualInstance', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + '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' => [ + 'vdbId' => [ + 'type' => 'string', + 'required' => true, + ], + 'ddl' => [ + 'type' => 'string', + 'required' => true, + ], + ], + ], + ], + ], + ], + ], + 'endpoints' => [ + [ + 'regionId' => 'cn-beijing', + 'endpoint' => 'dataanalysisgbi.cn-beijing.aliyuncs.com', + ], + ], +]; |
