From 814ec806c22e2782390af5a4a05cb6281aabd5e1 Mon Sep 17 00:00:00 2001 From: Zhineng Li Date: Sun, 12 Jul 2026 16:56:35 +0800 Subject: update APIs 20260712 --- data/searchengine/2021-10-25/api-docs.php | 7659 ++++++++++------------------- 1 file changed, 2481 insertions(+), 5178 deletions(-) (limited to 'data/searchengine') diff --git a/data/searchengine/2021-10-25/api-docs.php b/data/searchengine/2021-10-25/api-docs.php index f2cbc4b..5e11963 100644 --- a/data/searchengine/2021-10-25/api-docs.php +++ b/data/searchengine/2021-10-25/api-docs.php @@ -1,54 +1,25 @@ '1.0', - 'info' => [ - 'style' => 'ROA', - 'product' => 'searchengine', - 'version' => '2021-10-25', - ], + 'info' => ['style' => 'ROA', 'product' => 'searchengine', 'version' => '2021-10-25'], 'components' => [ - 'schemas' => [ - 'ErrorResponse' => [ - 'type' => 'object', - 'properties' => [ - 'requestId' => [ - 'type' => 'string', - ], - 'code' => [ - 'type' => 'string', - ], - 'message' => [ - 'type' => 'string', - ], - ], - ], - ], + 'schemas' => [], ], 'apis' => [ - 'ChangeResourceGroup' => [ - 'path' => '/openapi/ha3/instances/{instanceId}/actions/change-resource-group', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'BuildIndex' => [ + 'path' => '/openapi/ha3/instances/{instanceId}/actions/build-index', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [], - 'produces' => [], 'deprecated' => false, 'parameters' => [ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'body', @@ -58,38 +29,38 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'newResourceGroupId' => [ - 'type' => 'string', - 'required' => false, - ], - 'resourceType' => [ - 'type' => 'string', - 'required' => false, - ], + 'dataSourceName' => ['type' => 'string', 'required' => false], + 'domain' => ['type' => 'string', 'required' => false], + 'dataSourceType' => ['type' => 'string', 'required' => false], + 'partition' => ['type' => 'string', 'required' => false], + 'dataTimeSec' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'buildMode' => ['type' => 'string', 'required' => false], + 'generation' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + 'tag' => ['type' => 'string', 'required' => false], + 'path' => ['type' => 'string', 'required' => false], ], ], ], ], ], - 'TagResources' => [ - 'path' => '/openapi/ha3/resource-tags', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ChangeResourceGroup' => [ + 'path' => '/openapi/ha3/instances/{instanceId}/actions/change-resource-group', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'produces' => [ - 'application/json', - ], + 'consumes' => [], + 'produces' => [], 'deprecated' => false, 'parameters' => [ + [ + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], + ], [ 'name' => 'body', 'in' => 'body', @@ -98,186 +69,94 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'resourceType' => [ - 'type' => 'string', - 'required' => true, - ], - 'resourceId' => [ - 'type' => 'array', - 'required' => true, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], - 'tag' => [ - 'type' => 'array', - 'required' => true, - 'items' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'key' => [ - 'type' => 'string', - 'required' => false, - ], - 'value' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], + 'newResourceGroupId' => ['type' => 'string', 'required' => false], + 'resourceType' => ['type' => 'string', 'required' => false], ], ], ], ], ], - 'UntagResources' => [ - 'path' => '/openapi/ha3/resource-tags', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CloneSqlInstance' => [ + 'path' => '/openapi/ha3/instances/{instanceId}/sql-studio/databases/{database}/sql-instances/{sqlInstanceId}/actions/clone', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'produces' => [ - 'application/json', - ], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'resourceType', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'resourceId', - 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'type' => 'array', - 'required' => true, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], + 'name' => 'database', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'tagKey', - 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], + 'name' => 'sqlInstanceId', + 'in' => 'path', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ - 'name' => 'all', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'boolean', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'targetFolderId' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + 'name' => ['type' => 'string', 'required' => true], + ], ], ], ], ], - 'ListTagResources' => [ - 'path' => '/openapi/ha3/resource-tags', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateAlias' => [ + 'path' => '/openapi/ha3/instances/{instanceId}/aliases', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'produces' => [ - 'application/json', - ], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'resourceType', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'resourceId', + 'name' => 'newMode', 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], + 'schema' => ['type' => 'boolean', 'required' => false], ], [ - 'name' => 'tag', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', 'style' => 'json', 'schema' => [ - 'type' => 'array', + 'type' => 'object', 'required' => false, - 'items' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'key' => [ - 'type' => 'string', - 'required' => false, - ], - 'value' => [ - 'type' => 'string', - 'required' => false, - ], - ], + 'properties' => [ + 'alias' => ['type' => 'string', 'required' => false], + 'index' => ['type' => 'string', 'required' => false], ], ], ], - [ - 'name' => 'nextToken', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], ], ], - 'CreatePublicUrl' => [ - 'path' => '/openapi/ha3/instances/{instanceId}/public-url', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateCluster' => [ + 'path' => '/openapi/ha3/instances/{instanceId}/clusters', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -288,22 +167,43 @@ [ 'name' => 'instanceId', 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', - 'required' => true, + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'name' => ['type' => 'string', 'required' => false], + 'description' => ['type' => 'string', 'required' => false], + 'queryNode' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'number' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + ], + 'dataNode' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'number' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'partition' => ['type' => 'string', 'required' => false], + ], + ], + 'autoLoad' => ['type' => 'boolean', 'required' => false], + ], ], ], ], ], - 'DeletePublicUrl' => [ - 'path' => '/openapi/ha3/instances/{instanceId}/public-url', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateConfigDir' => [ + 'path' => '/openapi/ha3/instances/{instanceId}/advanced-configs/{configName}/dir', + 'methods' => ['post'], + 'schemes' => ['https', 'http'], 'security' => [ [ 'AK' => [], @@ -314,22 +214,32 @@ [ 'name' => 'instanceId', 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'configName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', - 'required' => true, + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'dirName' => ['type' => 'string', 'required' => false], + 'parentFullPath' => ['type' => 'string', 'required' => false], + ], ], ], ], ], - 'ModifyPublicUrlIpList' => [ - 'path' => '/openapi/ha3/instances/{instanceId}/public-url-ip-list', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateConfigFile' => [ + 'path' => '/openapi/ha3/instances/{instanceId}/advanced-configs/{configName}/file', + 'methods' => ['post'], + 'schemes' => ['https', 'http'], 'security' => [ [ 'AK' => [], @@ -340,10 +250,12 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'configName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'body', @@ -352,22 +264,19 @@ 'schema' => [ 'type' => 'object', 'required' => false, - 'additionalProperties' => [ - 'type' => 'string', + 'properties' => [ + 'fileName' => ['type' => 'string', 'required' => false], + 'parentFullPath' => ['type' => 'string', 'required' => false], + 'ossPath' => ['type' => 'string', 'required' => false], ], ], ], ], ], - 'CreateInstance' => [ - 'path' => '/openapi/ha3/instances', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateDataSource' => [ + 'path' => '/openapi/ha3/instances/{instanceId}/data-sources', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -375,6 +284,16 @@ ], 'deprecated' => false, 'parameters' => [ + [ + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'dryRun', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false], + ], [ 'name' => 'body', 'in' => 'body', @@ -383,83 +302,46 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'chargeType' => [ - 'type' => 'string', - 'required' => false, - ], - 'components' => [ - 'type' => 'array', + 'name' => ['type' => 'string', 'required' => false], + 'type' => ['type' => 'string', 'required' => false], + 'domain' => ['type' => 'string', 'required' => false], + 'config' => [ + 'type' => 'object', 'required' => false, - 'items' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'code' => [ - 'type' => 'string', - 'required' => false, - ], - 'value' => [ - 'type' => 'string', - 'required' => false, - ], - ], + 'properties' => [ + 'endpoint' => ['type' => 'string', 'required' => false], + 'accessKey' => ['type' => 'string', 'required' => false], + 'accessSecret' => ['type' => 'string', 'required' => false], + 'project' => ['type' => 'string', 'required' => false], + 'partition' => ['type' => 'string', 'required' => false], + 'table' => ['type' => 'string', 'required' => false], + 'namespace' => ['type' => 'string', 'required' => false], + 'path' => ['type' => 'string', 'required' => false], + 'ossPath' => ['type' => 'string', 'required' => false], + 'bucket' => ['type' => 'string', 'required' => false], + 'catalog' => ['type' => 'string', 'required' => false], + 'database' => ['type' => 'string', 'required' => false], + 'tag' => ['type' => 'string', 'required' => false], ], ], - 'order' => [ + 'saroConfig' => [ 'type' => 'object', 'required' => false, 'properties' => [ - 'autoRenew' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'duration' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - 'pricingCycle' => [ - 'type' => 'string', - 'required' => false, - ], + 'namespace' => ['type' => 'string', 'required' => false], + 'tableName' => ['type' => 'string', 'required' => false], ], ], - 'tags' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'key' => [ - 'type' => 'string', - 'required' => false, - ], - 'value' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - 'resourceGroupId' => [ - 'type' => 'string', - 'required' => false, - ], + 'autoBuildIndex' => ['type' => 'boolean', 'required' => false], ], ], ], ], ], - 'DeleteInstance' => [ - 'path' => '/openapi/ha3/instances/{instanceId}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateFolder' => [ + 'path' => '/openapi/ha3/instances/{instanceId}/sql-studio/databases/{database}/folders', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -470,22 +352,33 @@ [ 'name' => 'instanceId', 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'database', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', - 'required' => true, + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'name' => ['type' => 'string', 'required' => true], + 'parent' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + 'type' => ['type' => 'string', 'required' => true], + ], ], ], ], ], - 'UpdateInstance' => [ - 'path' => '/openapi/ha3/instances/{instanceId}', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateIndex' => [ + 'path' => '/openapi/ha3/instances/{instanceId}/indexes', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -496,10 +389,7 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'body', @@ -509,46 +399,71 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'components' => [ - 'type' => 'array', + 'name' => ['type' => 'string', 'required' => false], + 'dataSource' => ['type' => 'string', 'required' => false], + 'domain' => ['type' => 'string', 'required' => false], + 'content' => ['type' => 'string', 'required' => false], + 'partition' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'dataSourceInfo' => [ + 'type' => 'object', 'required' => false, - 'items' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'code' => [ - 'type' => 'string', - 'required' => false, + 'properties' => [ + 'dataTimeSec' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'processPartitionCount' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'name' => ['type' => 'string', 'required' => false], + 'type' => ['type' => 'string', 'required' => false], + 'domain' => ['type' => 'string', 'required' => false], + 'config' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'endpoint' => ['type' => 'string', 'required' => false], + 'accessKey' => ['type' => 'string', 'required' => false], + 'accessSecret' => ['type' => 'string', 'required' => false], + 'project' => ['type' => 'string', 'required' => false], + 'partition' => ['type' => 'string', 'required' => false], + 'table' => ['type' => 'string', 'required' => false], + 'namespace' => ['type' => 'string', 'required' => false], + 'path' => ['type' => 'string', 'required' => false], + 'ossPath' => ['type' => 'string', 'required' => false], + 'bucket' => ['type' => 'string', 'required' => false], + 'format' => ['type' => 'string', 'required' => false], + 'catalog' => ['type' => 'string', 'required' => false], + 'database' => ['type' => 'string', 'required' => false], + 'tag' => ['type' => 'string', 'required' => false], + 'tableFormat' => ['type' => 'string', 'required' => false], ], - 'value' => [ - 'type' => 'string', - 'required' => false, + ], + 'saroConfig' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'namespace' => ['type' => 'string', 'required' => false], + 'tableName' => ['type' => 'string', 'required' => false], ], ], + 'autoBuildIndex' => ['type' => 'boolean', 'required' => false], + 'processParallelNum' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'scene' => ['type' => 'string', 'required' => false], ], ], - 'orderType' => [ - 'type' => 'string', - 'required' => false, - ], - 'description' => [ - 'type' => 'string', - 'required' => false, - ], + 'extend' => ['type' => 'object', 'required' => false], + 'buildParallelNum' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'mergeParallelNum' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], ], + [ + 'name' => 'dryRun', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false], + ], ], ], - 'ModifyPassword' => [ - 'path' => '/openapi/ha3/instances/{instanceId}/password', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateInstance' => [ + 'path' => '/openapi/ha3/instances', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -556,14 +471,6 @@ ], 'deprecated' => false, 'parameters' => [ - [ - 'name' => 'instanceId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], [ 'name' => 'body', 'in' => 'body', @@ -572,28 +479,50 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'username' => [ - 'type' => 'string', + 'chargeType' => ['type' => 'string', 'required' => false], + 'components' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'code' => ['type' => 'string', 'required' => false], + 'value' => ['type' => 'string', 'required' => false], + ], + ], + ], + 'order' => [ + 'type' => 'object', 'required' => false, + 'properties' => [ + 'autoRenew' => ['type' => 'boolean', 'required' => false], + 'duration' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + 'pricingCycle' => ['type' => 'string', 'required' => false], + ], ], - 'password' => [ - 'type' => 'string', + 'tags' => [ + 'type' => 'array', 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'key' => ['type' => 'string', 'required' => false], + 'value' => ['type' => 'string', 'required' => false], + ], + ], ], + 'resourceGroupId' => ['type' => 'string', 'required' => false], ], ], ], ], ], - 'ListInstances' => [ - 'path' => '/openapi/ha3/instances', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateModel' => [ + 'path' => '/openapi/ha3/instances/{instanceId}/models', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -601,122 +530,94 @@ ], 'deprecated' => false, 'parameters' => [ - [ - 'name' => 'pageNumber', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - [ - 'name' => 'pageSize', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], [ 'name' => 'instanceId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'description', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'resourceGroupId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'edition', + 'name' => 'dryRun', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'tags', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', 'style' => 'json', 'schema' => [ - 'type' => 'array', + 'type' => 'object', 'required' => false, - 'items' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'key' => [ - 'type' => 'string', - 'required' => false, - ], - 'value' => [ - 'type' => 'string', - 'required' => false, + 'properties' => [ + 'name' => ['type' => 'string', 'required' => true], + 'content' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'modelType' => ['type' => 'string', 'required' => false], + 'dimension' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'url' => ['type' => 'string', 'required' => false], + 'method' => ['type' => 'string', 'required' => false], + 'request' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'header' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'Authorization' => ['type' => 'string', 'required' => false], + 'Content-Type' => ['type' => 'string', 'required' => false], + ], + ], + 'urlParams' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'build' => ['type' => 'object', 'required' => false], + 'search' => ['type' => 'object', 'required' => false], + ], + ], + 'parameters' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'build' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'input_type' => ['type' => 'string', 'required' => false], + ], + ], + 'search' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'input_type' => ['type' => 'string', 'required' => false], + ], + ], + ], + ], + 'requestBody' => ['type' => 'string', 'required' => false], + ], + ], + 'response' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'embeddings' => ['type' => 'string', 'required' => false], + ], + ], ], ], ], ], ], - [ - 'name' => 'catalog', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'database', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'table', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'dataSourceType', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], ], ], - 'GetInstance' => [ - 'path' => '/openapi/ha3/instances/{instanceId}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreatePublicUrl' => [ + 'path' => '/openapi/ha3/instances/{instanceId}/public-url', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -727,22 +628,14 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'ListInstanceSpecs' => [ - 'path' => '/openapi/ha3/instances/{instanceId}/specs', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - 'http', - ], + 'CreateSqlInstance' => [ + 'path' => '/openapi/ha3/instances/{instanceId}/sql-studio/databases/{database}/sql-instances', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -753,30 +646,32 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'type', - 'in' => 'query', + 'name' => 'database', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', - 'required' => true, + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'name' => ['type' => 'string', 'required' => true], + 'parent' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + ], ], ], ], ], - 'GetIndexOnlineStrategy' => [ - 'path' => '/openapi/ha3/instances/{instanceId}/data-sources/{dataSourceName}/deploys/{deployName}/indexes/{indexName}/online-strategy', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - 'http', - ], + 'CreateTable' => [ + 'path' => '/openapi/ha3/instances/{instanceId}/tables', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -787,46 +682,128 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'dataSourceName', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'deployName', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'dryRun', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false], ], [ - 'name' => 'indexName', - 'in' => 'path', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', - 'required' => true, + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'name' => ['type' => 'string', 'required' => false], + 'dataProcessorCount' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'partitionCount' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'dataSource' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'type' => ['type' => 'string', 'required' => false], + 'dataTimeSec' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'autoBuildIndex' => ['type' => 'boolean', 'required' => false], + 'config' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'endpoint' => ['type' => 'string', 'required' => false], + 'accessKey' => ['type' => 'string', 'required' => false], + 'accessSecret' => ['type' => 'string', 'required' => false], + 'project' => ['type' => 'string', 'required' => false], + 'partition' => ['type' => 'string', 'required' => false], + 'table' => ['type' => 'string', 'required' => false], + 'path' => ['type' => 'string', 'required' => false], + 'ossPath' => ['type' => 'string', 'required' => false], + 'bucket' => ['type' => 'string', 'required' => false], + 'catalog' => ['type' => 'string', 'required' => false], + 'database' => ['type' => 'string', 'required' => false], + 'tag' => ['type' => 'string', 'required' => false], + 'tableFormat' => ['type' => 'string', 'required' => false], + 'format' => ['type' => 'string', 'required' => false], + ], + ], + ], + ], + 'rawSchema' => ['type' => 'string', 'required' => false], + 'primaryKey' => ['type' => 'string', 'required' => false], + 'fieldSchema' => [ + 'type' => 'object', + 'required' => false, + 'additionalProperties' => ['type' => 'string'], + ], + 'vectorIndex' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'indexName' => ['type' => 'string', 'required' => false], + 'vectorField' => ['type' => 'string', 'required' => false], + 'sparseIndexField' => ['type' => 'string', 'required' => false], + 'sparseValueField' => ['type' => 'string', 'required' => false], + 'dimension' => ['type' => 'string', 'required' => false], + 'vectorIndexType' => ['type' => 'string', 'required' => false], + 'distanceType' => ['type' => 'string', 'required' => false], + 'namespace' => ['type' => 'string', 'required' => false], + 'advanceParams' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'buildIndexParams' => ['type' => 'string', 'required' => false], + 'searchIndexParams' => ['type' => 'string', 'required' => false], + 'minScanDocCnt' => ['type' => 'string', 'required' => false], + 'linearBuildThreshold' => ['type' => 'string', 'required' => false], + ], + ], + ], + ], + ], + 'dataProcessConfig' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'operator' => ['type' => 'string', 'required' => false], + 'dstField' => ['type' => 'string', 'required' => false], + 'srcField' => ['type' => 'string', 'required' => false], + 'params' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'vectorModel' => ['type' => 'string', 'required' => false], + 'vectorModal' => ['type' => 'string', 'required' => false], + 'srcFieldConfig' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'ossEndpoint' => ['type' => 'string', 'required' => false], + 'ossBucket' => ['type' => 'string', 'required' => false], + 'uid' => ['type' => 'string', 'required' => false], + ], + ], + ], + ], + ], + ], + ], + 'scene' => ['type' => 'string', 'required' => false], + ], ], ], ], ], - 'ModifyIndexOnlineStrategy' => [ - 'path' => '/openapi/ha3/instances/{instanceId}/data-sources/{dataSourceName}/deploys/{deployName}/indexes/{indexName}/online-strategy', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'https', - 'http', - ], + 'DebugModel' => [ + 'path' => '/openapi/ha3/instances/{instanceId}/models/{modelName}/actions/debug', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -837,34 +814,17 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'dataSourceName', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'deployName', + 'name' => 'modelName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'indexName', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'isOnline', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'body', @@ -874,25 +834,16 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'changeRate' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'input' => ['type' => 'string', 'required' => false], ], ], ], ], ], - 'ModifyOnlineConfig' => [ - 'path' => '/openapi/ha3/instances/{instanceId}/node/{nodeName}/online-configs/{indexName}', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'https', - 'http', - ], + 'DeleteAdvanceConfig' => [ + 'path' => '/openapi/ha3/instances/{instanceId}/advanced-configs/{configName}', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -903,50 +854,75 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'nodeName', + 'name' => 'configName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], + ], + ], + ], + 'DeleteAlias' => [ + 'path' => '/openapi/ha3/instances/{instanceId}/aliases/{alias}', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], ], + ], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'indexName', + 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'additionalProperties' => [ - 'type' => 'string', - ], - ], + 'name' => 'alias', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'ListOnlineConfigs' => [ - 'path' => '/openapi/ha3/instances/{instanceId}/node/{nodeName}/online-configs', - 'methods' => [ - 'get', + 'DeleteConfigDir' => [ + 'path' => '/openapi/ha3/instances/{instanceId}/advanced-configs/{configName}/dir', + 'methods' => ['delete'], + 'schemes' => ['https', 'http'], + 'security' => [ + [ + 'AK' => [], + ], ], - 'schemes' => [ - 'https', - 'http', + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'configName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'dirName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'parentFullPath', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], ], + ], + 'DeleteConfigFile' => [ + 'path' => '/openapi/ha3/instances/{instanceId}/advanced-configs/{configName}/file', + 'methods' => ['delete'], + 'schemes' => ['https', 'http'], 'security' => [ [ 'AK' => [], @@ -957,38 +933,52 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'nodeName', + 'name' => 'configName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'domain', + 'name' => 'fileName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'parentFullPath', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'ModifyIndex' => [ - 'path' => '/openapi/ha3/instances/{instanceId}/indexes/{indexName}', - 'methods' => [ - 'put', + 'DeleteDataSource' => [ + 'path' => '/openapi/ha3/instances/{instanceId}/data-sources/{dataSourceName}', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], ], - 'schemes' => [ - 'http', - 'https', + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'dataSourceName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], ], + ], + 'DeleteFolder' => [ + 'path' => '/openapi/ha3/instances/{instanceId}/sql-studio/databases/{database}/folders/{folderId}', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -999,331 +989,57 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'indexName', + 'name' => 'database', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'dryRun', - 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], - ], - [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'dataSourceInfo' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'buildMode' => [ - 'type' => 'string', - 'required' => false, - ], - 'generation' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - 'dataTimeSec' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'processPartitionCount' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'name' => [ - 'type' => 'string', - 'required' => false, - ], - 'type' => [ - 'type' => 'string', - 'required' => false, - ], - 'domain' => [ - 'type' => 'string', - 'required' => false, - ], - 'config' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'endpoint' => [ - 'type' => 'string', - 'required' => false, - ], - 'accessKey' => [ - 'type' => 'string', - 'required' => false, - ], - 'accessSecret' => [ - 'type' => 'string', - 'required' => false, - ], - 'project' => [ - 'type' => 'string', - 'required' => false, - ], - 'partition' => [ - 'type' => 'string', - 'required' => false, - ], - 'table' => [ - 'type' => 'string', - 'required' => false, - ], - 'namespace' => [ - 'type' => 'string', - 'required' => false, - ], - 'path' => [ - 'type' => 'string', - 'required' => false, - ], - 'ossPath' => [ - 'type' => 'string', - 'required' => false, - ], - 'bucket' => [ - 'type' => 'string', - 'required' => false, - ], - 'format' => [ - 'type' => 'string', - 'required' => false, - ], - 'catalog' => [ - 'type' => 'string', - 'required' => false, - ], - 'database' => [ - 'type' => 'string', - 'required' => false, - ], - 'tag' => [ - 'type' => 'string', - 'required' => false, - ], - 'tableFormat' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - 'saroConfig' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'namespace' => [ - 'type' => 'string', - 'required' => false, - ], - 'tableName' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - 'autoBuildIndex' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'processParallelNum' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'partition' => [ - 'type' => 'string', - 'required' => false, - ], - 'ossDataPath' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - 'description' => [ - 'type' => 'string', - 'required' => false, - ], - 'content' => [ - 'type' => 'string', - 'required' => false, - ], - 'partition' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'dataSource' => [ - 'type' => 'string', - 'required' => false, - ], - 'domain' => [ - 'type' => 'string', - 'required' => false, - ], - 'buildParallelNum' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'mergeParallelNum' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'cluster' => [ - 'type' => 'object', - 'required' => false, - 'additionalProperties' => [ - 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'object', - 'properties' => [ - 'value' => [ - 'type' => 'string', - ], - 'description' => [ - 'type' => 'string', - ], - 'disableModify' => [ - 'type' => 'boolean', - ], - 'isModify' => [ - 'type' => 'boolean', - ], - 'type' => [ - 'type' => 'string', - ], - ], - ], - ], - ], - 'clusterConfigName' => [ - 'type' => 'string', - 'required' => false, - ], - 'config' => [ - 'type' => 'object', - 'required' => false, - 'additionalProperties' => [ - 'type' => 'object', - 'properties' => [ - 'desc' => [ - 'type' => 'string', - 'required' => false, - ], - 'files' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'operateType' => [ - 'type' => 'string', - 'required' => false, - ], - 'parentFullPath' => [ - 'type' => 'string', - 'required' => false, - ], - 'fileName' => [ - 'type' => 'string', - 'required' => false, - ], - 'config' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'content' => [ - 'type' => 'string', - 'required' => false, - ], - 'variables' => [ - 'type' => 'object', - 'required' => false, - 'additionalProperties' => [ - 'type' => 'object', - 'properties' => [ - 'description' => [ - 'type' => 'string', - 'required' => false, - ], - 'disableModify' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'isModify' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'type' => [ - 'type' => 'string', - 'required' => false, - ], - 'value' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - ], - ], - 'dirName' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - ], - ], - ], - 'pushMode' => [ - 'type' => 'string', - 'required' => false, - ], - 'extend' => [ - 'type' => 'object', - 'required' => false, - ], - ], - ], + 'name' => 'folderId', + 'in' => 'path', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], ], ], - 'StartIndex' => [ - 'path' => '/openapi/ha3/instances/{instanceId}/indexes/{indexName}/startIndex', - 'methods' => [ - 'post', + 'DeleteIndex' => [ + 'path' => '/openapi/ha3/instances/{instanceId}/indexes/{indexName}', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], ], - 'schemes' => [ - 'http', - 'https', + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'indexName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'dataSource', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'deleteDataSource', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false], + ], ], + ], + 'DeleteIndexVersion' => [ + 'path' => '/openapi/ha3/instances/{instanceId}/indexes/{indexName}/versions/{versionName}', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1334,30 +1050,42 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'indexName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'versionName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'StopIndex' => [ - 'path' => '/openapi/ha3/instances/{instanceId}/indexes/{indexName}/stopIndex', - 'methods' => [ - 'post', + 'DeleteInstance' => [ + 'path' => '/openapi/ha3/instances/{instanceId}', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], ], - 'schemes' => [ - 'http', - 'https', + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], ], + ], + 'DeleteModel' => [ + 'path' => '/openapi/ha3/instances/{instanceId}/models/{modelName}', + 'methods' => ['delete'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -1368,30 +1096,37 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'indexName', + 'name' => 'modelName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'CreateIndex' => [ - 'path' => '/openapi/ha3/instances/{instanceId}/indexes', - 'methods' => [ - 'post', + 'DeletePublicUrl' => [ + 'path' => '/openapi/ha3/instances/{instanceId}/public-url', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], ], - 'schemes' => [ - 'http', - 'https', + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], ], + ], + 'DeleteSqlInstance' => [ + 'path' => '/openapi/ha3/instances/{instanceId}/sql-studio/databases/{database}/sql-instances/{sqlInstanceId}', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1402,197 +1137,66 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'name' => [ - 'type' => 'string', - 'required' => false, - ], - 'dataSource' => [ - 'type' => 'string', - 'required' => false, - ], - 'domain' => [ - 'type' => 'string', - 'required' => false, - ], - 'content' => [ - 'type' => 'string', - 'required' => false, - ], - 'partition' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'dataSourceInfo' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'dataTimeSec' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'processPartitionCount' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'name' => [ - 'type' => 'string', - 'required' => false, - ], - 'type' => [ - 'type' => 'string', - 'required' => false, - ], - 'domain' => [ - 'type' => 'string', - 'required' => false, - ], - 'config' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'endpoint' => [ - 'type' => 'string', - 'required' => false, - ], - 'accessKey' => [ - 'type' => 'string', - 'required' => false, - ], - 'accessSecret' => [ - 'type' => 'string', - 'required' => false, - ], - 'project' => [ - 'type' => 'string', - 'required' => false, - ], - 'partition' => [ - 'type' => 'string', - 'required' => false, - ], - 'table' => [ - 'type' => 'string', - 'required' => false, - ], - 'namespace' => [ - 'type' => 'string', - 'required' => false, - ], - 'path' => [ - 'type' => 'string', - 'required' => false, - ], - 'ossPath' => [ - 'type' => 'string', - 'required' => false, - ], - 'bucket' => [ - 'type' => 'string', - 'required' => false, - ], - 'format' => [ - 'type' => 'string', - 'required' => false, - ], - 'catalog' => [ - 'type' => 'string', - 'required' => false, - ], - 'database' => [ - 'type' => 'string', - 'required' => false, - ], - 'tag' => [ - 'type' => 'string', - 'required' => false, - ], - 'tableFormat' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - 'saroConfig' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'namespace' => [ - 'type' => 'string', - 'required' => false, - ], - 'tableName' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - 'autoBuildIndex' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'processParallelNum' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'scene' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - 'extend' => [ - 'type' => 'object', - 'required' => false, - ], - 'buildParallelNum' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'mergeParallelNum' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - ], + 'name' => 'database', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'dryRun', - 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'name' => 'sqlInstanceId', + 'in' => 'path', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], ], ], - 'BuildIndex' => [ - 'path' => '/openapi/ha3/instances/{instanceId}/actions/build-index', - 'methods' => [ - 'post', + 'DeleteTable' => [ + 'path' => '/openapi/ha3/instances/{instanceId}/tables/{tableName}', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'tableName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + ], + ], + 'DescribeRegions' => [ + 'path' => '/openapi/ha3/regions', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], ], - 'schemes' => [ - 'http', - 'https', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'parameters' => [ + [ + 'name' => 'acceptLanguage', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], ], + ], + 'ExecuteSqlInstance' => [ + 'path' => '/openapi/ha3/instances/{instanceId}/sql-studio/databases/{database}/sql-instances/{sqlInstanceId}/actions/execution', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1603,10 +1207,17 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'database', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'sqlInstanceId', + 'in' => 'path', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ 'name' => 'body', @@ -1616,58 +1227,65 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'dataSourceName' => [ - 'type' => 'string', - 'required' => false, - ], - 'domain' => [ - 'type' => 'string', - 'required' => false, - ], - 'dataSourceType' => [ - 'type' => 'string', - 'required' => false, - ], - 'partition' => [ - 'type' => 'string', - 'required' => false, - ], - 'dataTimeSec' => [ - 'type' => 'integer', - 'format' => 'int32', + 'content' => ['type' => 'string', 'required' => true], + 'kvpair' => [ + 'type' => 'object', 'required' => false, + 'additionalProperties' => ['type' => 'any'], ], - 'buildMode' => [ - 'type' => 'string', + 'dynamicParam' => [ + 'type' => 'object', 'required' => false, + 'additionalProperties' => ['type' => 'any'], ], - 'generation' => [ - 'type' => 'integer', - 'format' => 'int64', + 'staticParam' => [ + 'type' => 'object', 'required' => false, + 'additionalProperties' => ['type' => 'any'], ], - 'tag' => [ - 'type' => 'string', + 'domain' => ['type' => 'string', 'required' => false], + 'params' => [ + 'type' => 'object', 'required' => false, + 'additionalProperties' => ['type' => 'any'], ], - 'path' => [ - 'type' => 'string', + 'combineParam' => [ + 'type' => 'object', 'required' => false, + 'additionalProperties' => ['type' => 'any'], ], ], ], ], ], ], - 'DeleteIndexVersion' => [ - 'path' => '/openapi/ha3/instances/{instanceId}/indexes/{indexName}/versions/{versionName}', - 'methods' => [ - 'delete', + 'ForceSwitch' => [ + 'path' => '/openapi/ha3/instances/{instanceId}/force-switch/{fsmId}', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], ], - 'schemes' => [ - 'http', - 'https', + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'fsmId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], ], + ], + 'GetAdvanceConfig' => [ + 'path' => '/openapi/ha3/instances/{instanceId}/advanced-configs/{configName}', + 'methods' => ['get'], + 'schemes' => ['https', 'http'], 'security' => [ [ 'AK' => [], @@ -1678,38 +1296,24 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'indexName', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'type', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'versionName', + 'name' => 'configName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'DeleteIndex' => [ - 'path' => '/openapi/ha3/instances/{instanceId}/indexes/{indexName}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetAdvanceConfigFile' => [ + 'path' => '/openapi/ha3/instances/{instanceId}/advanced-configs/{configName}/file', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1720,46 +1324,24 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'indexName', + 'name' => 'configName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'dataSource', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'deleteDataSource', + 'name' => 'fileName', 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'ModifyIndexVersion' => [ - 'path' => '/openapi/ha3/instances/{instanceId}/clusters/{clusterName}/index-version', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetCluster' => [ + 'path' => '/openapi/ha3/instances/{instanceId}/clusters/{clusterName}', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1770,58 +1352,20 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'clusterName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], - [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'indexName' => [ - 'type' => 'string', - 'required' => false, - ], - 'version' => [ - 'type' => 'string', - 'required' => false, - ], - 'buildDeployId' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - ], - ], - ], - 'ModifyFile' => [ - 'path' => '/openapi/ha3/instances/{instanceId}/indexes/{indexName}/versions/{versionName}/file', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ + ], + ], + 'GetClusterRunTimeInfo' => [ + 'path' => '/openapi/ha3/instances/{instanceId}/cluster-run-time-info', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ 'AK' => [], ], @@ -1831,66 +1375,14 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'indexName', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'versionName', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'fileName', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'content' => [ - 'type' => 'string', - 'required' => false, - ], - 'partition' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'PublishIndexVersion' => [ - 'path' => '/openapi/ha3/instances/{instanceId}/indexes/{indexName}/actions/publish', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetDataSource' => [ + 'path' => '/openapi/ha3/instances/{instanceId}/data-sources/{dataSourceName}', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1901,39 +1393,19 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'indexName', + 'name' => 'dataSourceName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'ModifyIndexPartition' => [ - 'path' => '/openapi/ha3/instances/{instanceId}/index-partition', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'https', - 'http', - ], + 'GetDataSourceDeploy' => [ + 'path' => '/openapi/ha3/instances/{instanceId}/data-sources/{dataSourceName}/deploys/{deployName}', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1944,70 +1416,24 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'dataSourceName' => [ - 'type' => 'string', - 'required' => false, - ], - 'generation' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - 'domainName' => [ - 'type' => 'string', - 'required' => false, - ], - 'indexInfos' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'indexName' => [ - 'type' => 'string', - 'required' => false, - ], - 'partitionCount' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'parallelNum' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - ], - ], - ], - ], + 'name' => 'deployName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'dataSourceName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'GetIndex' => [ - 'path' => '/openapi/ha3/instances/{instanceId}/indexes/{indexName}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetDatabaseSchema' => [ + 'path' => '/openapi/ha3/instances/{instanceId}/sql-studio/databases/{database}/tables/{tableName}/schema', + 'methods' => ['get'], + 'schemes' => ['https', 'http'], 'security' => [ [ 'AK' => [], @@ -2018,30 +1444,24 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'indexName', + 'name' => 'database', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'tableName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'GetIndexVersion' => [ - 'path' => '/openapi/ha3/instances/{instanceId}/clusters/{clusterName}/index-version', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetDeployGraph' => [ + 'path' => '/openapi/ha3/instances/{instanceId}/deploy-graph', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2052,30 +1472,14 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'clusterName', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'GetFile' => [ 'path' => '/openapi/ha3/instances/{instanceId}/indexes/{indexName}/versions/{versionName}/file', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2086,1360 +1490,52 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'indexName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'versionName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'fileName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - ], - ], - 'ListIndexes' => [ - 'path' => '/openapi/ha3/instances/{instanceId}/indexes', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'instanceId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'newMode', - 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], - ], - [ - 'name' => 'catalog', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'database', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'table', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'RecoverIndex' => [ - 'path' => '/openapi/ha3/instances/{instanceId}/recover-index', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetIndex' => [ + 'path' => '/openapi/ha3/instances/{instanceId}/indexes/{indexName}', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'instanceId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'dataSourceName' => [ - 'type' => 'string', - 'required' => false, - ], - 'indexName' => [ - 'type' => 'string', - 'required' => false, - ], - 'generation' => [ - 'type' => 'string', - 'required' => false, - ], - 'buildDeployId' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - ], - ], - ], - ], - 'CreateConfigDir' => [ - 'path' => '/openapi/ha3/instances/{instanceId}/advanced-configs/{configName}/dir', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - 'http', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'instanceId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'configName', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'dirName' => [ - 'type' => 'string', - 'required' => false, - ], - 'parentFullPath' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - ], - ], - 'CreateConfigFile' => [ - 'path' => '/openapi/ha3/instances/{instanceId}/advanced-configs/{configName}/file', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - 'http', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'instanceId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'configName', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'fileName' => [ - 'type' => 'string', - 'required' => false, - ], - 'parentFullPath' => [ - 'type' => 'string', - 'required' => false, - ], - 'ossPath' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - ], - ], - 'DeleteConfigDir' => [ - 'path' => '/openapi/ha3/instances/{instanceId}/advanced-configs/{configName}/dir', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'https', - 'http', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'instanceId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'configName', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'dirName', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'parentFullPath', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - ], - ], - 'DeleteConfigFile' => [ - 'path' => '/openapi/ha3/instances/{instanceId}/advanced-configs/{configName}/file', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'https', - 'http', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'instanceId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'configName', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'fileName', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'parentFullPath', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - ], - ], - 'ModifyAdvanceConfig' => [ - 'path' => '/openapi/ha3/instances/{instanceId}/advanced-configs/{configName}', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'instanceId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'configName', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'name' => [ - 'type' => 'string', - 'required' => false, - ], - 'status' => [ - 'type' => 'string', - 'required' => false, - ], - 'updateTime' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - 'desc' => [ - 'type' => 'string', - 'required' => false, - ], - 'files' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'name' => [ - 'type' => 'string', - 'required' => false, - ], - 'fullPathName' => [ - 'type' => 'string', - 'required' => false, - ], - 'isDir' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'isTemplate' => [ - 'type' => 'boolean', - 'required' => false, - ], - ], - ], - ], - 'content' => [ - 'type' => 'string', - 'required' => false, - ], - 'contentType' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - ], - ], - 'DeleteAdvanceConfig' => [ - 'path' => '/openapi/ha3/instances/{instanceId}/advanced-configs/{configName}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'instanceId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'configName', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - 'ModifyAdvanceConfigFile' => [ - 'path' => '/openapi/ha3/instances/{instanceId}/advanced-configs/{configName}/file', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'instanceId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'configName', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'fileName', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'content' => [ - 'type' => 'string', - 'required' => false, - ], - 'variables' => [ - 'type' => 'object', - 'required' => false, - 'additionalProperties' => [ - 'type' => 'object', - 'properties' => [ - 'disableModify' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'isModify' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'value' => [ - 'type' => 'string', - 'required' => false, - ], - 'description' => [ - 'type' => 'string', - 'required' => false, - ], - 'templateValue' => [ - 'type' => 'string', - 'required' => false, - ], - 'type' => [ - 'type' => 'string', - 'required' => false, - ], - 'funcValue' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'funcClassName' => [ - 'type' => 'string', - 'required' => false, - ], - 'template' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - ], - ], - ], - ], - ], - ], - ], - 'PublishAdvanceConfig' => [ - 'path' => '/openapi/ha3/instances/{instanceId}/advanced-configs/{configName}/actions/publish', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'instanceId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'configName', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'desc' => [ - 'type' => 'string', - 'required' => false, - ], - 'files' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'ossPath' => [ - 'type' => 'string', - 'required' => false, - ], - 'operateType' => [ - 'type' => 'string', - 'required' => false, - ], - 'parentFullPath' => [ - 'type' => 'string', - 'required' => false, - ], - 'fileName' => [ - 'type' => 'string', - 'required' => false, - ], - 'dirName' => [ - 'type' => 'string', - 'required' => false, - ], - 'config' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'content' => [ - 'type' => 'string', - 'required' => false, - ], - 'variables' => [ - 'type' => 'object', - 'required' => false, - 'additionalProperties' => [ - 'type' => 'object', - 'properties' => [ - 'description' => [ - 'type' => 'string', - 'required' => false, - ], - 'disableModify' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'isModify' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'type' => [ - 'type' => 'string', - 'required' => false, - ], - 'value' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - ], - ], - ], - ], - ], - ], - ], - ], - ], - ], - 'GetAdvanceConfig' => [ - 'path' => '/openapi/ha3/instances/{instanceId}/advanced-configs/{configName}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - 'http', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'instanceId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'type', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'configName', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - ], - ], - 'GetAdvanceConfigFile' => [ - 'path' => '/openapi/ha3/instances/{instanceId}/advanced-configs/{configName}/file', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'instanceId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'configName', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'fileName', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - ], - ], - 'ListAdvanceConfigDir' => [ - 'path' => '/openapi/ha3/instances/{instanceId}/advanced-configs/{configName}/dir', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - 'http', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'instanceId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'configName', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'dirName', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - ], - ], - 'ListAdvanceConfigs' => [ - 'path' => '/openapi/ha3/instances/{instanceId}/advanced-configs', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'instanceId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'type', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'dataSourceName', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'indexName', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'newMode', - 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], - ], - [ - 'name' => 'pageNumber', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'pageSize', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - 'ListSchemas' => [ - 'path' => '/openapi/ha3/instances/{instanceId}/schemas', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'type', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'endpoint', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'accessKey', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'accessSecret', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'project', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'partition', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'table', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'namespace', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'instanceId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - ], - ], - 'ModifyDataSourceDeploy' => [ - 'path' => '/openapi/ha3/instances/{instanceId}/data-sources/{dataSourceName}/deploys/{deployName}', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'instanceId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'deployName', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'dataSourceName', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'generationId', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - ], - [ - 'name' => 'dryRun', - 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], - ], - [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'storage' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'endpoint' => [ - 'type' => 'string', - 'required' => false, - ], - 'accessKey' => [ - 'type' => 'string', - 'required' => false, - ], - 'accessSecret' => [ - 'type' => 'string', - 'required' => false, - ], - 'project' => [ - 'type' => 'string', - 'required' => false, - ], - 'partition' => [ - 'type' => 'string', - 'required' => false, - ], - 'table' => [ - 'type' => 'string', - 'required' => false, - ], - 'namespace' => [ - 'type' => 'string', - 'required' => false, - ], - 'path' => [ - 'type' => 'string', - 'required' => false, - ], - 'ossPath' => [ - 'type' => 'string', - 'required' => false, - ], - 'bucket' => [ - 'type' => 'string', - 'required' => false, - ], - 'catalog' => [ - 'type' => 'string', - 'required' => false, - ], - 'database' => [ - 'type' => 'string', - 'required' => false, - ], - 'tag' => [ - 'type' => 'string', - 'required' => false, - ], - 'tableFormat' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - 'autoBuildIndex' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'processor' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'args' => [ - 'type' => 'string', - 'required' => false, - ], - 'resource' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - 'extend' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'saro' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'path' => [ - 'type' => 'string', - 'required' => false, - ], - 'version' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - 'hdfs' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'path' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - 'odps' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'partitions' => [ - 'type' => 'object', - 'required' => false, - 'additionalProperties' => [ - 'type' => 'string', - ], - ], - ], - ], - 'oss' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'path' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - ], - 'swift' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'zk' => [ - 'type' => 'string', - 'required' => false, - ], - 'topic' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - ], - ], - ], - ], - 'CreateDataSource' => [ - 'path' => '/openapi/ha3/instances/{instanceId}/data-sources', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'instanceId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'dryRun', - 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], - ], - [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'name' => [ - 'type' => 'string', - 'required' => false, - ], - 'type' => [ - 'type' => 'string', - 'required' => false, - ], - 'domain' => [ - 'type' => 'string', - 'required' => false, - ], - 'config' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'endpoint' => [ - 'type' => 'string', - 'required' => false, - ], - 'accessKey' => [ - 'type' => 'string', - 'required' => false, - ], - 'accessSecret' => [ - 'type' => 'string', - 'required' => false, - ], - 'project' => [ - 'type' => 'string', - 'required' => false, - ], - 'partition' => [ - 'type' => 'string', - 'required' => false, - ], - 'table' => [ - 'type' => 'string', - 'required' => false, - ], - 'namespace' => [ - 'type' => 'string', - 'required' => false, - ], - 'path' => [ - 'type' => 'string', - 'required' => false, - ], - 'ossPath' => [ - 'type' => 'string', - 'required' => false, - ], - 'bucket' => [ - 'type' => 'string', - 'required' => false, - ], - 'catalog' => [ - 'type' => 'string', - 'required' => false, - ], - 'database' => [ - 'type' => 'string', - 'required' => false, - ], - 'tag' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - 'saroConfig' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'namespace' => [ - 'type' => 'string', - 'required' => false, - ], - 'tableName' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - 'autoBuildIndex' => [ - 'type' => 'boolean', - 'required' => false, - ], - ], - ], - ], - ], - ], - 'DeleteDataSource' => [ - 'path' => '/openapi/ha3/instances/{instanceId}/data-sources/{dataSourceName}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'http', - 'https', + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'indexName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], ], + ], + 'GetIndexOnlineStrategy' => [ + 'path' => '/openapi/ha3/instances/{instanceId}/data-sources/{dataSourceName}/deploys/{deployName}/indexes/{indexName}/online-strategy', + 'methods' => ['get'], + 'schemes' => ['https', 'http'], 'security' => [ [ 'AK' => [], @@ -3450,30 +1546,29 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'dataSourceName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'deployName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'indexName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'GetDataSource' => [ - 'path' => '/openapi/ha3/instances/{instanceId}/data-sources/{dataSourceName}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetIndexVersion' => [ + 'path' => '/openapi/ha3/instances/{instanceId}/clusters/{clusterName}/index-version', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -3484,30 +1579,19 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'dataSourceName', + 'name' => 'clusterName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'ListDataSources' => [ - 'path' => '/openapi/ha3/instances/{instanceId}/data-sources', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetInstance' => [ + 'path' => '/openapi/ha3/instances/{instanceId}', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -3518,22 +1602,14 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'ListDataSourceSchemas' => [ - 'path' => '/openapi/ha3/instances/{instanceId}/data-sources/{dataSourceName}/schemas', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - 'http', - ], + 'GetModel' => [ + 'path' => '/openapi/ha3/instances/{instanceId}/models/{modelName}', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -3544,30 +1620,19 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'dataSourceName', + 'name' => 'modelName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'ListDateSourceGenerations' => [ - 'path' => '/openapi/ha3/instances/{instanceId}/data-sources/{dataSourceName}/generations', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - 'http', - ], + 'GetNodeConfig' => [ + 'path' => '/openapi/ha3/instances/{instanceId}/node-config', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -3578,46 +1643,29 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'dataSourceName', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'type', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'validStatus', + 'name' => 'name', 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'domainName', + 'name' => 'clusterName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'GetDataSourceDeploy' => [ - 'path' => '/openapi/ha3/instances/{instanceId}/data-sources/{dataSourceName}/deploys/{deployName}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetSqlInstance' => [ + 'path' => '/openapi/ha3/instances/{instanceId}/sql-studio/databases/{database}/sql-instances/{sqlInstanceId}', + 'methods' => ['get'], + 'schemes' => ['https', 'http'], 'security' => [ [ 'AK' => [], @@ -3628,38 +1676,29 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'deployName', + 'name' => 'database', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'dataSourceName', + 'name' => 'sqlInstanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + ], + [ + 'name' => 'version', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], ], ], - 'CloneSqlInstance' => [ - 'path' => '/openapi/ha3/instances/{instanceId}/sql-studio/databases/{database}/sql-instances/{sqlInstanceId}/actions/clone', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetTable' => [ + 'path' => '/openapi/ha3/instances/{instanceId}/tables/{tableName}', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -3670,59 +1709,75 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'database', + 'name' => 'tableName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], + ], + ], + ], + 'GetTableGeneration' => [ + 'path' => '/openapi/ha3/instances/{instanceId}/tables/{tableName}/index_versions/{generationId}', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], ], + ], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'sqlInstanceId', + 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'targetFolderId' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - 'name' => [ - 'type' => 'string', - 'required' => true, - ], - ], - ], + 'name' => 'tableName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'generationId', + 'in' => 'path', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], ], ], - 'CreateFolder' => [ - 'path' => '/openapi/ha3/instances/{instanceId}/sql-studio/databases/{database}/folders', - 'methods' => [ - 'post', + 'ListAdvanceConfigDir' => [ + 'path' => '/openapi/ha3/instances/{instanceId}/advanced-configs/{configName}/dir', + 'methods' => ['get'], + 'schemes' => ['https', 'http'], + 'security' => [ + [ + 'AK' => [], + ], ], - 'schemes' => [ - 'http', - 'https', + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'configName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'dirName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], ], + ], + 'ListAdvanceConfigs' => [ + 'path' => '/openapi/ha3/instances/{instanceId}/advanced-configs', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -3733,54 +1788,74 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'database', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'type', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'name' => [ - 'type' => 'string', - 'required' => true, - ], - 'parent' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - 'type' => [ - 'type' => 'string', - 'required' => true, - ], - ], - ], + 'name' => 'dataSourceName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'indexName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'newMode', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false], + ], + [ + 'name' => 'pageNumber', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'pageSize', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'CreateSqlInstance' => [ - 'path' => '/openapi/ha3/instances/{instanceId}/sql-studio/databases/{database}/sql-instances', - 'methods' => [ - 'post', + 'ListAliases' => [ + 'path' => '/openapi/ha3/instances/{instanceId}/aliases', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], ], - 'schemes' => [ - 'http', - 'https', + ], + 'ListClusterNames' => [ + 'path' => '/openapi/ha3/cluster-names', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], ], + 'deprecated' => false, + 'parameters' => [], + ], + 'ListClusterTasks' => [ + 'path' => '/openapi/ha3/instances/{instanceId}/cluster-tasks', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -3791,50 +1866,14 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'database', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'name' => [ - 'type' => 'string', - 'required' => true, - ], - 'parent' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - ], - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'DeleteSqlInstance' => [ - 'path' => '/openapi/ha3/instances/{instanceId}/sql-studio/databases/{database}/sql-instances/{sqlInstanceId}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListClusters' => [ + 'path' => '/openapi/ha3/instances/{instanceId}/clusters', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -3845,39 +1884,14 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'database', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'sqlInstanceId', - 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'ExecuteSqlInstance' => [ - 'path' => '/openapi/ha3/instances/{instanceId}/sql-studio/databases/{database}/sql-instances/{sqlInstanceId}/actions/execution', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListDataSourceSchemas' => [ + 'path' => '/openapi/ha3/instances/{instanceId}/data-sources/{dataSourceName}/schemas', + 'methods' => ['get'], + 'schemes' => ['https', 'http'], 'security' => [ [ 'AK' => [], @@ -3888,93 +1902,37 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'database', + 'name' => 'dataSourceName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], + ], + ], + 'ListDataSourceTasks' => [ + 'path' => '/openapi/ha3/instances/{instanceId}/data-source-tasks', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'sqlInstanceId', - 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'AK' => [], ], + ], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'content' => [ - 'type' => 'string', - 'required' => true, - ], - 'kvpair' => [ - 'type' => 'object', - 'required' => false, - 'additionalProperties' => [ - 'type' => 'any', - ], - ], - 'dynamicParam' => [ - 'type' => 'object', - 'required' => false, - 'additionalProperties' => [ - 'type' => 'any', - ], - ], - 'staticParam' => [ - 'type' => 'object', - 'required' => false, - 'additionalProperties' => [ - 'type' => 'any', - ], - ], - 'domain' => [ - 'type' => 'string', - 'required' => false, - ], - 'params' => [ - 'type' => 'object', - 'required' => false, - 'additionalProperties' => [ - 'type' => 'any', - ], - ], - 'combineParam' => [ - 'type' => 'object', - 'required' => false, - 'additionalProperties' => [ - 'type' => 'any', - ], - ], - ], - ], + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'GetDatabaseSchema' => [ - 'path' => '/openapi/ha3/instances/{instanceId}/sql-studio/databases/{database}/tables/{tableName}/schema', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - 'http', - ], + 'ListDataSources' => [ + 'path' => '/openapi/ha3/instances/{instanceId}/data-sources', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -3985,38 +1943,32 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], + ], + ], + 'ListDatabases' => [ + 'path' => '/openapi/ha3/instances/{instanceId}/sql-studio/databases', + 'methods' => ['get'], + 'schemes' => ['https', 'http'], + 'security' => [ [ - 'name' => 'database', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'AK' => [], ], + ], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'tableName', + 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'GetSqlInstance' => [ - 'path' => '/openapi/ha3/instances/{instanceId}/sql-studio/databases/{database}/sql-instances/{sqlInstanceId}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - 'http', - ], + 'ListDateSourceGenerations' => [ + 'path' => '/openapi/ha3/instances/{instanceId}/data-sources/{dataSourceName}/generations', + 'methods' => ['get'], + 'schemes' => ['https', 'http'], 'security' => [ [ 'AK' => [], @@ -4027,48 +1979,29 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'database', + 'name' => 'dataSourceName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'sqlInstanceId', - 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'name' => 'validStatus', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false], ], [ - 'name' => 'version', + 'name' => 'domainName', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'ListDatabases' => [ - 'path' => '/openapi/ha3/instances/{instanceId}/sql-studio/databases', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - 'http', - ], + 'ListIndexRecoverRecords' => [ + 'path' => '/openapi/ha3/instances/{instanceId}/indexes/{indexName}/actions/list-recover-records', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4076,25 +2009,22 @@ ], 'deprecated' => false, 'parameters' => [ + [ + 'name' => 'indexName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'UpdateSqlInstanceContent' => [ - 'path' => '/openapi/ha3/instances/{instanceId}/sql-studio/databases/{database}/sql-instances/{sqlInstanceId}/content', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListIndexes' => [ + 'path' => '/openapi/ha3/instances/{instanceId}/indexes', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4105,54 +2035,34 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'database', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'newMode', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false], ], [ - 'name' => 'sqlInstanceId', - 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'name' => 'catalog', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'content' => [ - 'type' => 'string', - 'required' => true, - ], - ], - ], + 'name' => 'database', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'table', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'UpdateSqlInstanceName' => [ - 'path' => '/openapi/ha3/instances/{instanceId}/sql-studio/databases/{database}/sql-instances/{sqlInstanceId}/name', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListInstanceSpecs' => [ + 'path' => '/openapi/ha3/instances/{instanceId}/specs', + 'methods' => ['get'], + 'schemes' => ['https', 'http'], 'security' => [ [ 'AK' => [], @@ -4161,56 +2071,21 @@ 'deprecated' => false, 'parameters' => [ [ - 'name' => 'instanceId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'database', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'sqlInstanceId', + 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'name' => [ - 'type' => 'string', - 'required' => true, - ], - ], - ], + 'name' => 'type', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'UpdateSqlInstanceParams' => [ - 'path' => '/openapi/ha3/instances/{instanceId}/sql-studio/databases/{database}/sql-instances/{sqlInstanceId}/params', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListInstances' => [ + 'path' => '/openapi/ha3/instances', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4218,88 +2093,79 @@ ], 'deprecated' => false, 'parameters' => [ + [ + 'name' => 'pageNumber', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ + 'name' => 'pageSize', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], [ 'name' => 'instanceId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'database', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'description', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'sqlInstanceId', - 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'name' => 'resourceGroupId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'body', - 'in' => 'body', + 'name' => 'edition', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'tags', + 'in' => 'query', 'style' => 'json', 'schema' => [ - 'type' => 'object', + 'type' => 'array', 'required' => false, - 'properties' => [ - 'kvpair' => [ - 'type' => 'object', - 'required' => false, - 'additionalProperties' => [ - 'type' => 'any', - ], - ], - 'dynamicParam' => [ - 'type' => 'object', - 'required' => false, - 'additionalProperties' => [ - 'type' => 'any', - ], - ], - 'staticParam' => [ - 'type' => 'object', - 'required' => false, - 'additionalProperties' => [ - 'type' => 'any', - ], - ], - 'params' => [ - 'type' => 'object', - 'required' => false, - 'additionalProperties' => [ - 'type' => 'any', - ], - ], - 'combineParam' => [ - 'type' => 'object', - 'required' => false, - 'additionalProperties' => [ - 'type' => 'any', - ], + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'key' => ['type' => 'string', 'required' => false], + 'value' => ['type' => 'string', 'required' => false], ], ], ], ], + [ + 'name' => 'catalog', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'database', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'table', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'dataSourceType', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], ], ], - 'DeleteFolder' => [ - 'path' => '/openapi/ha3/instances/{instanceId}/sql-studio/databases/{database}/folders/{folderId}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListLogs' => [ + 'path' => '/openapi/ha3/instances/{instanceId}/logs', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4310,39 +2176,44 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'database', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'type', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'folderId', - 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'name' => 'pageNum', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'pageSize', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'startTime', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'endTime', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'query', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'RenameFolder' => [ - 'path' => '/openapi/ha3/instances/{instanceId}/sql-studio/databases/{database}/folders/{folderId}/name', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListModels' => [ + 'path' => '/openapi/ha3/instances/{instanceId}/models', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -4353,104 +2224,62 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'database', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'name', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'folderId', - 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'name' => 'type', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'name' => [ - 'type' => 'string', - 'required' => true, - ], - ], - ], + 'name' => 'pageNumber', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ + 'name' => 'pageSize', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], ], - 'ListTasks' => [ - 'path' => '/openapi/ha3/instances/{instanceId}/tasks', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListOnlineConfigs' => [ + 'path' => '/openapi/ha3/instances/{instanceId}/node/{nodeName}/online-configs', + 'methods' => ['get'], + 'schemes' => ['https', 'http'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'start', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'name' => 'nodeName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'end', + 'name' => 'domain', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'ListClusterTasks' => [ - 'path' => '/openapi/ha3/instances/{instanceId}/cluster-tasks', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListPausePolicys' => [ + 'path' => '/openapi/ha3/instances/{instanceId}/pause-policies', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4461,22 +2290,14 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'ListDataSourceTasks' => [ - 'path' => '/openapi/ha3/instances/{instanceId}/data-source-tasks', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListPostQueryResult' => [ + 'path' => '/openapi/ha3/instances/{instanceId}/query', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4487,22 +2308,25 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'type', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => ['type' => 'object', 'required' => false], ], ], ], - 'StopTask' => [ - 'path' => '/openapi/ha3/instances/{instanceId}/stop-task/{fsmId}', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListQueryResult' => [ + 'path' => '/openapi/ha3/instances/{instanceId}/query', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4513,30 +2337,24 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'fsmId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'query', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'sql', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'ForceSwitch' => [ - 'path' => '/openapi/ha3/instances/{instanceId}/force-switch/{fsmId}', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListRestQueryResult' => [ + 'path' => '/openapi/ha3/instances/{instanceId}/rest-query', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4547,30 +2365,27 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'fsmId', - 'in' => 'path', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', - 'required' => true, + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'indexName' => ['type' => 'string', 'required' => false], + 'query' => ['type' => 'object', 'required' => false], + ], ], ], ], ], - 'ListLogs' => [ - 'path' => '/openapi/ha3/instances/{instanceId}/logs', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListSchemas' => [ + 'path' => '/openapi/ha3/instances/{instanceId}/schemas', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4579,72 +2394,56 @@ 'deprecated' => false, 'parameters' => [ [ - 'name' => 'instanceId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'type', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'type', + 'name' => 'endpoint', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'pageNum', + 'name' => 'accessKey', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'pageSize', + 'name' => 'accessSecret', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'startTime', + 'name' => 'project', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'endTime', + 'name' => 'partition', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'query', + 'name' => 'table', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'namespace', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'ModifyNodeConfig' => [ - 'path' => '/openapi/ha3/instances/{instanceId}/node-config', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListTableGenerations' => [ + 'path' => '/openapi/ha3/instances/{instanceId}/tables/{tableName}/index_versions', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4655,93 +2454,19 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'type', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'name', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'clusterName', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'dataSourceName', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'dataFragmentNumber' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'dataDuplicateNumber' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'minServicePercent' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'published' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'active' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'flowRatio' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - ], + 'name' => 'tableName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'GetDeployGraph' => [ - 'path' => '/openapi/ha3/instances/{instanceId}/deploy-graph', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListTables' => [ + 'path' => '/openapi/ha3/instances/{instanceId}/tables', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4752,106 +2477,100 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'newMode', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false], ], ], ], - 'GetNodeConfig' => [ - 'path' => '/openapi/ha3/instances/{instanceId}/node-config', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListTagResources' => [ + 'path' => '/openapi/ha3/resource-tags', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'instanceId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'resourceType', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'type', + 'name' => 'resourceId', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'array', 'required' => false, + 'items' => ['type' => 'string', 'required' => false], ], ], [ - 'name' => 'name', + 'name' => 'tag', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'array', 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'key' => ['type' => 'string', 'required' => false], + 'value' => ['type' => 'string', 'required' => false], + ], + ], ], ], [ - 'name' => 'clusterName', + 'name' => 'nextToken', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'ListIndexRecoverRecords' => [ - 'path' => '/openapi/ha3/instances/{instanceId}/indexes/{indexName}/actions/list-recover-records', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListTasks' => [ + 'path' => '/openapi/ha3/instances/{instanceId}/tasks', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'indexName', + 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'instanceId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'start', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], + [ + 'name' => 'end', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], ], ], - 'ListPausePolicys' => [ - 'path' => '/openapi/ha3/instances/{instanceId}/pause-policies', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListVectorQueryResult' => [ + 'path' => '/openapi/ha3/instances/{instanceId}/vector-query', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4862,22 +2581,35 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'path', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'queryType', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'vectorQueryType', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => ['type' => 'object', 'required' => false], ], ], ], - 'ModifyPausePolicy' => [ - 'path' => '/openapi/ha3/instances/{instanceId}/pause-policies', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ModifyAdvanceConfig' => [ + 'path' => '/openapi/ha3/instances/{instanceId}/advanced-configs/{configName}', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4888,56 +2620,50 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'additionalProperties' => [ - 'type' => 'object', - 'properties' => [ - 'pauseAll' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'pauseIndex' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'pauseIndexBatch' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'pauseBiz' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'pauseRuntime' => [ - 'type' => 'boolean', + 'name' => 'configName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'name' => ['type' => 'string', 'required' => false], + 'status' => ['type' => 'string', 'required' => false], + 'updateTime' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + 'desc' => ['type' => 'string', 'required' => false], + 'files' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'object', 'required' => false, + 'properties' => [ + 'name' => ['type' => 'string', 'required' => false], + 'fullPathName' => ['type' => 'string', 'required' => false], + 'isDir' => ['type' => 'boolean', 'required' => false], + 'isTemplate' => ['type' => 'boolean', 'required' => false], + ], ], ], + 'content' => ['type' => 'string', 'required' => false], + 'contentType' => ['type' => 'string', 'required' => false], ], ], ], ], ], - 'CreateCluster' => [ - 'path' => '/openapi/ha3/instances/{instanceId}/clusters', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ModifyAdvanceConfigFile' => [ + 'path' => '/openapi/ha3/instances/{instanceId}/advanced-configs/{configName}/file', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4948,10 +2674,17 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'configName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'fileName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'body', @@ -4961,58 +2694,39 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'name' => [ - 'type' => 'string', - 'required' => false, - ], - 'description' => [ - 'type' => 'string', - 'required' => false, - ], - 'queryNode' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'number' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - ], - 'dataNode' => [ + 'content' => ['type' => 'string', 'required' => false], + 'variables' => [ 'type' => 'object', 'required' => false, - 'properties' => [ - 'number' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'partition' => [ - 'type' => 'string', - 'required' => false, + 'additionalProperties' => [ + 'type' => 'object', + 'properties' => [ + 'disableModify' => ['type' => 'boolean', 'required' => false], + 'isModify' => ['type' => 'boolean', 'required' => false], + 'value' => ['type' => 'string', 'required' => false], + 'description' => ['type' => 'string', 'required' => false], + 'templateValue' => ['type' => 'string', 'required' => false], + 'type' => ['type' => 'string', 'required' => false], + 'funcValue' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'funcClassName' => ['type' => 'string', 'required' => false], + 'template' => ['type' => 'string', 'required' => false], + ], + ], ], ], ], - 'autoLoad' => [ - 'type' => 'boolean', - 'required' => false, - ], ], ], ], ], ], - 'RemoveCluster' => [ - 'path' => '/openapi/ha3/instances/{instanceId}/clusters/{clusterName}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ModifyAlias' => [ + 'path' => '/openapi/ha3/instances/{instanceId}/aliases/{alias}', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5023,30 +2737,32 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'clusterName', + 'name' => 'alias', 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'alias' => ['type' => 'string', 'required' => false], + 'index' => ['type' => 'string', 'required' => false], + ], ], ], ], ], 'ModifyClusterDesc' => [ 'path' => '/openapi/ha3/instances/{instanceId}/clusters/{clusterName}/desc', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5057,39 +2773,25 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'clusterName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - ], + 'schema' => ['type' => 'object', 'required' => false], ], ], ], 'ModifyClusterOfflineConfig' => [ 'path' => '/openapi/ha3/instances/{instanceId}/cluster-offline-config', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5100,10 +2802,7 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'body', @@ -5113,48 +2812,19 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'dataSourceName' => [ - 'type' => 'string', - 'required' => false, - ], - 'dataSourceType' => [ - 'type' => 'string', - 'required' => false, - ], - 'domain' => [ - 'type' => 'string', - 'required' => false, - ], + 'dataSourceName' => ['type' => 'string', 'required' => false], + 'dataSourceType' => ['type' => 'string', 'required' => false], + 'domain' => ['type' => 'string', 'required' => false], 'config' => [ 'type' => 'object', 'required' => false, - 'additionalProperties' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - ], - 'partition' => [ - 'type' => 'string', - 'required' => false, - ], - 'dataTimeSec' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'buildMode' => [ - 'type' => 'string', - 'required' => false, - ], - 'generation' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - 'pushMode' => [ - 'type' => 'string', - 'required' => false, + 'additionalProperties' => ['type' => 'integer', 'format' => 'int32'], ], + 'partition' => ['type' => 'string', 'required' => false], + 'dataTimeSec' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'buildMode' => ['type' => 'string', 'required' => false], + 'generation' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + 'pushMode' => ['type' => 'string', 'required' => false], ], ], ], @@ -5162,13 +2832,8 @@ ], 'ModifyClusterOnlineConfig' => [ 'path' => '/openapi/ha3/instances/{instanceId}/cluster-online-config', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'https', - 'http', - ], + 'methods' => ['put'], + 'schemes' => ['https', 'http'], 'security' => [ [ 'AK' => [], @@ -5179,10 +2844,7 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'body', @@ -5195,33 +2857,22 @@ 'config' => [ 'type' => 'object', 'required' => false, - 'additionalProperties' => [ - 'type' => 'integer', - 'format' => 'int32', - ], + 'additionalProperties' => ['type' => 'integer', 'format' => 'int32'], ], 'clusters' => [ 'type' => 'array', 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], + 'items' => ['type' => 'string', 'required' => false], ], ], ], ], ], ], - 'GetCluster' => [ - 'path' => '/openapi/ha3/instances/{instanceId}/clusters/{clusterName}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ModifyDataSourceDeploy' => [ + 'path' => '/openapi/ha3/instances/{instanceId}/data-sources/{dataSourceName}/deploys/{deployName}', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5232,121 +2883,27 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'clusterName', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - 'GetClusterRunTimeInfo' => [ - 'path' => '/openapi/ha3/instances/{instanceId}/cluster-run-time-info', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], + 'schema' => ['type' => 'string', 'required' => true], ], - ], - 'deprecated' => false, - 'parameters' => [ [ - 'name' => 'instanceId', + 'name' => 'deployName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - ], - ], - 'ListClusterNames' => [ - 'path' => '/openapi/ha3/cluster-names', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'deprecated' => false, - 'parameters' => [], - ], - 'ListClusters' => [ - 'path' => '/openapi/ha3/instances/{instanceId}/clusters', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], + 'schema' => ['type' => 'string', 'required' => true], ], - ], - 'deprecated' => false, - 'parameters' => [ [ - 'name' => 'instanceId', + 'name' => 'dataSourceName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - ], - ], - 'ModifyAlias' => [ - 'path' => '/openapi/ha3/instances/{instanceId}/aliases/{alias}', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], + 'schema' => ['type' => 'string', 'required' => true], ], - ], - 'deprecated' => false, - 'parameters' => [ [ - 'name' => 'instanceId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'generationId', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ - 'name' => 'alias', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'dryRun', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false], ], [ 'name' => 'body', @@ -5356,54 +2913,91 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'alias' => [ - 'type' => 'string', + 'storage' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'endpoint' => ['type' => 'string', 'required' => false], + 'accessKey' => ['type' => 'string', 'required' => false], + 'accessSecret' => ['type' => 'string', 'required' => false], + 'project' => ['type' => 'string', 'required' => false], + 'partition' => ['type' => 'string', 'required' => false], + 'table' => ['type' => 'string', 'required' => false], + 'namespace' => ['type' => 'string', 'required' => false], + 'path' => ['type' => 'string', 'required' => false], + 'ossPath' => ['type' => 'string', 'required' => false], + 'bucket' => ['type' => 'string', 'required' => false], + 'catalog' => ['type' => 'string', 'required' => false], + 'database' => ['type' => 'string', 'required' => false], + 'tag' => ['type' => 'string', 'required' => false], + 'tableFormat' => ['type' => 'string', 'required' => false], + ], + ], + 'autoBuildIndex' => ['type' => 'boolean', 'required' => false], + 'processor' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'args' => ['type' => 'string', 'required' => false], + 'resource' => ['type' => 'string', 'required' => false], + ], + ], + 'extend' => [ + 'type' => 'object', 'required' => false, + 'properties' => [ + 'saro' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'path' => ['type' => 'string', 'required' => false], + 'version' => ['type' => 'string', 'required' => false], + ], + ], + 'hdfs' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'path' => ['type' => 'string', 'required' => false], + ], + ], + 'odps' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'partitions' => [ + 'type' => 'object', + 'required' => false, + 'additionalProperties' => ['type' => 'string'], + ], + ], + ], + 'oss' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'path' => ['type' => 'string', 'required' => false], + ], + ], + ], ], - 'index' => [ - 'type' => 'string', + 'swift' => [ + 'type' => 'object', 'required' => false, + 'properties' => [ + 'zk' => ['type' => 'string', 'required' => false], + 'topic' => ['type' => 'string', 'required' => false], + ], ], ], ], ], ], ], - 'ListAliases' => [ - 'path' => '/openapi/ha3/instances/{instanceId}/aliases', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'instanceId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - ], - ], - 'DeleteAlias' => [ - 'path' => '/openapi/ha3/instances/{instanceId}/aliases/{alias}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ModifyFile' => [ + 'path' => '/openapi/ha3/instances/{instanceId}/indexes/{indexName}/versions/{versionName}/file', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5414,52 +3008,22 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'alias', + 'name' => 'indexName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - ], - ], - 'CreateAlias' => [ - 'path' => '/openapi/ha3/instances/{instanceId}/aliases', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], + 'schema' => ['type' => 'string', 'required' => true], ], - ], - 'deprecated' => false, - 'parameters' => [ [ - 'name' => 'instanceId', + 'name' => 'versionName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'newMode', + 'name' => 'fileName', 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'body', @@ -5469,28 +3033,17 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'alias' => [ - 'type' => 'string', - 'required' => false, - ], - 'index' => [ - 'type' => 'string', - 'required' => false, - ], + 'content' => ['type' => 'string', 'required' => false], + 'partition' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], ], ], ], - 'CreateTable' => [ - 'path' => '/openapi/ha3/instances/{instanceId}/tables', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ModifyIndex' => [ + 'path' => '/openapi/ha3/instances/{instanceId}/indexes/{indexName}', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5501,18 +3054,17 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'indexName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'dryRun', 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'schema' => ['type' => 'boolean', 'required' => false], ], [ 'name' => 'body', @@ -5522,252 +3074,223 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'name' => [ - 'type' => 'string', - 'required' => false, - ], - 'dataProcessorCount' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'partitionCount' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'dataSource' => [ + 'dataSourceInfo' => [ 'type' => 'object', 'required' => false, 'properties' => [ - 'type' => [ - 'type' => 'string', - 'required' => false, - ], - 'dataTimeSec' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'autoBuildIndex' => [ - 'type' => 'boolean', + 'buildMode' => ['type' => 'string', 'required' => false], + 'generation' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + 'dataTimeSec' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'processPartitionCount' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'name' => ['type' => 'string', 'required' => false], + 'type' => ['type' => 'string', 'required' => false], + 'domain' => ['type' => 'string', 'required' => false], + 'config' => [ + 'type' => 'object', 'required' => false, + 'properties' => [ + 'endpoint' => ['type' => 'string', 'required' => false], + 'accessKey' => ['type' => 'string', 'required' => false], + 'accessSecret' => ['type' => 'string', 'required' => false], + 'project' => ['type' => 'string', 'required' => false], + 'partition' => ['type' => 'string', 'required' => false], + 'table' => ['type' => 'string', 'required' => false], + 'namespace' => ['type' => 'string', 'required' => false], + 'path' => ['type' => 'string', 'required' => false], + 'ossPath' => ['type' => 'string', 'required' => false], + 'bucket' => ['type' => 'string', 'required' => false], + 'format' => ['type' => 'string', 'required' => false], + 'catalog' => ['type' => 'string', 'required' => false], + 'database' => ['type' => 'string', 'required' => false], + 'tag' => ['type' => 'string', 'required' => false], + 'tableFormat' => ['type' => 'string', 'required' => false], + ], ], - 'config' => [ + 'saroConfig' => [ 'type' => 'object', 'required' => false, 'properties' => [ - 'endpoint' => [ - 'type' => 'string', - 'required' => false, - ], - 'accessKey' => [ - 'type' => 'string', - 'required' => false, - ], - 'accessSecret' => [ - 'type' => 'string', - 'required' => false, - ], - 'project' => [ - 'type' => 'string', - 'required' => false, - ], - 'partition' => [ - 'type' => 'string', - 'required' => false, - ], - 'table' => [ - 'type' => 'string', - 'required' => false, - ], - 'path' => [ - 'type' => 'string', - 'required' => false, - ], - 'ossPath' => [ - 'type' => 'string', - 'required' => false, - ], - 'bucket' => [ - 'type' => 'string', - 'required' => false, - ], - 'catalog' => [ - 'type' => 'string', - 'required' => false, - ], - 'database' => [ - 'type' => 'string', - 'required' => false, - ], - 'tag' => [ - 'type' => 'string', - 'required' => false, - ], - 'tableFormat' => [ - 'type' => 'string', - 'required' => false, - ], - 'format' => [ - 'type' => 'string', - 'required' => false, - ], + 'namespace' => ['type' => 'string', 'required' => false], + 'tableName' => ['type' => 'string', 'required' => false], ], ], + 'autoBuildIndex' => ['type' => 'boolean', 'required' => false], + 'processParallelNum' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'partition' => ['type' => 'string', 'required' => false], + 'ossDataPath' => ['type' => 'string', 'required' => false], ], ], - 'rawSchema' => [ - 'type' => 'string', - 'required' => false, - ], - 'primaryKey' => [ - 'type' => 'string', - 'required' => false, - ], - 'fieldSchema' => [ + 'description' => ['type' => 'string', 'required' => false], + 'content' => ['type' => 'string', 'required' => false], + 'partition' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'dataSource' => ['type' => 'string', 'required' => false], + 'domain' => ['type' => 'string', 'required' => false], + 'buildParallelNum' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'mergeParallelNum' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'cluster' => [ 'type' => 'object', 'required' => false, 'additionalProperties' => [ - 'type' => 'string', + 'type' => 'object', + 'additionalProperties' => [ + 'type' => 'object', + 'properties' => [ + 'value' => ['type' => 'string'], + 'description' => ['type' => 'string'], + 'disableModify' => ['type' => 'boolean'], + 'isModify' => ['type' => 'boolean'], + 'type' => ['type' => 'string'], + ], + ], ], ], - 'vectorIndex' => [ - 'type' => 'array', + 'clusterConfigName' => ['type' => 'string', 'required' => false], + 'config' => [ + 'type' => 'object', 'required' => false, - 'items' => [ + 'additionalProperties' => [ 'type' => 'object', - 'required' => false, 'properties' => [ - 'indexName' => [ - 'type' => 'string', - 'required' => false, - ], - 'vectorField' => [ - 'type' => 'string', - 'required' => false, - ], - 'sparseIndexField' => [ - 'type' => 'string', - 'required' => false, - ], - 'sparseValueField' => [ - 'type' => 'string', - 'required' => false, - ], - 'dimension' => [ - 'type' => 'string', - 'required' => false, - ], - 'vectorIndexType' => [ - 'type' => 'string', - 'required' => false, - ], - 'distanceType' => [ - 'type' => 'string', - 'required' => false, - ], - 'namespace' => [ - 'type' => 'string', - 'required' => false, - ], - 'advanceParams' => [ - 'type' => 'object', + 'desc' => ['type' => 'string', 'required' => false], + 'files' => [ + 'type' => 'array', 'required' => false, - 'properties' => [ - 'buildIndexParams' => [ - 'type' => 'string', - 'required' => false, - ], - 'searchIndexParams' => [ - 'type' => 'string', - 'required' => false, - ], - 'minScanDocCnt' => [ - 'type' => 'string', - 'required' => false, - ], - 'linearBuildThreshold' => [ - 'type' => 'string', - 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'operateType' => ['type' => 'string', 'required' => false], + 'parentFullPath' => ['type' => 'string', 'required' => false], + 'fileName' => ['type' => 'string', 'required' => false], + 'config' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'content' => ['type' => 'string', 'required' => false], + 'variables' => [ + 'type' => 'object', + 'required' => false, + 'additionalProperties' => [ + 'type' => 'object', + 'properties' => [ + 'description' => ['type' => 'string', 'required' => false], + 'disableModify' => ['type' => 'boolean', 'required' => false], + 'isModify' => ['type' => 'boolean', 'required' => false], + 'type' => ['type' => 'string', 'required' => false], + 'value' => ['type' => 'string', 'required' => false], + ], + ], + ], + ], + ], + 'dirName' => ['type' => 'string', 'required' => false], ], ], ], ], ], ], - 'dataProcessConfig' => [ + 'pushMode' => ['type' => 'string', 'required' => false], + 'extend' => ['type' => 'object', 'required' => false], + ], + ], + ], + ], + ], + 'ModifyIndexOnlineStrategy' => [ + 'path' => '/openapi/ha3/instances/{instanceId}/data-sources/{dataSourceName}/deploys/{deployName}/indexes/{indexName}/online-strategy', + 'methods' => ['put'], + 'schemes' => ['https', 'http'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'dataSourceName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'deployName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'indexName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'changeRate' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + ], + ], + ], + ], + 'ModifyIndexPartition' => [ + 'path' => '/openapi/ha3/instances/{instanceId}/index-partition', + 'methods' => ['put'], + 'schemes' => ['https', 'http'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'dataSourceName' => ['type' => 'string', 'required' => false], + 'generation' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + 'domainName' => ['type' => 'string', 'required' => false], + 'indexInfos' => [ 'type' => 'array', 'required' => false, 'items' => [ 'type' => 'object', 'required' => false, 'properties' => [ - 'operator' => [ - 'type' => 'string', - 'required' => false, - ], - 'dstField' => [ - 'type' => 'string', - 'required' => false, - ], - 'srcField' => [ - 'type' => 'string', - 'required' => false, - ], - 'params' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'vectorModel' => [ - 'type' => 'string', - 'required' => false, - ], - 'vectorModal' => [ - 'type' => 'string', - 'required' => false, - ], - 'srcFieldConfig' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'ossEndpoint' => [ - 'type' => 'string', - 'required' => false, - ], - 'ossBucket' => [ - 'type' => 'string', - 'required' => false, - ], - 'uid' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - ], + 'indexName' => ['type' => 'string', 'required' => false], + 'partitionCount' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'parallelNum' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], ], - 'scene' => [ - 'type' => 'string', - 'required' => false, - ], ], ], ], ], ], - 'ModifyTable' => [ - 'path' => '/openapi/ha3/instances/{instanceId}/tables/{tableName}', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ModifyIndexVersion' => [ + 'path' => '/openapi/ha3/instances/{instanceId}/clusters/{clusterName}/index-version', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5778,26 +3301,58 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'tableName', + 'name' => 'clusterName', 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', - 'required' => true, + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'indexName' => ['type' => 'string', 'required' => false], + 'version' => ['type' => 'string', 'required' => false], + 'buildDeployId' => ['type' => 'string', 'required' => false], + ], + ], ], ], + ], + ], + 'ModifyModel' => [ + 'path' => '/openapi/ha3/instances/{instanceId}/models/{modelName}', + 'methods' => ['put'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'modelName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], [ 'name' => 'dryRun', 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'body', @@ -5807,235 +3362,131 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'partitionCount' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'dataSource' => [ + 'content' => [ 'type' => 'object', 'required' => false, 'properties' => [ - 'dataTimeSec' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'autoBuildIndex' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'config' => [ + 'method' => ['type' => 'string', 'required' => false], + 'modelType' => ['type' => 'string', 'required' => false], + 'dimension' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'request' => [ 'type' => 'object', 'required' => false, 'properties' => [ - 'endpoint' => [ - 'type' => 'string', - 'required' => false, - ], - 'accessKey' => [ - 'type' => 'string', - 'required' => false, - ], - 'accessSecret' => [ - 'type' => 'string', - 'required' => false, - ], - 'project' => [ - 'type' => 'string', - 'required' => false, - ], - 'partition' => [ - 'type' => 'string', - 'required' => false, - ], - 'table' => [ - 'type' => 'string', - 'required' => false, - ], - 'ossPath' => [ - 'type' => 'string', - 'required' => false, - ], - 'bucket' => [ - 'type' => 'string', - 'required' => false, - ], - 'catalog' => [ - 'type' => 'string', - 'required' => false, - ], - 'database' => [ - 'type' => 'string', - 'required' => false, - ], - 'tag' => [ - 'type' => 'string', - 'required' => false, - ], - 'tableFormat' => [ - 'type' => 'string', + 'header' => [ + 'type' => 'object', 'required' => false, + 'properties' => [ + 'Authorization' => ['type' => 'string', 'required' => false], + 'Content-Type' => ['type' => 'string', 'required' => false], + ], ], - 'path' => [ - 'type' => 'string', + 'parameters' => [ + 'type' => 'object', 'required' => false, + 'properties' => [ + 'build' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'input_type' => ['type' => 'string', 'required' => false], + ], + ], + 'search' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'input_type' => ['type' => 'string', 'required' => false], + ], + ], + ], ], - 'format' => [ - 'type' => 'string', + 'requestBody' => ['type' => 'string', 'required' => false], + 'urlParams' => [ + 'type' => 'object', 'required' => false, - ], - ], - ], - ], - ], - 'rawSchema' => [ - 'type' => 'string', - 'required' => false, - ], - 'primaryKey' => [ - 'type' => 'string', - 'required' => false, - ], - 'fieldSchema' => [ - 'type' => 'object', - 'required' => false, - 'additionalProperties' => [ - 'type' => 'string', - ], - ], - 'vectorIndex' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'indexName' => [ - 'type' => 'string', - 'required' => false, - ], - 'vectorField' => [ - 'type' => 'string', - 'required' => false, - ], - 'sparseIndexField' => [ - 'type' => 'string', - 'required' => false, - ], - 'sparseValueField' => [ - 'type' => 'string', - 'required' => false, - ], - 'dimension' => [ - 'type' => 'string', - 'required' => false, - ], - 'vectorIndexType' => [ - 'type' => 'string', - 'required' => false, - ], - 'distanceType' => [ - 'type' => 'string', - 'required' => false, - ], - 'namespace' => [ - 'type' => 'string', - 'required' => false, - ], - 'advanceParams' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'buildIndexParams' => [ - 'type' => 'string', - 'required' => false, - ], - 'searchIndexParams' => [ - 'type' => 'string', - 'required' => false, - ], - 'minScanDocCnt' => [ - 'type' => 'string', - 'required' => false, - ], - 'linearBuildThreshold' => [ - 'type' => 'string', - 'required' => false, + 'properties' => [ + 'build' => ['type' => 'object', 'required' => false], + 'search' => ['type' => 'object', 'required' => false], ], ], ], ], - ], - ], - 'dataProcessConfig' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'operator' => [ - 'type' => 'string', - 'required' => false, - ], - 'dstField' => [ - 'type' => 'string', - 'required' => false, - ], - 'srcField' => [ - 'type' => 'string', - 'required' => false, - ], - 'params' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'vectorModel' => [ - 'type' => 'string', - 'required' => false, - ], - 'vectorModal' => [ - 'type' => 'string', - 'required' => false, - ], - 'srcFieldConfig' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'ossEndpoint' => [ - 'type' => 'string', - 'required' => false, - ], - 'ossBucket' => [ - 'type' => 'string', - 'required' => false, - ], - 'uid' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], + 'response' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'embeddings' => ['type' => 'string', 'required' => false], ], ], + 'url' => ['type' => 'string', 'required' => false], ], ], + 'status' => ['type' => 'string', 'required' => false], + ], + ], + ], + ], + ], + 'ModifyNodeConfig' => [ + 'path' => '/openapi/ha3/instances/{instanceId}/node-config', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'type', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'name', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'clusterName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'dataSourceName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'dataFragmentNumber' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'dataDuplicateNumber' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'minServicePercent' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'published' => ['type' => 'boolean', 'required' => false], + 'active' => ['type' => 'boolean', 'required' => false], + 'flowRatio' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], ], ], ], - 'GetTable' => [ - 'path' => '/openapi/ha3/instances/{instanceId}/tables/{tableName}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ModifyOnlineConfig' => [ + 'path' => '/openapi/ha3/instances/{instanceId}/node/{nodeName}/online-configs/{indexName}', + 'methods' => ['put'], + 'schemes' => ['https', 'http'], 'security' => [ [ 'AK' => [], @@ -6046,30 +3497,34 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'tableName', + 'name' => 'nodeName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'indexName', 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', - 'required' => true, + 'type' => 'object', + 'required' => false, + 'additionalProperties' => ['type' => 'string'], ], ], ], ], - 'ListTables' => [ - 'path' => '/openapi/ha3/instances/{instanceId}/tables', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ModifyPassword' => [ + 'path' => '/openapi/ha3/instances/{instanceId}/password', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6080,30 +3535,27 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'newMode', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'boolean', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'username' => ['type' => 'string', 'required' => false], + 'password' => ['type' => 'string', 'required' => false], + ], ], ], ], ], - 'DeleteTable' => [ - 'path' => '/openapi/ha3/instances/{instanceId}/tables/{tableName}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ModifyPausePolicy' => [ + 'path' => '/openapi/ha3/instances/{instanceId}/pause-policies', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6114,52 +3566,115 @@ [ 'name' => 'instanceId', 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', - 'required' => true, + 'type' => 'object', + 'required' => false, + 'additionalProperties' => [ + 'type' => 'object', + 'properties' => [ + 'pauseAll' => ['type' => 'boolean', 'required' => false], + 'pauseIndex' => ['type' => 'boolean', 'required' => false], + 'pauseIndexBatch' => ['type' => 'boolean', 'required' => false], + 'pauseBiz' => ['type' => 'boolean', 'required' => false], + 'pauseRuntime' => ['type' => 'boolean', 'required' => false], + ], + ], ], ], + ], + ], + 'ModifyPublicUrlIpList' => [ + 'path' => '/openapi/ha3/instances/{instanceId}/public-url-ip-list', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'tableName', + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'instanceId', 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', - 'required' => true, + 'type' => 'object', + 'required' => false, + 'additionalProperties' => ['type' => 'string'], ], ], ], ], - 'Reindex' => [ - 'path' => '/openapi/ha3/instances/{instanceId}/tables/{tableName}/reindex', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ModifySearcherReplica' => [ + 'path' => '/openapi/ha3/instances/{instanceId}/replica', + 'methods' => ['put'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'instanceId', 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', - 'required' => true, + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'replica' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'partition' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], ], ], + ], + ], + 'ModifyTable' => [ + 'path' => '/openapi/ha3/instances/{instanceId}/tables/{tableName}', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], [ 'name' => 'tableName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'dryRun', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false], ], [ 'name' => 'body', @@ -6169,33 +3684,109 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'dataTimeSec' => [ - 'type' => 'integer', - 'format' => 'int32', + 'partitionCount' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'dataSource' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'dataTimeSec' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'autoBuildIndex' => ['type' => 'boolean', 'required' => false], + 'config' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'endpoint' => ['type' => 'string', 'required' => false], + 'accessKey' => ['type' => 'string', 'required' => false], + 'accessSecret' => ['type' => 'string', 'required' => false], + 'project' => ['type' => 'string', 'required' => false], + 'partition' => ['type' => 'string', 'required' => false], + 'table' => ['type' => 'string', 'required' => false], + 'ossPath' => ['type' => 'string', 'required' => false], + 'bucket' => ['type' => 'string', 'required' => false], + 'catalog' => ['type' => 'string', 'required' => false], + 'database' => ['type' => 'string', 'required' => false], + 'tag' => ['type' => 'string', 'required' => false], + 'tableFormat' => ['type' => 'string', 'required' => false], + 'path' => ['type' => 'string', 'required' => false], + 'format' => ['type' => 'string', 'required' => false], + ], + ], + ], + ], + 'rawSchema' => ['type' => 'string', 'required' => false], + 'primaryKey' => ['type' => 'string', 'required' => false], + 'fieldSchema' => [ + 'type' => 'object', 'required' => false, + 'additionalProperties' => ['type' => 'string'], ], - 'partition' => [ - 'type' => 'string', + 'vectorIndex' => [ + 'type' => 'array', 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'indexName' => ['type' => 'string', 'required' => false], + 'vectorField' => ['type' => 'string', 'required' => false], + 'sparseIndexField' => ['type' => 'string', 'required' => false], + 'sparseValueField' => ['type' => 'string', 'required' => false], + 'dimension' => ['type' => 'string', 'required' => false], + 'vectorIndexType' => ['type' => 'string', 'required' => false], + 'distanceType' => ['type' => 'string', 'required' => false], + 'namespace' => ['type' => 'string', 'required' => false], + 'advanceParams' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'buildIndexParams' => ['type' => 'string', 'required' => false], + 'searchIndexParams' => ['type' => 'string', 'required' => false], + 'minScanDocCnt' => ['type' => 'string', 'required' => false], + 'linearBuildThreshold' => ['type' => 'string', 'required' => false], + ], + ], + ], + ], ], - 'ossDataPath' => [ - 'type' => 'string', + 'dataProcessConfig' => [ + 'type' => 'array', 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'operator' => ['type' => 'string', 'required' => false], + 'dstField' => ['type' => 'string', 'required' => false], + 'srcField' => ['type' => 'string', 'required' => false], + 'params' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'vectorModel' => ['type' => 'string', 'required' => false], + 'vectorModal' => ['type' => 'string', 'required' => false], + 'srcFieldConfig' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'ossEndpoint' => ['type' => 'string', 'required' => false], + 'ossBucket' => ['type' => 'string', 'required' => false], + 'uid' => ['type' => 'string', 'required' => false], + ], + ], + ], + ], + ], + ], ], ], ], ], ], ], - 'ListTableGenerations' => [ - 'path' => '/openapi/ha3/instances/{instanceId}/tables/{tableName}/index_versions', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'PublishAdvanceConfig' => [ + 'path' => '/openapi/ha3/instances/{instanceId}/advanced-configs/{configName}/actions/publish', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6206,30 +3797,67 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'tableName', + 'name' => 'configName', 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', - 'required' => true, + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'desc' => ['type' => 'string', 'required' => false], + 'files' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'ossPath' => ['type' => 'string', 'required' => false], + 'operateType' => ['type' => 'string', 'required' => false], + 'parentFullPath' => ['type' => 'string', 'required' => false], + 'fileName' => ['type' => 'string', 'required' => false], + 'dirName' => ['type' => 'string', 'required' => false], + 'config' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'content' => ['type' => 'string', 'required' => false], + 'variables' => [ + 'type' => 'object', + 'required' => false, + 'additionalProperties' => [ + 'type' => 'object', + 'properties' => [ + 'description' => ['type' => 'string', 'required' => false], + 'disableModify' => ['type' => 'boolean', 'required' => false], + 'isModify' => ['type' => 'boolean', 'required' => false], + 'type' => ['type' => 'string', 'required' => false], + 'value' => ['type' => 'string', 'required' => false], + ], + ], + ], + ], + ], + ], + ], + ], + ], ], ], ], ], - 'GetTableGeneration' => [ - 'path' => '/openapi/ha3/instances/{instanceId}/tables/{tableName}/index_versions/{generationId}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'PublishIndexVersion' => [ + 'path' => '/openapi/ha3/instances/{instanceId}/indexes/{indexName}/actions/publish', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6240,39 +3868,25 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'tableName', + 'name' => 'indexName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'generationId', - 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => ['type' => 'object', 'required' => false], ], ], ], - 'ListPostQueryResult' => [ - 'path' => '/openapi/ha3/instances/{instanceId}/query', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'PushDocuments' => [ + 'path' => '/openapi/ha3/instances/{instanceId}/data-sources/{dataSourceName}/actions/bulk', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6283,39 +3897,34 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'type', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'dataSourceName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ - 'type' => 'object', + 'type' => 'array', 'required' => false, + 'items' => ['type' => 'any', 'required' => false], ], ], + [ + 'name' => 'pkField', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], ], ], - 'ListRestQueryResult' => [ - 'path' => '/openapi/ha3/instances/{instanceId}/rest-query', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'RecoverIndex' => [ + 'path' => '/openapi/ha3/instances/{instanceId}/recover-index', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6326,10 +3935,7 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'body', @@ -6339,28 +3945,19 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'indexName' => [ - 'type' => 'string', - 'required' => false, - ], - 'query' => [ - 'type' => 'object', - 'required' => false, - ], + 'dataSourceName' => ['type' => 'string', 'required' => false], + 'indexName' => ['type' => 'string', 'required' => false], + 'generation' => ['type' => 'string', 'required' => false], + 'buildDeployId' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], ], ], ], - 'ListVectorQueryResult' => [ - 'path' => '/openapi/ha3/instances/{instanceId}/vector-query', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'Reindex' => [ + 'path' => '/openapi/ha3/instances/{instanceId}/tables/{tableName}/reindex', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6371,34 +3968,12 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'path', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'queryType', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'vectorQueryType', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'tableName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'body', @@ -6407,19 +3982,19 @@ 'schema' => [ 'type' => 'object', 'required' => false, + 'properties' => [ + 'dataTimeSec' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'partition' => ['type' => 'string', 'required' => false], + 'ossDataPath' => ['type' => 'string', 'required' => false], + ], ], ], ], ], - 'PushDocuments' => [ - 'path' => '/openapi/ha3/instances/{instanceId}/data-sources/{dataSourceName}/actions/bulk', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'RemoveCluster' => [ + 'path' => '/openapi/ha3/instances/{instanceId}/clusters/{clusterName}', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6430,82 +4005,59 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'dataSourceName', + 'name' => 'clusterName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'any', - 'required' => false, - ], - ], - ], - [ - 'name' => 'pkField', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'DescribeRegions' => [ - 'path' => '/openapi/ha3/regions', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'RenameFolder' => [ + 'path' => '/openapi/ha3/instances/{instanceId}/sql-studio/databases/{database}/folders/{folderId}/name', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'deprecated' => false, 'parameters' => [ [ - 'name' => 'acceptLanguage', - 'in' => 'query', + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'database', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'folderId', + 'in' => 'path', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'name' => ['type' => 'string', 'required' => true], + ], ], ], ], ], - 'ListQueryResult' => [ - 'path' => '/openapi/ha3/instances/{instanceId}/query', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'StartIndex' => [ + 'path' => '/openapi/ha3/instances/{instanceId}/indexes/{indexName}/startIndex', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6516,37 +4068,19 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'query', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'sql', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'indexName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'DeleteModel' => [ - 'path' => '/openapi/ha3/instances/{instanceId}/models/{modelName}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'https', - ], + 'StopIndex' => [ + 'path' => '/openapi/ha3/instances/{instanceId}/indexes/{indexName}/stopIndex', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6557,29 +4091,19 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'modelName', + 'name' => 'indexName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'ModifyModel' => [ - 'path' => '/openapi/ha3/instances/{instanceId}/models/{modelName}', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'https', - ], + 'StopTask' => [ + 'path' => '/openapi/ha3/instances/{instanceId}/stop-task/{fsmId}', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6590,27 +4114,27 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'modelName', + 'name' => 'fsmId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], + ], + ], + 'TagResources' => [ + 'path' => '/openapi/ha3/resource-tags', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'dryRun', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'AK' => [], ], + ], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ [ 'name' => 'body', 'in' => 'body', @@ -6619,176 +4143,77 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'content' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'method' => [ - 'type' => 'string', - 'required' => false, - ], - 'modelType' => [ - 'type' => 'string', - 'required' => false, - ], - 'dimension' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'request' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'header' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'Authorization' => [ - 'type' => 'string', - 'required' => false, - ], - 'Content-Type' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - 'parameters' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'build' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'input_type' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - 'search' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'input_type' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - ], - 'requestBody' => [ - 'type' => 'string', - 'required' => false, - ], - 'urlParams' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'build' => [ - 'type' => 'object', - 'required' => false, - ], - 'search' => [ - 'type' => 'object', - 'required' => false, - ], - ], - ], - ], - ], - 'response' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'embeddings' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - 'url' => [ - 'type' => 'string', - 'required' => false, + 'resourceType' => ['type' => 'string', 'required' => true], + 'resourceId' => [ + 'type' => 'array', + 'required' => true, + 'items' => ['type' => 'string', 'required' => false], + ], + 'tag' => [ + 'type' => 'array', + 'required' => true, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'key' => ['type' => 'string', 'required' => false], + 'value' => ['type' => 'string', 'required' => false], ], ], ], - 'status' => [ - 'type' => 'string', - 'required' => false, - ], ], ], ], ], ], - 'DebugModel' => [ - 'path' => '/openapi/ha3/instances/{instanceId}/models/{modelName}/actions/debug', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'UntagResources' => [ + 'path' => '/openapi/ha3/resource-tags', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'instanceId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'resourceType', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'modelName', - 'in' => 'path', + 'name' => 'resourceId', + 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'type' => 'string', - 'required' => false, + 'type' => 'array', + 'required' => true, + 'items' => ['type' => 'string', 'required' => false], ], ], [ - 'name' => 'isOnline', + 'name' => 'tagKey', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'array', 'required' => false, + 'items' => ['type' => 'string', 'required' => false], ], ], [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'input' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], + 'name' => 'all', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false], ], ], ], - 'GetModel' => [ - 'path' => '/openapi/ha3/instances/{instanceId}/models/{modelName}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'UpdateInstance' => [ + 'path' => '/openapi/ha3/instances/{instanceId}', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6799,29 +4224,39 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'modelName', - 'in' => 'path', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', - 'required' => true, + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'components' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'code' => ['type' => 'string', 'required' => false], + 'value' => ['type' => 'string', 'required' => false], + ], + ], + ], + 'orderType' => ['type' => 'string', 'required' => false], + 'description' => ['type' => 'string', 'required' => false], + ], ], ], ], ], - 'ListModels' => [ - 'path' => '/openapi/ha3/instances/{instanceId}/models', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'UpdateSqlInstanceContent' => [ + 'path' => '/openapi/ha3/instances/{instanceId}/sql-studio/databases/{database}/sql-instances/{sqlInstanceId}/content', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6832,55 +4267,36 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'name', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'type', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'database', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'pageNumber', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'name' => 'sqlInstanceId', + 'in' => 'path', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ - 'name' => 'pageSize', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'content' => ['type' => 'string', 'required' => true], + ], ], ], ], ], - 'CreateModel' => [ - 'path' => '/openapi/ha3/instances/{instanceId}/models', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'UpdateSqlInstanceName' => [ + 'path' => '/openapi/ha3/instances/{instanceId}/sql-studio/databases/{database}/sql-instances/{sqlInstanceId}/name', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6891,18 +4307,17 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'dryRun', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'database', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'sqlInstanceId', + 'in' => 'path', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ 'name' => 'body', @@ -6912,140 +4327,37 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'name' => [ - 'type' => 'string', - 'required' => true, - ], - 'content' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'modelType' => [ - 'type' => 'string', - 'required' => false, - ], - 'dimension' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'url' => [ - 'type' => 'string', - 'required' => false, - ], - 'method' => [ - 'type' => 'string', - 'required' => false, - ], - 'request' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'header' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'Authorization' => [ - 'type' => 'string', - 'required' => false, - ], - 'Content-Type' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - 'urlParams' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'build' => [ - 'type' => 'object', - 'required' => false, - ], - 'search' => [ - 'type' => 'object', - 'required' => false, - ], - ], - ], - 'parameters' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'build' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'input_type' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - 'search' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'input_type' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - ], - 'requestBody' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - 'response' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'embeddings' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - ], + 'name' => ['type' => 'string', 'required' => true], ], ], ], ], ], - 'ModifySearcherReplica' => [ - 'path' => '/openapi/ha3/instances/{instanceId}/replica', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'https', - ], + 'UpdateSqlInstanceParams' => [ + 'path' => '/openapi/ha3/instances/{instanceId}/sql-studio/databases/{database}/sql-instances/{sqlInstanceId}/params', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'database', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'sqlInstanceId', + 'in' => 'path', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ 'name' => 'body', @@ -7055,15 +4367,30 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'replica' => [ - 'type' => 'integer', - 'format' => 'int32', + 'kvpair' => [ + 'type' => 'object', + 'required' => false, + 'additionalProperties' => ['type' => 'any'], + ], + 'dynamicParam' => [ + 'type' => 'object', + 'required' => false, + 'additionalProperties' => ['type' => 'any'], + ], + 'staticParam' => [ + 'type' => 'object', + 'required' => false, + 'additionalProperties' => ['type' => 'any'], + ], + 'params' => [ + 'type' => 'object', 'required' => false, + 'additionalProperties' => ['type' => 'any'], ], - 'partition' => [ - 'type' => 'integer', - 'format' => 'int32', + 'combineParam' => [ + 'type' => 'object', 'required' => false, + 'additionalProperties' => ['type' => 'any'], ], ], ], @@ -7072,37 +4399,13 @@ ], ], 'endpoints' => [ - [ - 'regionId' => 'ap-southeast-1', - 'endpoint' => 'searchengine.ap-southeast-1.aliyuncs.com', - ], - [ - 'regionId' => 'cn-beijing', - 'endpoint' => 'searchengine.cn-beijing.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou', - 'endpoint' => 'searchengine.cn-hangzhou.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai', - 'endpoint' => 'searchengine.cn-shanghai.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen', - 'endpoint' => 'searchengine.cn-shenzhen.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hongkong', - 'endpoint' => 'searchengine.cn-hongkong.aliyuncs.com', - ], - [ - 'regionId' => 'cn-zhangjiakou', - 'endpoint' => 'searchengine.cn-zhangjiakou.aliyuncs.com', - ], - [ - 'regionId' => 'eu-central-1', - 'endpoint' => 'searchengine.eu-central-1.aliyuncs.com', - ], + ['regionId' => 'ap-southeast-1', 'regionName' => '新加坡', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'searchengine.ap-southeast-1.aliyuncs.com', 'endpoint' => 'searchengine.ap-southeast-1.aliyuncs.com', 'vpc' => 'searchengine-vpc.ap-southeast-1.aliyuncs.com'], + ['regionId' => 'cn-beijing', 'regionName' => '华北2(北京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'searchengine.cn-beijing.aliyuncs.com', 'endpoint' => 'searchengine.cn-beijing.aliyuncs.com', 'vpc' => 'searchengine-vpc.cn-beijing.aliyuncs.com'], + ['regionId' => 'cn-hangzhou', 'regionName' => '华东1(杭州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'searchengine.cn-hangzhou.aliyuncs.com', 'endpoint' => 'searchengine.cn-hangzhou.aliyuncs.com', 'vpc' => 'searchengine-vpc.cn-hangzhou.aliyuncs.com'], + ['regionId' => 'cn-shanghai', 'regionName' => '华东2(上海)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'searchengine.cn-shanghai.aliyuncs.com', 'endpoint' => 'searchengine.cn-shanghai.aliyuncs.com', 'vpc' => 'searchengine-vpc.cn-shanghai.aliyuncs.com'], + ['regionId' => 'cn-shenzhen', 'regionName' => '华南1(深圳)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'searchengine.cn-shenzhen.aliyuncs.com', 'endpoint' => 'searchengine.cn-shenzhen.aliyuncs.com', 'vpc' => 'searchengine-vpc.cn-shenzhen.aliyuncs.com'], + ['regionId' => 'cn-hongkong', 'regionName' => '中国香港', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'searchengine.cn-hongkong.aliyuncs.com', 'endpoint' => 'searchengine.cn-hongkong.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-zhangjiakou', 'regionName' => '华北3(张家口)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'searchengine.cn-zhangjiakou.aliyuncs.com', 'endpoint' => 'searchengine.cn-zhangjiakou.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'eu-central-1', 'regionName' => '德国(法兰克福)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'searchengine.eu-central-1.aliyuncs.com', 'endpoint' => 'searchengine.eu-central-1.aliyuncs.com', 'vpc' => ''], ], ]; -- cgit v1.2.3