'1.0', 'info' => ['style' => 'ROA', 'product' => 'DataAnalysisGBI', 'version' => '2024-08-23'], 'components' => [ 'schemas' => [], ], 'apis' => [ '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], ], ], ], ], ], ], '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], ], ], ], '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], ], ], ], ], ], '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], ], ], ], ], ], '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], ], ], ], ], ], ], '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], ], ], ], ], ], '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], ], ], ], ], ], ], '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], ], ], ], ], ], '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], ], ], ], ], ], '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], ], ], ], ], ], '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], ], ], ], ], ], '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], ], ], ], ], ], '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], ], ], ], ], ], '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], ], ], ], ], ], '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], ], ], ], ], ], '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], ], ], ], ], ], '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], ], ], ], ], ], '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], ], ], ], ], ], '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], ], ], ], ], ], '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], ], ], ], ], ], '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], ], ], ], ], ], ], '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], ], ], ], ], ], '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], ], ], ], ], ], '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'], ], ], ], ], ], ], ], '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], ], ], ], ], ], ], '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], ], ], ], ], ], ], '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], ], ], ], ], ], ], 'endpoints' => [ ['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'], ], ];