summaryrefslogtreecommitdiff
path: root/data/searchengine/2021-10-25
diff options
context:
space:
mode:
authorZhineng Li <im@zhineng.li>2026-07-12 16:56:35 +0800
committerZhineng Li <im@zhineng.li>2026-07-12 16:56:35 +0800
commit814ec806c22e2782390af5a4a05cb6281aabd5e1 (patch)
tree29e1692a067b17e56886a7d246d2b9521b2b7777 /data/searchengine/2021-10-25
parenteccd5cd5a067f5659982685afdeea209b1888efb (diff)
downloadafterglow-metadata-814ec806c22e2782390af5a4a05cb6281aabd5e1.tar.gz
afterglow-metadata-814ec806c22e2782390af5a4a05cb6281aabd5e1.zip
update APIs 20260712
Diffstat (limited to 'data/searchengine/2021-10-25')
-rw-r--r--data/searchengine/2021-10-25/api-docs.php7087
1 files changed, 2195 insertions, 4892 deletions
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 @@
<?php return [
'version' => '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,39 +29,39 @@
'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',
'style' => 'json',
@@ -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' => [],
@@ -376,6 +285,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',
'style' => 'json',
@@ -383,83 +302,46 @@
'type' => 'object',
'required' => false,
'properties' => [
- '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' => [
+ 'name' => ['type' => 'string', 'required' => false],
+ 'type' => ['type' => 'string', 'required' => false],
+ 'domain' => ['type' => 'string', 'required' => false],
+ 'config' => [
'type' => 'object',
'required' => false,
'properties' => [
- 'autoRenew' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- 'duration' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- 'pricingCycle' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ '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],
],
],
- 'tags' => [
- 'type' => 'array',
+ 'saroConfig' => [
+ 'type' => 'object',
'required' => false,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'key' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'value' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
+ 'properties' => [
+ 'namespace' => ['type' => 'string', 'required' => false],
+ 'tableName' => ['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,12 +389,89 @@
[
'name' => 'instanceId',
'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ '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' => 'dryRun',
+ 'in' => 'query',
+ 'schema' => ['type' => 'boolean', 'required' => false],
+ ],
+ ],
+ ],
+ 'CreateInstance' => [
+ 'path' => '/openapi/ha3/instances',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
'name' => 'body',
'in' => 'body',
'style' => 'json',
@@ -509,6 +479,7 @@
'type' => 'object',
'required' => false,
'properties' => [
+ 'chargeType' => ['type' => 'string', 'required' => false],
'components' => [
'type' => 'array',
'required' => false,
@@ -516,39 +487,42 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'code' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'value' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'code' => ['type' => 'string', 'required' => false],
+ 'value' => ['type' => 'string', 'required' => false],
],
],
],
- 'orderType' => [
- 'type' => 'string',
+ 'order' => [
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'autoRenew' => ['type' => 'boolean', 'required' => false],
+ 'duration' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ 'pricingCycle' => ['type' => 'string', 'required' => false],
+ ],
],
- 'description' => [
- '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],
],
],
],
],
],
- 'ModifyPassword' => [
- 'path' => '/openapi/ha3/instances/{instanceId}/password',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'CreateModel' => [
+ 'path' => '/openapi/ha3/instances/{instanceId}/models',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -559,10 +533,12 @@
[
'name' => 'instanceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'dryRun',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'body',
@@ -572,28 +548,94 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'username' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'password' => [
- 'type' => 'string',
+ '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],
+ ],
+ ],
+ ],
],
],
],
],
],
],
- 'ListInstances' => [
- 'path' => '/openapi/ha3/instances',
- 'methods' => [
- 'get',
+ 'CreatePublicUrl' => [
+ 'path' => '/openapi/ha3/instances/{instanceId}/public-url',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
],
+ ],
+ 'CreateSqlInstance' => [
+ 'path' => '/openapi/ha3/instances/{instanceId}/sql-studio/databases/{database}/sql-instances',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -602,121 +644,206 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'pageNumber',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'pageSize',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'name' => 'database',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'instanceId',
- 'in' => 'query',
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'name' => ['type' => 'string', 'required' => true],
+ 'parent' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
+ ],
],
],
+ ],
+ ],
+ 'CreateTable' => [
+ 'path' => '/openapi/ha3/instances/{instanceId}/tables',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'description',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
[
- 'name' => 'resourceGroupId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'edition',
+ 'name' => 'dryRun',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', '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',
+ '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],
+ ],
+ ],
+ ],
],
- 'value' => [
- '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],
+ ],
+ ],
+ ],
+ ],
+ ],
],
],
+ 'scene' => ['type' => 'string', 'required' => false],
],
],
],
+ ],
+ ],
+ 'DebugModel' => [
+ 'path' => '/openapi/ha3/instances/{instanceId}/models/{modelName}/actions/debug',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'security' => [
[
- 'name' => 'catalog',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
[
- 'name' => 'database',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'table',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'modelName',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'dataSourceType',
+ 'name' => 'isOnline',
'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'input' => ['type' => 'string', 'required' => false],
+ ],
],
],
],
],
- 'GetInstance' => [
- 'path' => '/openapi/ha3/instances/{instanceId}',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DeleteAdvanceConfig' => [
+ 'path' => '/openapi/ha3/instances/{instanceId}/advanced-configs/{configName}',
+ 'methods' => ['delete'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -727,22 +854,19 @@
[
'name' => 'instanceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'configName',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'ListInstanceSpecs' => [
- 'path' => '/openapi/ha3/instances/{instanceId}/specs',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- 'http',
- ],
+ 'DeleteAlias' => [
+ 'path' => '/openapi/ha3/instances/{instanceId}/aliases/{alias}',
+ 'methods' => ['delete'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -753,30 +877,19 @@
[
'name' => 'instanceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'type',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'alias',
+ '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',
- ],
+ 'DeleteConfigDir' => [
+ 'path' => '/openapi/ha3/instances/{instanceId}/advanced-configs/{configName}/dir',
+ 'methods' => ['delete'],
+ 'schemes' => ['https', 'http'],
'security' => [
[
'AK' => [],
@@ -787,46 +900,29 @@
[
'name' => 'instanceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'dataSourceName',
+ 'name' => 'configName',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'deployName',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'dirName',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'indexName',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'parentFullPath',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'ModifyIndexOnlineStrategy' => [
- 'path' => '/openapi/ha3/instances/{instanceId}/data-sources/{dataSourceName}/deploys/{deployName}/indexes/{indexName}/online-strategy',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'https',
- 'http',
- ],
+ 'DeleteConfigFile' => [
+ 'path' => '/openapi/ha3/instances/{instanceId}/advanced-configs/{configName}/file',
+ 'methods' => ['delete'],
+ 'schemes' => ['https', 'http'],
'security' => [
[
'AK' => [],
@@ -837,62 +933,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' => 'deployName',
+ 'name' => 'configName',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'indexName',
- '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' => [
- 'changeRate' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- ],
- ],
+ 'name' => 'parentFullPath',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'ModifyOnlineConfig' => [
- 'path' => '/openapi/ha3/instances/{instanceId}/node/{nodeName}/online-configs/{indexName}',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'https',
- 'http',
- ],
+ 'DeleteDataSource' => [
+ 'path' => '/openapi/ha3/instances/{instanceId}/data-sources/{dataSourceName}',
+ 'methods' => ['delete'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -903,50 +966,19 @@
[
'name' => 'instanceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'nodeName',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'indexName',
+ 'name' => 'dataSourceName',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'body',
- 'in' => 'body',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'object',
- 'required' => false,
- 'additionalProperties' => [
- 'type' => 'string',
- ],
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'ListOnlineConfigs' => [
- 'path' => '/openapi/ha3/instances/{instanceId}/node/{nodeName}/online-configs',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- 'http',
- ],
+ 'DeleteFolder' => [
+ 'path' => '/openapi/ha3/instances/{instanceId}/sql-studio/databases/{database}/folders/{folderId}',
+ 'methods' => ['delete'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -957,38 +989,24 @@
[
'name' => 'instanceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'nodeName',
+ 'name' => 'database',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'domain',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'folderId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
],
],
- 'ModifyIndex' => [
+ 'DeleteIndex' => [
'path' => '/openapi/ha3/instances/{instanceId}/indexes/{indexName}',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['delete'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -999,331 +1017,29 @@
[
'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' => 'dryRun',
+ 'name' => 'dataSource',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- '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' => 'deleteDataSource',
+ 'in' => 'query',
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
],
],
- 'StartIndex' => [
- 'path' => '/openapi/ha3/instances/{instanceId}/indexes/{indexName}/startIndex',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DeleteIndexVersion' => [
+ 'path' => '/openapi/ha3/instances/{instanceId}/indexes/{indexName}/versions/{versionName}',
+ 'methods' => ['delete'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1334,30 +1050,24 @@
[
'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',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DeleteInstance' => [
+ 'path' => '/openapi/ha3/instances/{instanceId}',
+ 'methods' => ['delete'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1368,30 +1078,14 @@
[
'name' => 'instanceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'indexName',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'CreateIndex' => [
- 'path' => '/openapi/ha3/instances/{instanceId}/indexes',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DeleteModel' => [
+ 'path' => '/openapi/ha3/instances/{instanceId}/models/{modelName}',
+ 'methods' => ['delete'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -1402,197 +1096,19 @@
[
'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' => 'dryRun',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'name' => 'modelName',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'BuildIndex' => [
- 'path' => '/openapi/ha3/instances/{instanceId}/actions/build-index',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DeletePublicUrl' => [
+ 'path' => '/openapi/ha3/instances/{instanceId}/public-url',
+ 'methods' => ['delete'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1603,71 +1119,14 @@
[
'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,
- ],
- '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,
- ],
- ],
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'DeleteIndexVersion' => [
- 'path' => '/openapi/ha3/instances/{instanceId}/indexes/{indexName}/versions/{versionName}',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DeleteSqlInstance' => [
+ 'path' => '/openapi/ha3/instances/{instanceId}/sql-studio/databases/{database}/sql-instances/{sqlInstanceId}',
+ 'methods' => ['delete'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1678,38 +1137,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' => 'versionName',
+ 'name' => 'sqlInstanceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
],
],
- 'DeleteIndex' => [
- 'path' => '/openapi/ha3/instances/{instanceId}/indexes/{indexName}',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DeleteTable' => [
+ 'path' => '/openapi/ha3/instances/{instanceId}/tables/{tableName}',
+ 'methods' => ['delete'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1720,46 +1165,38 @@
[
'name' => 'instanceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'indexName',
+ 'name' => 'tableName',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
+ ],
+ ],
+ 'DescribeRegions' => [
+ 'path' => '/openapi/ha3/regions',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'dataSource',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'AK' => [],
],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'parameters' => [
[
- 'name' => 'deleteDataSource',
+ 'name' => 'acceptLanguage',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'ModifyIndexVersion' => [
- 'path' => '/openapi/ha3/instances/{instanceId}/clusters/{clusterName}/index-version',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ExecuteSqlInstance' => [
+ 'path' => '/openapi/ha3/instances/{instanceId}/sql-studio/databases/{database}/sql-instances/{sqlInstanceId}/actions/execution',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1770,57 +1207,62 @@
[
'name' => 'instanceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'clusterName',
+ 'name' => 'database',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'sqlInstanceId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
- 'type' => 'array',
+ 'type' => 'object',
'required' => false,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'indexName' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'version' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'buildDeployId' => [
- 'type' => 'string',
- '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'],
],
],
],
],
],
],
- 'ModifyFile' => [
- 'path' => '/openapi/ha3/instances/{instanceId}/indexes/{indexName}/versions/{versionName}/file',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ForceSwitch' => [
+ 'path' => '/openapi/ha3/instances/{instanceId}/force-switch/{fsmId}',
+ 'methods' => ['put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1831,66 +1273,47 @@
[
'name' => 'instanceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'indexName',
+ 'name' => 'fsmId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
+ ],
+ ],
+ 'GetAdvanceConfig' => [
+ 'path' => '/openapi/ha3/instances/{instanceId}/advanced-configs/{configName}',
+ 'methods' => ['get'],
+ 'schemes' => ['https', 'http'],
+ 'security' => [
[
- 'name' => 'versionName',
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'fileName',
+ 'name' => 'type',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'body',
- 'in' => 'body',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'content' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'partition' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- ],
- ],
+ 'name' => 'configName',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'PublishIndexVersion' => [
- 'path' => '/openapi/ha3/instances/{instanceId}/indexes/{indexName}/actions/publish',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'GetAdvanceConfigFile' => [
+ 'path' => '/openapi/ha3/instances/{instanceId}/advanced-configs/{configName}/file',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1901,39 +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,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'body',
- 'in' => 'body',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'object',
- 'required' => false,
- ],
+ 'name' => 'fileName',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'ModifyIndexPartition' => [
- 'path' => '/openapi/ha3/instances/{instanceId}/index-partition',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'https',
- 'http',
- ],
+ 'GetCluster' => [
+ 'path' => '/openapi/ha3/instances/{instanceId}/clusters/{clusterName}',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1944,70 +1352,19 @@
[
'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' => 'clusterName',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'GetIndex' => [
- 'path' => '/openapi/ha3/instances/{instanceId}/indexes/{indexName}',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'GetClusterRunTimeInfo' => [
+ 'path' => '/openapi/ha3/instances/{instanceId}/cluster-run-time-info',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2018,30 +1375,14 @@
[
'name' => 'instanceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'indexName',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'GetIndexVersion' => [
- 'path' => '/openapi/ha3/instances/{instanceId}/clusters/{clusterName}/index-version',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'GetDataSource' => [
+ 'path' => '/openapi/ha3/instances/{instanceId}/data-sources/{dataSourceName}',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2052,30 +1393,19 @@
[
'name' => 'instanceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'clusterName',
+ 'name' => 'dataSourceName',
'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',
- ],
+ 'GetDataSourceDeploy' => [
+ 'path' => '/openapi/ha3/instances/{instanceId}/data-sources/{dataSourceName}/deploys/{deployName}',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2086,46 +1416,24 @@
[
'name' => 'instanceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'indexName',
+ 'name' => 'deployName',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'versionName',
+ 'name' => 'dataSourceName',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'fileName',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'ListIndexes' => [
- 'path' => '/openapi/ha3/instances/{instanceId}/indexes',
- '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' => [],
@@ -2136,54 +1444,24 @@
[
'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,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'database',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'table',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'tableName',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'RecoverIndex' => [
- 'path' => '/openapi/ha3/instances/{instanceId}/recover-index',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'GetDeployGraph' => [
+ 'path' => '/openapi/ha3/instances/{instanceId}/deploy-graph',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2194,50 +1472,14 @@
[
'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,
- ],
- ],
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'CreateConfigDir' => [
- 'path' => '/openapi/ha3/instances/{instanceId}/advanced-configs/{configName}/dir',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- 'http',
- ],
+ 'GetFile' => [
+ 'path' => '/openapi/ha3/instances/{instanceId}/indexes/{indexName}/versions/{versionName}/file',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2248,49 +1490,29 @@
[
'name' => 'instanceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'configName',
+ 'name' => 'indexName',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ '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,
- ],
- ],
- ],
+ 'name' => 'versionName',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'fileName',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'CreateConfigFile' => [
- 'path' => '/openapi/ha3/instances/{instanceId}/advanced-configs/{configName}/file',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- 'http',
- ],
+ 'GetIndex' => [
+ 'path' => '/openapi/ha3/instances/{instanceId}/indexes/{indexName}',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2301,53 +1523,19 @@
[
'name' => 'instanceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'configName',
+ 'name' => 'indexName',
'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,
- ],
- ],
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'DeleteConfigDir' => [
- 'path' => '/openapi/ha3/instances/{instanceId}/advanced-configs/{configName}/dir',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'https',
- 'http',
- ],
+ 'GetIndexOnlineStrategy' => [
+ 'path' => '/openapi/ha3/instances/{instanceId}/data-sources/{dataSourceName}/deploys/{deployName}/indexes/{indexName}/online-strategy',
+ 'methods' => ['get'],
+ 'schemes' => ['https', 'http'],
'security' => [
[
'AK' => [],
@@ -2358,46 +1546,29 @@
[
'name' => 'instanceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'configName',
+ 'name' => 'dataSourceName',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'dirName',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'deployName',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'parentFullPath',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'indexName',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'DeleteConfigFile' => [
- 'path' => '/openapi/ha3/instances/{instanceId}/advanced-configs/{configName}/file',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'https',
- 'http',
- ],
+ 'GetIndexVersion' => [
+ 'path' => '/openapi/ha3/instances/{instanceId}/clusters/{clusterName}/index-version',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2408,46 +1579,19 @@
[
'name' => 'instanceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'configName',
+ 'name' => 'clusterName',
'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,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'ModifyAdvanceConfig' => [
- 'path' => '/openapi/ha3/instances/{instanceId}/advanced-configs/{configName}',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'GetInstance' => [
+ 'path' => '/openapi/ha3/instances/{instanceId}',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2458,92 +1602,14 @@
[
'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,
- ],
- ],
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'DeleteAdvanceConfig' => [
- 'path' => '/openapi/ha3/instances/{instanceId}/advanced-configs/{configName}',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'GetModel' => [
+ 'path' => '/openapi/ha3/instances/{instanceId}/models/{modelName}',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -2554,30 +1620,19 @@
[
'name' => 'instanceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'configName',
+ 'name' => 'modelName',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'ModifyAdvanceConfigFile' => [
- 'path' => '/openapi/ha3/instances/{instanceId}/advanced-configs/{configName}/file',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'GetNodeConfig' => [
+ 'path' => '/openapi/ha3/instances/{instanceId}/node-config',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2588,100 +1643,29 @@
[
'name' => 'instanceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'configName',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'type',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'fileName',
+ 'name' => 'name',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- '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,
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- ],
+ 'name' => 'clusterName',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'PublishAdvanceConfig' => [
- 'path' => '/openapi/ha3/instances/{instanceId}/advanced-configs/{configName}/actions/publish',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'GetSqlInstance' => [
+ 'path' => '/openapi/ha3/instances/{instanceId}/sql-studio/databases/{database}/sql-instances/{sqlInstanceId}',
+ 'methods' => ['get'],
+ 'schemes' => ['https', 'http'],
'security' => [
[
'AK' => [],
@@ -2692,114 +1676,29 @@
[
'name' => 'instanceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'configName',
+ 'name' => 'database',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ '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,
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- ],
+ 'name' => 'sqlInstanceId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
+ ],
+ [
+ 'name' => 'version',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
],
],
- 'GetAdvanceConfig' => [
- 'path' => '/openapi/ha3/instances/{instanceId}/advanced-configs/{configName}',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- 'http',
- ],
+ 'GetTable' => [
+ 'path' => '/openapi/ha3/instances/{instanceId}/tables/{tableName}',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2810,38 +1709,19 @@
[
'name' => 'instanceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'type',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'configName',
+ 'name' => 'tableName',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'GetAdvanceConfigFile' => [
- 'path' => '/openapi/ha3/instances/{instanceId}/advanced-configs/{configName}/file',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'GetTableGeneration' => [
+ 'path' => '/openapi/ha3/instances/{instanceId}/tables/{tableName}/index_versions/{generationId}',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2852,38 +1732,24 @@
[
'name' => 'instanceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'configName',
+ 'name' => 'tableName',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'fileName',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'generationId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
],
],
'ListAdvanceConfigDir' => [
'path' => '/openapi/ha3/instances/{instanceId}/advanced-configs/{configName}/dir',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- 'http',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['https', 'http'],
'security' => [
[
'AK' => [],
@@ -2894,38 +1760,24 @@
[
'name' => 'instanceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'configName',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'dirName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
'ListAdvanceConfigs' => [
'path' => '/openapi/ha3/instances/{instanceId}/advanced-configs',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2936,70 +1788,44 @@
[
'name' => 'instanceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'type',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'dataSourceName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'indexName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'newMode',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
[
'name' => 'pageNumber',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'pageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'ListSchemas' => [
- 'path' => '/openapi/ha3/instances/{instanceId}/schemas',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ListAliases' => [
+ 'path' => '/openapi/ha3/instances/{instanceId}/aliases',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3008,88 +1834,28 @@
'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,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'ModifyDataSourceDeploy' => [
- 'path' => '/openapi/ha3/instances/{instanceId}/data-sources/{dataSourceName}/deploys/{deployName}',
- 'methods' => [
- 'put',
- ],
- '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' => [],
@@ -3100,213 +1866,14 @@
[
'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,
- ],
- ],
- ],
- ],
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'CreateDataSource' => [
- 'path' => '/openapi/ha3/instances/{instanceId}/data-sources',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ListClusters' => [
+ 'path' => '/openapi/ha3/instances/{instanceId}/clusters',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3317,129 +1884,14 @@
[
'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,
- ],
- ],
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'DeleteDataSource' => [
- 'path' => '/openapi/ha3/instances/{instanceId}/data-sources/{dataSourceName}',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ListDataSourceSchemas' => [
+ 'path' => '/openapi/ha3/instances/{instanceId}/data-sources/{dataSourceName}/schemas',
+ 'methods' => ['get'],
+ 'schemes' => ['https', 'http'],
'security' => [
[
'AK' => [],
@@ -3450,30 +1902,19 @@
[
'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],
],
],
],
- 'GetDataSource' => [
- 'path' => '/openapi/ha3/instances/{instanceId}/data-sources/{dataSourceName}',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ListDataSourceTasks' => [
+ 'path' => '/openapi/ha3/instances/{instanceId}/data-source-tasks',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3484,30 +1925,14 @@
[
'name' => 'instanceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'dataSourceName',
- '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',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3518,22 +1943,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',
- ],
+ 'ListDatabases' => [
+ 'path' => '/openapi/ha3/instances/{instanceId}/sql-studio/databases',
+ 'methods' => ['get'],
+ 'schemes' => ['https', 'http'],
'security' => [
[
'AK' => [],
@@ -3544,30 +1961,14 @@
[
'name' => 'instanceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'dataSourceName',
- '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',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['https', 'http'],
'security' => [
[
'AK' => [],
@@ -3578,46 +1979,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' => 'validStatus',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
[
'name' => 'domainName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'GetDataSourceDeploy' => [
- 'path' => '/openapi/ha3/instances/{instanceId}/data-sources/{dataSourceName}/deploys/{deployName}',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ListIndexRecoverRecords' => [
+ 'path' => '/openapi/ha3/instances/{instanceId}/indexes/{indexName}/actions/list-recover-records',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3626,40 +2010,21 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'instanceId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'deployName',
+ 'name' => 'indexName',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'dataSourceName',
+ 'name' => 'instanceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'CloneSqlInstance' => [
- 'path' => '/openapi/ha3/instances/{instanceId}/sql-studio/databases/{database}/sql-instances/{sqlInstanceId}/actions/clone',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ListIndexes' => [
+ 'path' => '/openapi/ha3/instances/{instanceId}/indexes',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3670,59 +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' => [
- 'targetFolderId' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
- 'name' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- ],
+ 'name' => 'database',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'table',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'CreateFolder' => [
- 'path' => '/openapi/ha3/instances/{instanceId}/sql-studio/databases/{database}/folders',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ListInstanceSpecs' => [
+ 'path' => '/openapi/ha3/instances/{instanceId}/specs',
+ 'methods' => ['get'],
+ 'schemes' => ['https', 'http'],
'security' => [
[
'AK' => [],
@@ -3733,54 +2073,19 @@
[
'name' => 'instanceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ '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,
- ],
- 'type' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- ],
+ 'name' => 'type',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'CreateSqlInstance' => [
- 'path' => '/openapi/ha3/instances/{instanceId}/sql-studio/databases/{database}/sql-instances',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ListInstances' => [
+ 'path' => '/openapi/ha3/instances',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3789,95 +2094,78 @@
'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' => 'body',
- 'in' => 'body',
+ 'name' => 'resourceGroupId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'edition',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'tags',
+ 'in' => 'query',
'style' => 'json',
'schema' => [
- 'type' => 'object',
+ 'type' => 'array',
'required' => false,
- 'properties' => [
- 'name' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'parent' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'key' => ['type' => 'string', 'required' => false],
+ 'value' => ['type' => 'string', 'required' => false],
],
],
],
],
- ],
- ],
- 'DeleteSqlInstance' => [
- 'path' => '/openapi/ha3/instances/{instanceId}/sql-studio/databases/{database}/sql-instances/{sqlInstanceId}',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'catalog',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- 'deprecated' => false,
- 'parameters' => [
[
- 'name' => 'instanceId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'database',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'database',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'table',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'sqlInstanceId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'name' => 'dataSourceType',
+ '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',
- ],
+ 'ListLogs' => [
+ 'path' => '/openapi/ha3/instances/{instanceId}/logs',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3888,135 +2176,44 @@
[
'name' => 'instanceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'database',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'sqlInstanceId',
- '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' => [
- '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' => 'pageNum',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- ],
- 'GetDatabaseSchema' => [
- 'path' => '/openapi/ha3/instances/{instanceId}/sql-studio/databases/{database}/tables/{tableName}/schema',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- 'http',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'pageSize',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- 'deprecated' => false,
- 'parameters' => [
[
- 'name' => 'instanceId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'startTime',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'database',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'endTime',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'tableName',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'query',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'GetSqlInstance' => [
- 'path' => '/openapi/ha3/instances/{instanceId}/sql-studio/databases/{database}/sql-instances/{sqlInstanceId}',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- 'http',
- ],
+ 'ListModels' => [
+ 'path' => '/openapi/ha3/instances/{instanceId}/models',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -4027,74 +2224,34 @@
[
'name' => 'instanceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'database',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'sqlInstanceId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'name' => 'name',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'version',
+ 'name' => 'type',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- ],
- 'ListDatabases' => [
- 'path' => '/openapi/ha3/instances/{instanceId}/sql-studio/databases',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- 'http',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'pageNumber',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
- ],
- 'deprecated' => false,
- 'parameters' => [
[
- 'name' => 'instanceId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'pageSize',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
],
],
- 'UpdateSqlInstanceContent' => [
- 'path' => '/openapi/ha3/instances/{instanceId}/sql-studio/databases/{database}/sql-instances/{sqlInstanceId}/content',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ListOnlineConfigs' => [
+ 'path' => '/openapi/ha3/instances/{instanceId}/node/{nodeName}/online-configs',
+ 'methods' => ['get'],
+ 'schemes' => ['https', 'http'],
'security' => [
[
'AK' => [],
@@ -4105,54 +2262,24 @@
[
'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',
+ 'name' => 'nodeName',
'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' => [
- 'content' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- ],
+ 'name' => 'domain',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'UpdateSqlInstanceName' => [
- 'path' => '/openapi/ha3/instances/{instanceId}/sql-studio/databases/{database}/sql-instances/{sqlInstanceId}/name',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ListPausePolicys' => [
+ 'path' => '/openapi/ha3/instances/{instanceId}/pause-policies',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -4163,54 +2290,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,
- ],
- ],
- [
- 'name' => 'body',
- 'in' => 'body',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'name' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'UpdateSqlInstanceParams' => [
- 'path' => '/openapi/ha3/instances/{instanceId}/sql-studio/databases/{database}/sql-instances/{sqlInstanceId}/params',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ListPostQueryResult' => [
+ 'path' => '/openapi/ha3/instances/{instanceId}/query',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -4221,85 +2308,25 @@
[
'name' => 'instanceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'database',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'sqlInstanceId',
- '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' => [
- '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',
- ],
- ],
- ],
- ],
+ 'schema' => ['type' => 'object', 'required' => false],
],
],
],
- 'DeleteFolder' => [
- 'path' => '/openapi/ha3/instances/{instanceId}/sql-studio/databases/{database}/folders/{folderId}',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ListQueryResult' => [
+ 'path' => '/openapi/ha3/instances/{instanceId}/query',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -4310,39 +2337,24 @@
[
'name' => 'instanceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'database',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'query',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'folderId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'name' => 'sql',
+ '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',
- ],
+ 'ListRestQueryResult' => [
+ 'path' => '/openapi/ha3/instances/{instanceId}/rest-query',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -4353,27 +2365,7 @@
[
'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,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -4383,126 +2375,75 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'name' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'indexName' => ['type' => 'string', 'required' => false],
+ 'query' => ['type' => 'object', 'required' => false],
],
],
],
],
],
- 'ListTasks' => [
- 'path' => '/openapi/ha3/instances/{instanceId}/tasks',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ListSchemas' => [
+ 'path' => '/openapi/ha3/instances/{instanceId}/schemas',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'instanceId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'type',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'start',
+ 'name' => 'endpoint',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'end',
+ 'name' => 'accessKey',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- ],
- 'ListClusterTasks' => [
- 'path' => '/openapi/ha3/instances/{instanceId}/cluster-tasks',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'accessSecret',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- 'deprecated' => false,
- 'parameters' => [
[
- 'name' => 'instanceId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'project',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- ],
- 'ListDataSourceTasks' => [
- 'path' => '/openapi/ha3/instances/{instanceId}/data-source-tasks',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ '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],
],
- ],
- 'deprecated' => false,
- 'parameters' => [
[
'name' => 'instanceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'StopTask' => [
- 'path' => '/openapi/ha3/instances/{instanceId}/stop-task/{fsmId}',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ListTableGenerations' => [
+ 'path' => '/openapi/ha3/instances/{instanceId}/tables/{tableName}/index_versions',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -4513,30 +2454,19 @@
[
'name' => 'instanceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'fsmId',
+ 'name' => 'tableName',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'ForceSwitch' => [
- 'path' => '/openapi/ha3/instances/{instanceId}/force-switch/{fsmId}',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ListTables' => [
+ 'path' => '/openapi/ha3/instances/{instanceId}/tables',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -4547,104 +2477,100 @@
[
'name' => 'instanceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'fsmId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'newMode',
+ 'in' => 'query',
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
],
],
- 'ListLogs' => [
- 'path' => '/openapi/ha3/instances/{instanceId}/logs',
- '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' => 'pageNum',
+ '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' => 'pageSize',
+ 'name' => 'nextToken',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
+ ],
+ ],
+ 'ListTasks' => [
+ 'path' => '/openapi/ha3/instances/{instanceId}/tasks',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'startTime',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
[
- 'name' => 'endTime',
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'start',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
[
- 'name' => 'query',
+ 'name' => 'end',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
],
],
- 'ModifyNodeConfig' => [
- 'path' => '/openapi/ha3/instances/{instanceId}/node-config',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ListVectorQueryResult' => [
+ 'path' => '/openapi/ha3/instances/{instanceId}/vector-query',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -4655,42 +2581,51 @@
[
'name' => 'instanceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'type',
+ 'name' => 'path',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'name',
+ 'name' => 'queryType',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'clusterName',
+ 'name' => 'vectorQueryType',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ '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],
+ ],
+ ],
+ ],
+ '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',
@@ -4700,48 +2635,35 @@
'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',
+ '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],
],
],
],
],
],
- 'GetDeployGraph' => [
- 'path' => '/openapi/ha3/instances/{instanceId}/deploy-graph',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ModifyAdvanceConfigFile' => [
+ 'path' => '/openapi/ha3/instances/{instanceId}/advanced-configs/{configName}/file',
+ 'methods' => ['put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -4752,22 +2674,59 @@
[
'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' => 'string',
+ '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],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
],
],
],
],
- 'GetNodeConfig' => [
- 'path' => '/openapi/ha3/instances/{instanceId}/node-config',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ModifyAlias' => [
+ 'path' => '/openapi/ha3/instances/{instanceId}/aliases/{alias}',
+ 'methods' => ['put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -4778,46 +2737,32 @@
[
'name' => 'instanceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'type',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'name',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'alias',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'clusterName',
- 'in' => 'query',
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'alias' => ['type' => 'string', 'required' => false],
+ 'index' => ['type' => 'string', 'required' => false],
+ ],
],
],
],
],
- 'ListIndexRecoverRecords' => [
- 'path' => '/openapi/ha3/instances/{instanceId}/indexes/{indexName}/actions/list-recover-records',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ModifyClusterDesc' => [
+ 'path' => '/openapi/ha3/instances/{instanceId}/clusters/{clusterName}/desc',
+ 'methods' => ['put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -4826,32 +2771,27 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'indexName',
+ 'name' => 'instanceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'instanceId',
+ 'name' => 'clusterName',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => ['type' => 'object', 'required' => false],
],
],
],
- 'ListPausePolicys' => [
- 'path' => '/openapi/ha3/instances/{instanceId}/pause-policies',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ModifyClusterOfflineConfig' => [
+ 'path' => '/openapi/ha3/instances/{instanceId}/cluster-offline-config',
+ 'methods' => ['put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -4862,22 +2802,38 @@
[
'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' => [
+ '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],
+ ],
],
],
],
],
- 'ModifyPausePolicy' => [
- 'path' => '/openapi/ha3/instances/{instanceId}/pause-policies',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ModifyClusterOnlineConfig' => [
+ 'path' => '/openapi/ha3/instances/{instanceId}/cluster-online-config',
+ 'methods' => ['put'],
+ 'schemes' => ['https', 'http'],
'security' => [
[
'AK' => [],
@@ -4888,10 +2844,7 @@
[
'name' => 'instanceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -4900,44 +2853,26 @@
'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',
- 'required' => false,
- ],
+ 'properties' => [
+ 'config' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'additionalProperties' => ['type' => 'integer', 'format' => 'int32'],
+ ],
+ 'clusters' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
],
],
],
],
],
],
- 'CreateCluster' => [
- 'path' => '/openapi/ha3/instances/{instanceId}/clusters',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ModifyDataSourceDeploy' => [
+ 'path' => '/openapi/ha3/instances/{instanceId}/data-sources/{dataSourceName}/deploys/{deployName}',
+ 'methods' => ['put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -4948,10 +2883,27 @@
[
'name' => 'instanceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ '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',
@@ -4961,58 +2913,91 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'name' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'description' => [
- '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],
+ ],
],
- 'queryNode' => [
+ 'autoBuildIndex' => ['type' => 'boolean', 'required' => false],
+ 'processor' => [
'type' => 'object',
'required' => false,
'properties' => [
- 'number' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'args' => ['type' => 'string', 'required' => false],
+ 'resource' => ['type' => 'string', 'required' => false],
],
],
- 'dataNode' => [
+ 'extend' => [
'type' => 'object',
'required' => false,
'properties' => [
- 'number' => [
- 'type' => 'integer',
- 'format' => 'int32',
+ 'saro' => [
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'path' => ['type' => 'string', 'required' => false],
+ 'version' => ['type' => 'string', 'required' => false],
+ ],
],
- 'partition' => [
- 'type' => 'string',
+ '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],
+ ],
],
],
],
- 'autoLoad' => [
- 'type' => 'boolean',
+ 'swift' => [
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'zk' => ['type' => 'string', 'required' => false],
+ 'topic' => ['type' => 'string', 'required' => false],
+ ],
],
],
],
],
],
],
- 'RemoveCluster' => [
- 'path' => '/openapi/ha3/instances/{instanceId}/clusters/{clusterName}',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ModifyFile' => [
+ 'path' => '/openapi/ha3/instances/{instanceId}/indexes/{indexName}/versions/{versionName}/file',
+ 'methods' => ['put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -5023,30 +3008,42 @@
[
'name' => 'instanceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'clusterName',
+ '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' => 'string',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'content' => ['type' => 'string', 'required' => false],
+ 'partition' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ ],
],
],
],
],
- 'ModifyClusterDesc' => [
- 'path' => '/openapi/ha3/instances/{instanceId}/clusters/{clusterName}/desc',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ModifyIndex' => [
+ 'path' => '/openapi/ha3/instances/{instanceId}/indexes/{indexName}',
+ 'methods' => ['put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -5057,18 +3054,17 @@
[
'name' => 'instanceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'clusterName',
+ 'name' => 'indexName',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'dryRun',
+ 'in' => 'query',
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
[
'name' => 'body',
@@ -5077,19 +3073,134 @@
'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],
+ ],
],
],
],
],
- 'ModifyClusterOfflineConfig' => [
- 'path' => '/openapi/ha3/instances/{instanceId}/cluster-offline-config',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ModifyIndexOnlineStrategy' => [
+ 'path' => '/openapi/ha3/instances/{instanceId}/data-sources/{dataSourceName}/deploys/{deployName}/indexes/{indexName}/online-strategy',
+ 'methods' => ['put'],
+ 'schemes' => ['https', 'http'],
'security' => [
[
'AK' => [],
@@ -5100,10 +3211,22 @@
[
'name' => 'instanceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ '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',
@@ -5113,62 +3236,16 @@
'type' => 'object',
'required' => false,
'properties' => [
- '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,
- ],
+ 'changeRate' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
],
],
],
],
- 'ModifyClusterOnlineConfig' => [
- 'path' => '/openapi/ha3/instances/{instanceId}/cluster-online-config',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'https',
- 'http',
- ],
+ 'ModifyIndexPartition' => [
+ 'path' => '/openapi/ha3/instances/{instanceId}/index-partition',
+ 'methods' => ['put'],
+ 'schemes' => ['https', 'http'],
'security' => [
[
'AK' => [],
@@ -5179,10 +3256,7 @@
[
'name' => 'instanceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -5192,20 +3266,20 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'config' => [
- 'type' => 'object',
- 'required' => false,
- 'additionalProperties' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- ],
- 'clusters' => [
+ 'dataSourceName' => ['type' => 'string', 'required' => false],
+ 'generation' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ 'domainName' => ['type' => 'string', 'required' => false],
+ 'indexInfos' => [
'type' => 'array',
'required' => false,
'items' => [
- 'type' => 'string',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'indexName' => ['type' => 'string', 'required' => false],
+ 'partitionCount' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'parallelNum' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ ],
],
],
],
@@ -5213,15 +3287,10 @@
],
],
],
- 'GetCluster' => [
- 'path' => '/openapi/ha3/instances/{instanceId}/clusters/{clusterName}',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ModifyIndexVersion' => [
+ 'path' => '/openapi/ha3/instances/{instanceId}/clusters/{clusterName}/index-version',
+ 'methods' => ['put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -5232,30 +3301,37 @@
[
'name' => 'instanceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'clusterName',
'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ '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],
+ ],
+ ],
],
],
],
],
- 'GetClusterRunTimeInfo' => [
- 'path' => '/openapi/ha3/instances/{instanceId}/cluster-run-time-info',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ModifyModel' => [
+ 'path' => '/openapi/ha3/instances/{instanceId}/models/{modelName}',
+ 'methods' => ['put'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -5266,39 +3342,151 @@
[
'name' => 'instanceId',
'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'modelName',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'dryRun',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
- 'required' => true,
+ '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],
+ ],
+ ],
+ 'status' => ['type' => 'string', 'required' => false],
+ ],
],
],
],
],
- 'ListClusterNames' => [
- 'path' => '/openapi/ha3/cluster-names',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ModifyNodeConfig' => [
+ 'path' => '/openapi/ha3/instances/{instanceId}/node-config',
+ 'methods' => ['put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
- 'parameters' => [],
- ],
- 'ListClusters' => [
- 'path' => '/openapi/ha3/instances/{instanceId}/clusters',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ '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],
+ ],
+ ],
+ ],
],
+ ],
+ 'ModifyOnlineConfig' => [
+ 'path' => '/openapi/ha3/instances/{instanceId}/node/{nodeName}/online-configs/{indexName}',
+ 'methods' => ['put'],
+ 'schemes' => ['https', 'http'],
'security' => [
[
'AK' => [],
@@ -5309,22 +3497,34 @@
[
'name' => 'instanceId',
'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ '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'],
],
],
],
],
- 'ModifyAlias' => [
- 'path' => '/openapi/ha3/instances/{instanceId}/aliases/{alias}',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ModifyPassword' => [
+ 'path' => '/openapi/ha3/instances/{instanceId}/password',
+ 'methods' => ['put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -5335,18 +3535,7 @@
[
'name' => 'instanceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'alias',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -5356,28 +3545,17 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'alias' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'index' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'username' => ['type' => 'string', 'required' => false],
+ 'password' => ['type' => 'string', 'required' => false],
],
],
],
],
],
- 'ListAliases' => [
- 'path' => '/openapi/ha3/instances/{instanceId}/aliases',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ModifyPausePolicy' => [
+ 'path' => '/openapi/ha3/instances/{instanceId}/pause-policies',
+ 'methods' => ['put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -5388,22 +3566,33 @@
[
'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],
+ ],
+ ],
],
],
],
],
- 'DeleteAlias' => [
- 'path' => '/openapi/ha3/instances/{instanceId}/aliases/{alias}',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ModifyPublicUrlIpList' => [
+ 'path' => '/openapi/ha3/instances/{instanceId}/public-url-ip-list',
+ 'methods' => ['put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -5414,52 +3603,37 @@
[
'name' => 'instanceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'alias',
- 'in' => 'path',
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
- 'required' => true,
+ 'type' => 'object',
+ 'required' => false,
+ 'additionalProperties' => ['type' => 'string'],
],
],
],
],
- 'CreateAlias' => [
- 'path' => '/openapi/ha3/instances/{instanceId}/aliases',
- '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' => 'newMode',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -5469,28 +3643,17 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'alias' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'index' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'replica' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'partition' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
],
],
],
],
- 'CreateTable' => [
- 'path' => '/openapi/ha3/instances/{instanceId}/tables',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ModifyTable' => [
+ 'path' => '/openapi/ha3/instances/{instanceId}/tables/{tableName}',
+ 'methods' => ['put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -5501,18 +3664,17 @@
[
'name' => 'instanceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'tableName',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'dryRun',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
[
'name' => 'body',
@@ -5522,115 +3684,41 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'name' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'dataProcessorCount' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'partitionCount' => [
- '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,
- ],
+ '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,
- ],
+ '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,
- ],
+ 'rawSchema' => ['type' => 'string', 'required' => false],
+ 'primaryKey' => ['type' => 'string', 'required' => false],
'fieldSchema' => [
'type' => 'object',
'required' => false,
- 'additionalProperties' => [
- 'type' => 'string',
- ],
+ 'additionalProperties' => ['type' => 'string'],
],
'vectorIndex' => [
'type' => 'array',
@@ -5639,58 +3727,22 @@
'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,
- ],
+ '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,
- ],
+ 'buildIndexParams' => ['type' => 'string', 'required' => false],
+ 'searchIndexParams' => ['type' => 'string', 'required' => false],
+ 'minScanDocCnt' => ['type' => 'string', 'required' => false],
+ 'linearBuildThreshold' => ['type' => 'string', 'required' => false],
],
],
],
@@ -5703,46 +3755,22 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'operator' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'dstField' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'srcField' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ '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,
- ],
+ '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,
- ],
+ 'ossEndpoint' => ['type' => 'string', 'required' => false],
+ 'ossBucket' => ['type' => 'string', 'required' => false],
+ 'uid' => ['type' => 'string', 'required' => false],
],
],
],
@@ -5750,24 +3778,15 @@
],
],
],
- 'scene' => [
- 'type' => 'string',
- 'required' => false,
- ],
],
],
],
],
],
- 'ModifyTable' => [
- 'path' => '/openapi/ha3/instances/{instanceId}/tables/{tableName}',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'PublishAdvanceConfig' => [
+ 'path' => '/openapi/ha3/instances/{instanceId}/advanced-configs/{configName}/actions/publish',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -5778,26 +3797,12 @@
[
'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' => 'dryRun',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -5807,213 +3812,35 @@
'type' => 'object',
'required' => false,
'properties' => [
- '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',
- ],
- ],
- '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' => [
+ 'desc' => ['type' => 'string', 'required' => false],
+ 'files' => [
'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' => [
+ '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' => [
- 'vectorModel' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'vectorModal' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'srcFieldConfig' => [
+ 'content' => ['type' => 'string', 'required' => false],
+ 'variables' => [
'type' => 'object',
'required' => false,
- 'properties' => [
- 'ossEndpoint' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'ossBucket' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'uid' => [
- 'type' => 'string',
- '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],
],
],
],
@@ -6027,15 +3854,10 @@
],
],
],
- 'GetTable' => [
- 'path' => '/openapi/ha3/instances/{instanceId}/tables/{tableName}',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'PublishIndexVersion' => [
+ 'path' => '/openapi/ha3/instances/{instanceId}/indexes/{indexName}/actions/publish',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -6046,30 +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' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => ['type' => 'object', 'required' => false],
],
],
],
- 'ListTables' => [
- 'path' => '/openapi/ha3/instances/{instanceId}/tables',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'PushDocuments' => [
+ 'path' => '/openapi/ha3/instances/{instanceId}/data-sources/{dataSourceName}/actions/bulk',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -6080,30 +3897,34 @@
[
'name' => 'instanceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'newMode',
- 'in' => 'query',
+ 'name' => 'dataSourceName',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'boolean',
+ 'type' => 'array',
'required' => false,
+ 'items' => ['type' => 'any', 'required' => false],
],
],
+ [
+ 'name' => 'pkField',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
],
],
- 'DeleteTable' => [
- 'path' => '/openapi/ha3/instances/{instanceId}/tables/{tableName}',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'RecoverIndex' => [
+ 'path' => '/openapi/ha3/instances/{instanceId}/recover-index',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -6114,30 +3935,29 @@
[
'name' => 'instanceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'tableName',
- 'in' => 'path',
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
- 'required' => true,
+ '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],
+ ],
],
],
],
],
'Reindex' => [
'path' => '/openapi/ha3/instances/{instanceId}/tables/{tableName}/reindex',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -6148,18 +3968,12 @@
[
'name' => 'instanceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'tableName',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -6169,33 +3983,18 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'dataTimeSec' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'partition' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'ossDataPath' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'dataTimeSec' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'partition' => ['type' => 'string', 'required' => false],
+ 'ossDataPath' => ['type' => 'string', 'required' => false],
],
],
],
],
],
- 'ListTableGenerations' => [
- 'path' => '/openapi/ha3/instances/{instanceId}/tables/{tableName}/index_versions',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'RemoveCluster' => [
+ 'path' => '/openapi/ha3/instances/{instanceId}/clusters/{clusterName}',
+ 'methods' => ['delete'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -6206,30 +4005,19 @@
[
'name' => 'instanceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'tableName',
+ 'name' => 'clusterName',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'GetTableGeneration' => [
- 'path' => '/openapi/ha3/instances/{instanceId}/tables/{tableName}/index_versions/{generationId}',
- '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' => [],
@@ -6240,61 +4028,17 @@
[
'name' => 'instanceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'tableName',
+ 'name' => 'database',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'generationId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
- ],
- ],
- ],
- 'ListPostQueryResult' => [
- 'path' => '/openapi/ha3/instances/{instanceId}/query',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
- ],
- ],
- 'deprecated' => false,
- 'parameters' => [
- [
- 'name' => 'instanceId',
+ 'name' => 'folderId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'type',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
'name' => 'body',
@@ -6303,19 +4047,17 @@
'schema' => [
'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'name' => ['type' => 'string', 'required' => true],
+ ],
],
],
],
],
- 'ListRestQueryResult' => [
- 'path' => '/openapi/ha3/instances/{instanceId}/rest-query',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'StartIndex' => [
+ 'path' => '/openapi/ha3/instances/{instanceId}/indexes/{indexName}/startIndex',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -6326,41 +4068,19 @@
[
'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' => [
- 'indexName' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'query' => [
- 'type' => 'object',
- 'required' => false,
- ],
- ],
- ],
+ 'name' => 'indexName',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'ListVectorQueryResult' => [
- 'path' => '/openapi/ha3/instances/{instanceId}/vector-query',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'StopIndex' => [
+ 'path' => '/openapi/ha3/instances/{instanceId}/indexes/{indexName}/stopIndex',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -6371,55 +4091,19 @@
[
'name' => 'instanceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'path',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- '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,
- ],
+ 'name' => 'indexName',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'PushDocuments' => [
- 'path' => '/openapi/ha3/instances/{instanceId}/data-sources/{dataSourceName}/actions/bulk',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'StopTask' => [
+ 'path' => '/openapi/ha3/instances/{instanceId}/stop-task/{fsmId}',
+ 'methods' => ['put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -6430,156 +4114,106 @@
[
'name' => 'instanceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'dataSourceName',
+ 'name' => 'fsmId',
'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' => true],
],
],
],
- 'DescribeRegions' => [
- 'path' => '/openapi/ha3/regions',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'TagResources' => [
+ 'path' => '/openapi/ha3/resource-tags',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
'parameters' => [
[
- 'name' => 'acceptLanguage',
- 'in' => 'query',
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ '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],
+ ],
+ ],
+ ],
+ ],
],
],
],
],
- 'ListQueryResult' => [
- 'path' => '/openapi/ha3/instances/{instanceId}/query',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- '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' => true,
- ],
+ 'name' => 'resourceType',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'query',
+ 'name' => 'resourceId',
'in' => 'query',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
- 'required' => false,
+ 'type' => 'array',
+ 'required' => true,
+ 'items' => ['type' => 'string', 'required' => false],
],
],
[
- 'name' => 'sql',
+ 'name' => 'tagKey',
'in' => 'query',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ 'type' => 'array',
'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
],
],
- ],
- ],
- 'DeleteModel' => [
- 'path' => '/openapi/ha3/instances/{instanceId}/models/{modelName}',
- 'methods' => [
- 'delete',
- ],
- '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' => 'all',
+ 'in' => 'query',
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
],
],
- 'ModifyModel' => [
- 'path' => '/openapi/ha3/instances/{instanceId}/models/{modelName}',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'UpdateInstance' => [
+ 'path' => '/openapi/ha3/instances/{instanceId}',
+ 'methods' => ['put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -6590,26 +4224,7 @@
[
'name' => 'instanceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'modelName',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'dryRun',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'body',
@@ -6619,120 +4234,29 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'content' => [
- 'type' => 'object',
+ 'components' => [
+ 'type' => 'array',
'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,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'code' => ['type' => 'string', 'required' => false],
+ 'value' => ['type' => 'string', 'required' => false],
],
],
],
- 'status' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'orderType' => ['type' => 'string', 'required' => false],
+ 'description' => ['type' => 'string', 'required' => false],
],
],
],
],
],
- 'DebugModel' => [
- 'path' => '/openapi/ha3/instances/{instanceId}/models/{modelName}/actions/debug',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'UpdateSqlInstanceContent' => [
+ 'path' => '/openapi/ha3/instances/{instanceId}/sql-studio/databases/{database}/sql-instances/{sqlInstanceId}/content',
+ 'methods' => ['put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -6743,26 +4267,17 @@
[
'name' => 'instanceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'modelName',
+ 'name' => 'database',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'isOnline',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'sqlInstanceId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
'name' => 'body',
@@ -6772,23 +4287,16 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'input' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'content' => ['type' => 'string', 'required' => true],
],
],
],
],
],
- 'GetModel' => [
- 'path' => '/openapi/ha3/instances/{instanceId}/models/{modelName}',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'UpdateSqlInstanceName' => [
+ 'path' => '/openapi/ha3/instances/{instanceId}/sql-studio/databases/{database}/sql-instances/{sqlInstanceId}/name',
+ 'methods' => ['put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -6799,110 +4307,17 @@
[
'name' => 'instanceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'modelName',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- ],
- ],
- 'ListModels' => [
- 'path' => '/openapi/ha3/instances/{instanceId}/models',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
- ],
- ],
- 'deprecated' => false,
- 'parameters' => [
- [
- 'name' => 'instanceId',
+ 'name' => 'database',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'name',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'type',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'pageNumber',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'pageSize',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- ],
- ],
- ],
- 'CreateModel' => [
- 'path' => '/openapi/ha3/instances/{instanceId}/models',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
- ],
- ],
- 'deprecated' => false,
- 'parameters' => [
- [
- 'name' => 'instanceId',
+ 'name' => 'sqlInstanceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'dryRun',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ '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'],
],
- 'partition' => [
- 'type' => 'integer',
- 'format' => 'int32',
+ 'params' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'additionalProperties' => ['type' => 'any'],
+ ],
+ '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' => ''],
],
];