summaryrefslogtreecommitdiff
path: root/data/apig/2024-03-27
diff options
context:
space:
mode:
Diffstat (limited to 'data/apig/2024-03-27')
-rw-r--r--data/apig/2024-03-27/api-docs.php12277
1 files changed, 4180 insertions, 8097 deletions
diff --git a/data/apig/2024-03-27/api-docs.php b/data/apig/2024-03-27/api-docs.php
index ef5ad8e..2f91cf9 100644
--- a/data/apig/2024-03-27/api-docs.php
+++ b/data/apig/2024-03-27/api-docs.php
@@ -1,19 +1,12 @@
<?php return [
'version' => '1.0',
- 'info' => [
- 'style' => 'ROA',
- 'product' => 'APIG',
- 'version' => '2024-03-27',
- ],
+ 'info' => ['style' => 'ROA', 'product' => 'APIG', 'version' => '2024-03-27'],
'components' => [
'schemas' => [
'AgentServiceConfig' => [
'type' => 'object',
'properties' => [
- 'address' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'address' => ['type' => 'string', 'required' => true],
'dashScopeConfig' => [
'type' => 'object',
'properties' => [
@@ -22,189 +15,426 @@
'items' => [
'type' => 'object',
'properties' => [
- 'apiKey' => [
- 'type' => 'string',
- ],
- 'appId' => [
- 'type' => 'string',
- ],
+ 'apiKey' => ['type' => 'string'],
+ 'appId' => ['type' => 'string'],
],
],
],
],
],
- 'enableHealthCheck' => [
- 'type' => 'boolean',
- ],
- 'provider' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'enableHealthCheck' => ['type' => 'boolean'],
+ 'provider' => ['type' => 'string', 'required' => true],
'difyConfig' => [
'type' => 'object',
'properties' => [
- 'botType' => [
- 'type' => 'string',
- ],
- 'apiKey' => [
- 'type' => 'string',
- ],
+ 'botType' => ['type' => 'string'],
+ 'apiKey' => ['type' => 'string'],
],
],
- 'enableOutlierDetection' => [
- 'type' => 'boolean',
- ],
+ 'enableOutlierDetection' => ['type' => 'boolean'],
'customConfig' => [
'type' => 'object',
'properties' => [
- 'apiKey' => [
- 'type' => 'string',
- ],
- 'apiKeyGenerateMode' => [
- 'type' => 'string',
- ],
+ 'apiKey' => ['type' => 'string'],
+ 'apiKeyGenerateMode' => ['type' => 'string'],
],
],
'protocols' => [
'type' => 'array',
'required' => false,
- 'items' => [
- 'type' => 'string',
+ 'items' => ['type' => 'string'],
+ ],
+ ],
+ ],
+ 'AiCacheConfig' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'cacheTTL' => ['type' => 'integer', 'format' => 'int32'],
+ 'redisConfig' => ['$ref' => '#/components/schemas/AiPolicyRedisConfig'],
+ 'vectorConfig' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'type' => ['type' => 'string'],
+ 'serviceHost' => ['type' => 'string'],
+ 'apiKey' => ['type' => 'string'],
+ 'timeout' => ['type' => 'integer', 'format' => 'int32'],
+ 'collectionId' => ['type' => 'string'],
+ 'threshold' => ['type' => 'number', 'format' => 'float'],
+ ],
+ ],
+ 'embeddingConfig' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'type' => ['type' => 'string'],
+ 'serviceId' => ['type' => 'string'],
+ 'timeout' => ['type' => 'integer', 'format' => 'int32'],
+ 'modelName' => ['type' => 'string'],
],
],
+ 'cacheKeyStrategy' => ['type' => 'string'],
+ 'cacheMode' => ['type' => 'string'],
+ 'pluginStatus' => ['$ref' => '#/components/schemas/AiPluginStatus'],
],
],
- 'AiServiceConfig' => [
+ 'AiFallbackConfig' => [
'type' => 'object',
'properties' => [
- 'provider' => [
- 'type' => 'string',
+ 'onlyRedirectUpstreamCode' => ['type' => 'boolean'],
+ 'serviceConfigs' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'serviceId' => ['type' => 'string'],
+ 'name' => ['type' => 'string'],
+ 'targetModelName' => ['type' => 'string'],
+ 'passThroughModelName' => ['type' => 'boolean'],
+ ],
+ ],
],
- 'address' => [
- 'type' => 'string',
+ ],
+ ],
+ 'AiNetworkConfigSearchEngine' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'type' => ['type' => 'string'],
+ 'apiKey' => ['type' => 'string'],
+ 'count' => ['type' => 'integer', 'format' => 'int32'],
+ 'start' => ['type' => 'integer', 'format' => 'int32'],
+ 'timeoutMillisecond' => ['type' => 'integer', 'format' => 'int32'],
+ 'optionArgs' => [
+ 'type' => 'object',
+ 'additionalProperties' => ['type' => 'string'],
],
- 'enableHealthCheck' => [
- 'type' => 'boolean',
+ 'endpoint' => ['type' => 'string'],
+ 'contentMode' => ['type' => 'string'],
+ 'industry' => ['type' => 'string'],
+ 'timeRange' => ['type' => 'string'],
+ ],
+ ],
+ 'AiNetworkSearchConfig' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'needReference' => ['type' => 'boolean'],
+ 'referenceFormat' => ['type' => 'string'],
+ 'referenceLocation' => ['type' => 'string'],
+ 'defaultLang' => ['type' => 'string'],
+ 'defaultEnable' => ['type' => 'boolean'],
+ 'searchFrom' => [
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/AiNetworkConfigSearchEngine'],
],
- 'paiEASServiceConfig' => [
+ 'searchEngineConfig' => ['$ref' => '#/components/schemas/AiNetworkConfigSearchEngine'],
+ 'searchRewrite' => [
'type' => 'object',
'properties' => [
- 'workspaceId' => [
- 'type' => 'string',
+ 'enable' => ['type' => 'boolean'],
+ 'serviceId' => ['type' => 'string'],
+ 'modelName' => ['type' => 'string'],
+ 'timeoutMillisecond' => ['type' => 'integer', 'format' => 'int32'],
+ 'maxCount' => ['type' => 'integer', 'format' => 'int32'],
+ ],
+ ],
+ 'pluginStatus' => ['$ref' => '#/components/schemas/AiPluginStatus'],
+ ],
+ ],
+ 'AiPluginStatus' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'serviceHealthy' => ['type' => 'boolean'],
+ 'pluginId' => ['type' => 'string'],
+ 'errorLogs' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'additionalProperties' => ['type' => 'any'],
+ ],
+ ],
+ ],
+ ],
+ 'AiPolicyRedisConfig' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'host' => ['type' => 'string'],
+ 'port' => ['type' => 'integer', 'format' => 'int32'],
+ 'username' => ['type' => 'string'],
+ 'password' => ['type' => 'string'],
+ 'timeout' => ['type' => 'integer', 'format' => 'int32'],
+ 'databaseNumber' => ['type' => 'integer', 'format' => 'int32'],
+ ],
+ ],
+ 'AiSecurityGuardConfig' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'serviceAddress' => ['type' => 'string'],
+ 'checkRequest' => ['type' => 'boolean'],
+ 'checkResponse' => ['type' => 'boolean'],
+ 'checkRequestImage' => ['type' => 'boolean'],
+ 'checkResponseImage' => ['type' => 'boolean'],
+ 'requestCheckService' => ['type' => 'string'],
+ 'responseCheckService' => ['type' => 'string'],
+ 'requestImageCheckService' => ['type' => 'string'],
+ 'responseImageCheckService' => ['type' => 'string'],
+ 'riskAlertLevel' => ['type' => 'string'],
+ 'bufferLimit' => ['type' => 'integer', 'format' => 'int32'],
+ 'pluginStatus' => ['$ref' => '#/components/schemas/AiPluginStatus'],
+ 'consumerRiskLevel' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'name' => ['type' => 'string'],
+ 'matchType' => ['type' => 'string'],
+ 'type' => ['type' => 'string'],
+ 'level' => ['type' => 'string'],
],
- 'serviceId' => [
- 'type' => 'string',
+ ],
+ ],
+ 'consumerRequestCheckService' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'name' => ['type' => 'string'],
+ 'requestCheckService' => ['type' => 'string'],
+ 'requestImageCheckService' => ['type' => 'string'],
+ 'matchType' => ['type' => 'string'],
+ 'modalityType' => ['type' => 'string'],
],
- 'serviceName' => [
- 'type' => 'string',
+ ],
+ ],
+ 'consumerResponseCheckService' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'name' => ['type' => 'string'],
+ 'responseCheckService' => ['type' => 'string'],
+ 'responseImageCheckService' => ['type' => 'string'],
+ 'matchType' => ['type' => 'string'],
+ 'modalityType' => ['type' => 'string'],
],
- 'endpointType' => [
- 'type' => 'string',
+ ],
+ ],
+ 'riskConfig' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'type' => ['type' => 'string'],
+ 'level' => ['type' => 'string'],
+ 'consumerRules' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'pattern' => ['type' => 'string'],
+ 'matchType' => ['type' => 'string'],
+ ],
+ ],
],
],
],
- 'bedrockServiceConfig' => [
+ ],
+ ],
+ 'AiServiceConfig' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'provider' => ['type' => 'string'],
+ 'address' => ['type' => 'string'],
+ 'enableHealthCheck' => ['type' => 'boolean'],
+ 'paiEASServiceConfig' => [
'type' => 'object',
'properties' => [
- 'awsRegion' => [
- 'type' => 'string',
- ],
- 'awsAccessKey' => [
- 'type' => 'string',
- ],
- 'awsSecretKey' => [
- 'type' => 'string',
- ],
+ 'workspaceId' => ['type' => 'string'],
+ 'serviceId' => ['type' => 'string'],
+ 'serviceName' => ['type' => 'string'],
+ 'endpointType' => ['type' => 'string'],
],
],
- 'ApiKeyGenerateMode' => [
- 'type' => 'string',
- ],
- 'defaultModelName' => [
- 'type' => 'string',
- ],
- 'enableOutlierDetection' => [
- 'type' => 'boolean',
+ 'bedrockServiceConfig' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'awsRegion' => ['type' => 'string'],
+ 'awsAccessKey' => ['type' => 'string'],
+ 'awsSecretKey' => ['type' => 'string'],
+ ],
],
+ 'ApiKeyGenerateMode' => ['type' => 'string'],
+ 'defaultModelName' => ['type' => 'string'],
+ 'enableOutlierDetection' => ['type' => 'boolean'],
'vertexServiceConfig' => [
'type' => 'object',
'properties' => [
- 'vertexAuthKey' => [
- 'type' => 'string',
- ],
- 'vertexRegion' => [
- 'type' => 'string',
- ],
- 'vertexProjectId' => [
- 'type' => 'string',
- ],
- 'vertexAuthServiceName' => [
- 'type' => 'string',
- ],
+ 'vertexAuthKey' => ['type' => 'string'],
+ 'vertexRegion' => ['type' => 'string'],
+ 'vertexProjectId' => ['type' => 'string'],
+ 'vertexAuthServiceName' => ['type' => 'string'],
'geminiSafetySetting' => [
'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'string',
- ],
- ],
- 'vertexTokenRefreshAhead' => [
- 'type' => 'integer',
- 'format' => 'int32',
+ 'additionalProperties' => ['type' => 'string'],
],
+ 'vertexTokenRefreshAhead' => ['type' => 'integer', 'format' => 'int32'],
],
],
'protocols' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
],
'apiKeys' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
],
'compatibleProtocols' => [
'type' => 'array',
+ 'items' => ['type' => 'string'],
+ ],
+ ],
+ ],
+ 'AiStatisticsConfig' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'logRequestContent' => ['type' => 'boolean'],
+ 'logResponseContent' => ['type' => 'boolean'],
+ 'pathFieldConfigs' => [
+ 'type' => 'array',
'items' => [
- 'type' => 'string',
+ 'type' => 'object',
+ 'properties' => [
+ 'path' => ['type' => 'string'],
+ 'fieldPaths' => [
+ 'type' => 'object',
+ 'additionalProperties' => ['$ref' => '#/components/schemas/AiStatisticsPathField'],
+ ],
+ ],
],
],
],
],
- 'AkSkIdentityConfig' => [
+ 'AiStatisticsPathField' => [
'type' => 'object',
'properties' => [
- 'type' => [
- 'type' => 'string',
+ 'fieldKey' => ['type' => 'string'],
+ 'jsonPath' => ['type' => 'string'],
+ 'rule' => ['type' => 'string'],
+ 'name' => ['type' => 'string'],
+ 'description' => ['type' => 'string'],
+ 'source' => ['type' => 'string'],
+ 'category' => ['type' => 'string'],
+ 'io' => ['type' => 'string'],
+ 'sensitive' => ['type' => 'boolean'],
+ 'recordEnabled' => ['type' => 'boolean'],
+ ],
+ ],
+ 'AiTokenRateLimitConfig' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'redisConfig' => ['$ref' => '#/components/schemas/AiPolicyRedisConfig'],
+ 'pluginStatus' => ['$ref' => '#/components/schemas/AiPluginStatus'],
+ 'rules' => [
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/AiTokenRateLimitConfigRule'],
],
- 'generateMode' => [
- 'type' => 'string',
+ 'globalRules' => [
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/AiTokenRateLimitConfigRule'],
],
- 'ak' => [
- 'type' => 'string',
+ 'enableGlobalRules' => ['type' => 'boolean'],
+ ],
+ ],
+ 'AiTokenRateLimitConfigRule' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'limitType' => ['type' => 'string'],
+ 'matchKey' => ['type' => 'string'],
+ 'matchType' => ['type' => 'string'],
+ 'matchValue' => ['type' => 'string'],
+ 'limitMode' => ['type' => 'string'],
+ 'limitValue' => ['type' => 'integer', 'format' => 'int32'],
+ ],
+ ],
+ 'AiToolSelectionConfig' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'enableConditions' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'toolCountThreshold' => ['type' => 'integer', 'format' => 'int32'],
+ ],
],
- 'sk' => [
- 'type' => 'string',
+ 'toolReranking' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'modelService' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'serviceId' => ['type' => 'string'],
+ 'modelName' => ['type' => 'string'],
+ 'timeoutMillisecond' => ['type' => 'integer', 'format' => 'int32'],
+ ],
+ ],
+ 'filteringMethod' => ['type' => 'string'],
+ 'topKPercent' => ['type' => 'integer', 'format' => 'int32'],
+ 'topNCount' => ['type' => 'integer', 'format' => 'int32'],
+ 'scoreThreshold' => ['type' => 'number', 'format' => 'float'],
+ 'fallbackStrategy' => ['type' => 'string'],
+ ],
+ ],
+ 'queryRewriting' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'enabled' => ['type' => 'boolean'],
+ 'modelService' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'serviceId' => ['type' => 'string'],
+ 'modelName' => ['type' => 'string'],
+ 'timeoutMillisecond' => ['type' => 'integer', 'format' => 'int32'],
+ ],
+ ],
+ 'promptConfig' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'type' => ['type' => 'string'],
+ 'customPrompt' => ['type' => 'string'],
+ ],
+ ],
+ 'maxOutputTokens' => ['type' => 'integer', 'format' => 'int32'],
+ 'triggerConditions' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'messageCountThreshold' => ['type' => 'integer', 'format' => 'int32'],
+ ],
+ ],
+ 'contextSelection' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'type' => ['type' => 'string'],
+ 'value' => ['type' => 'integer', 'format' => 'int32'],
+ ],
+ ],
+ 'fallbackStrategy' => ['type' => 'string'],
+ ],
],
+ 'pluginStatus' => ['$ref' => '#/components/schemas/AiPluginStatus'],
+ ],
+ ],
+ 'AkSkIdentityConfig' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'type' => ['type' => 'string'],
+ 'generateMode' => ['type' => 'string'],
+ 'ak' => ['type' => 'string'],
+ 'sk' => ['type' => 'string'],
],
],
'ApiKeyIdentityConfig' => [
'type' => 'object',
'properties' => [
- 'type' => [
- 'type' => 'string',
- ],
+ 'type' => ['type' => 'string'],
'apikeySource' => [
'type' => 'object',
'properties' => [
- 'source' => [
- 'type' => 'string',
- ],
- 'value' => [
- 'type' => 'string',
- ],
+ 'source' => ['type' => 'string'],
+ 'value' => ['type' => 'string'],
],
],
'credentials' => [
@@ -212,12 +442,8 @@
'items' => [
'type' => 'object',
'properties' => [
- 'generateMode' => [
- 'type' => 'string',
- ],
- 'apikey' => [
- 'type' => 'string',
- ],
+ 'generateMode' => ['type' => 'string'],
+ 'apikey' => ['type' => 'string'],
],
],
],
@@ -229,12 +455,8 @@
'domainInfo' => [
'type' => 'object',
'properties' => [
- 'domainId' => [
- 'type' => 'string',
- ],
- 'name' => [
- 'type' => 'string',
- ],
+ 'domainId' => ['type' => 'string'],
+ 'name' => ['type' => 'string'],
],
],
'conflicts' => [
@@ -242,24 +464,14 @@
'items' => [
'type' => 'object',
'properties' => [
- 'resourceType' => [
- 'type' => 'string',
- ],
- 'resourceId' => [
- 'type' => 'string',
- ],
- 'resourceName' => [
- 'type' => 'string',
- ],
+ 'resourceType' => ['type' => 'string'],
+ 'resourceId' => ['type' => 'string'],
+ 'resourceName' => ['type' => 'string'],
'environmentInfo' => [
'type' => 'object',
'properties' => [
- 'environmentId' => [
- 'type' => 'string',
- ],
- 'name' => [
- 'type' => 'string',
- ],
+ 'environmentId' => ['type' => 'string'],
+ 'name' => ['type' => 'string'],
],
],
'details' => [
@@ -267,26 +479,18 @@
'items' => [
'type' => 'object',
'properties' => [
- 'level' => [
- 'type' => 'string',
- ],
+ 'level' => ['type' => 'string'],
'conflictingMatch' => [
'type' => 'object',
'properties' => [
'operationInfo' => [
'type' => 'object',
'properties' => [
- 'operationId' => [
- 'type' => 'string',
- ],
- 'name' => [
- 'type' => 'string',
- ],
+ 'operationId' => ['type' => 'string'],
+ 'name' => ['type' => 'string'],
],
],
- 'match' => [
- '$ref' => '#/components/schemas/HttpRouteMatch',
- ],
+ 'match' => ['$ref' => '#/components/schemas/HttpRouteMatch'],
],
],
'detectedMatch' => [
@@ -295,17 +499,11 @@
'operationInfo' => [
'type' => 'object',
'properties' => [
- 'operationId' => [
- 'type' => 'string',
- ],
- 'name' => [
- 'type' => 'string',
- ],
+ 'operationId' => ['type' => 'string'],
+ 'name' => ['type' => 'string'],
],
],
- 'match' => [
- '$ref' => '#/components/schemas/HttpRouteMatch',
- ],
+ 'match' => ['$ref' => '#/components/schemas/HttpRouteMatch'],
],
],
],
@@ -314,12 +512,8 @@
'routeInfo' => [
'type' => 'object',
'properties' => [
- 'routeId' => [
- 'type' => 'string',
- ],
- 'name' => [
- 'type' => 'string',
- ],
+ 'routeId' => ['type' => 'string'],
+ 'name' => ['type' => 'string'],
],
],
],
@@ -330,234 +524,124 @@
'Attachment' => [
'type' => 'object',
'properties' => [
- 'policyAttachmentId' => [
- 'type' => 'string',
- ],
+ 'policyAttachmentId' => ['type' => 'string'],
+ 'attachResourceId' => ['type' => 'string'],
+ 'attachResourceType' => ['type' => 'string'],
+ 'environmentId' => ['type' => 'string'],
+ 'gatewayId' => ['type' => 'string'],
'attachResourceIds' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
],
- 'attachResourceType' => [
- 'type' => 'string',
- ],
- 'environmentId' => [
- 'type' => 'string',
- ],
- 'gatewayId' => [
- 'type' => 'string',
+ 'attachResourceParentIds' => [
+ 'type' => 'array',
+ 'items' => ['type' => 'string'],
],
],
],
'AuthConfig' => [
'type' => 'object',
'properties' => [
- 'authType' => [
- 'type' => 'string',
- ],
- 'authMode' => [
- 'type' => 'string',
- ],
+ 'authType' => ['type' => 'string'],
+ 'authMode' => ['type' => 'string'],
],
],
'AuthorizationResourceInfo' => [
'type' => 'object',
'properties' => [
- 'resourceId' => [
- 'type' => 'string',
- ],
- 'parentResourceId' => [
- 'type' => 'string',
- ],
- 'environmentId' => [
- 'type' => 'string',
- ],
+ 'resourceId' => ['type' => 'string'],
+ 'parentResourceId' => ['type' => 'string'],
+ 'environmentId' => ['type' => 'string'],
],
],
'Backend' => [
'type' => 'object',
'properties' => [
- 'scene' => [
- 'type' => 'string',
- ],
+ 'scene' => ['type' => 'string'],
'services' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'serviceId' => [
- 'type' => 'string',
- ],
- 'name' => [
- 'type' => 'string',
- ],
- 'protocol' => [
- 'type' => 'string',
- ],
- 'port' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'weight' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'version' => [
- 'type' => 'string',
- ],
+ 'serviceId' => ['type' => 'string'],
+ 'name' => ['type' => 'string'],
+ 'protocol' => ['type' => 'string'],
+ 'port' => ['type' => 'integer', 'format' => 'int32'],
+ 'weight' => ['type' => 'integer', 'format' => 'int32'],
+ 'version' => ['type' => 'string'],
],
],
],
],
],
- 'CheckServiceLinkedRoleResult' => [
+ 'ConsumerGroupInfo' => [
'type' => 'object',
'properties' => [
- 'existed' => [
- 'type' => 'boolean',
- ],
- ],
- ],
- 'ConsumerConfig' => [
- 'type' => 'object',
- 'properties' => [
- 'consumerId' => [
- 'type' => 'string',
- ],
- 'name' => [
- 'type' => 'string',
- ],
+ 'consumerGroupId' => ['type' => 'string'],
+ 'name' => ['type' => 'string'],
+ 'gatewayType' => ['type' => 'string'],
],
],
'ConsumerInfo' => [
'type' => 'object',
'properties' => [
- 'consumerId' => [
- 'type' => 'string',
- ],
- 'name' => [
- 'type' => 'string',
- ],
- 'enable' => [
- 'type' => 'boolean',
- ],
- ],
- ],
- 'DashboardFilter' => [
- 'type' => 'object',
- 'properties' => [
- 'routeName' => [
- 'type' => 'string',
- ],
+ 'consumerId' => ['type' => 'string'],
+ 'name' => ['type' => 'string'],
+ 'enable' => ['type' => 'boolean'],
],
],
'DomainInfo' => [
'type' => 'object',
'properties' => [
- 'domainId' => [
- 'type' => 'string',
- ],
- 'status' => [
- 'type' => 'string',
- ],
- 'createFrom' => [
- 'type' => 'string',
- ],
- 'name' => [
- 'type' => 'string',
- ],
- 'protocol' => [
- 'type' => 'string',
- ],
- 'forceHttps' => [
- 'type' => 'boolean',
- ],
- 'updateTimestamp' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'createTimestamp' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'certIdentifier' => [
- 'type' => 'string',
- ],
- 'resourceGroupId' => [
- 'type' => 'string',
- ],
- 'mTLSEnabled' => [
- 'type' => 'boolean',
- ],
- 'clientCACert' => [
- 'type' => 'string',
- ],
+ 'domainId' => ['type' => 'string'],
+ 'status' => ['type' => 'string'],
+ 'createFrom' => ['type' => 'string'],
+ 'name' => ['type' => 'string'],
+ 'protocol' => ['type' => 'string'],
+ 'domainScope' => ['type' => 'string'],
+ 'forceHttps' => ['type' => 'boolean'],
+ 'updateTimestamp' => ['type' => 'integer', 'format' => 'int64'],
+ 'createTimestamp' => ['type' => 'integer', 'format' => 'int64'],
+ 'certIdentifier' => ['type' => 'string'],
+ 'tlsMax' => ['type' => 'string'],
+ 'tlsMin' => ['type' => 'string'],
+ 'resourceGroupId' => ['type' => 'string'],
+ 'mTLSEnabled' => ['type' => 'boolean'],
+ 'clientCACert' => ['type' => 'string'],
],
],
'EnvironmentInfo' => [
'type' => 'object',
'properties' => [
- 'environmentId' => [
- 'type' => 'string',
- ],
- 'name' => [
- 'type' => 'string',
- ],
- 'alias' => [
- 'type' => 'string',
- ],
- 'description' => [
- 'type' => 'string',
- ],
- 'gatewayInfo' => [
- '$ref' => '#/components/schemas/GatewayInfo',
- ],
+ 'environmentId' => ['type' => 'string'],
+ 'name' => ['type' => 'string'],
+ 'alias' => ['type' => 'string'],
+ 'description' => ['type' => 'string'],
+ 'gatewayInfo' => ['$ref' => '#/components/schemas/GatewayInfo'],
'subDomainInfos' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/SubDomainInfo',
- ],
- ],
- 'default' => [
- 'type' => 'boolean',
- ],
- 'createTimestamp' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'updateTimestamp' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'resourceGroupId' => [
- 'type' => 'string',
+ 'items' => ['$ref' => '#/components/schemas/SubDomainInfo'],
],
+ 'default' => ['type' => 'boolean'],
+ 'createTimestamp' => ['type' => 'integer', 'format' => 'int64'],
+ 'updateTimestamp' => ['type' => 'integer', 'format' => 'int64'],
+ 'resourceGroupId' => ['type' => 'string'],
],
],
'GatewayInfo' => [
'type' => 'object',
'properties' => [
- 'gatewayId' => [
- 'type' => 'string',
- ],
- 'name' => [
- 'type' => 'string',
- ],
+ 'gatewayId' => ['type' => 'string'],
+ 'name' => ['type' => 'string'],
'vpcInfo' => [
'type' => 'object',
'properties' => [
- 'vpcId' => [
- 'type' => 'string',
- ],
- 'name' => [
- 'type' => 'string',
- ],
+ 'vpcId' => ['type' => 'string'],
+ 'name' => ['type' => 'string'],
],
],
- 'engineVersion' => [
- 'type' => 'string',
- ],
+ 'engineVersion' => ['type' => 'string'],
+ 'gatewayEdition' => ['type' => 'string'],
],
],
'GatewayLogConfig' => [
@@ -566,342 +650,407 @@
'slsConfig' => [
'type' => 'object',
'properties' => [
- 'enable' => [
- 'type' => 'boolean',
- ],
+ 'enable' => ['type' => 'boolean'],
],
],
],
],
- 'HttpApiApiInfo' => [
+ 'HiMarketAgentConfig' => [
'type' => 'object',
'properties' => [
- 'httpApiId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'name' => [
- 'type' => 'string',
- ],
- 'basePath' => [
- 'type' => 'string',
- ],
- 'description' => [
- 'type' => 'string',
- ],
- 'versionInfo' => [
- '$ref' => '#/components/schemas/HttpApiVersionInfo',
- ],
- 'ingressInfo' => [
+ 'agentAPIConfig' => [
'type' => 'object',
'properties' => [
- 'sourceId' => [
- 'type' => 'string',
- ],
- 'ingressClass' => [
- 'type' => 'string',
- ],
- 'watchNamespace' => [
- 'type' => 'string',
- ],
- 'environmentInfo' => [
- 'type' => 'object',
- 'properties' => [
- 'environmentId' => [
- 'type' => 'string',
- ],
- ],
- ],
- 'k8sClusterInfo' => [
- 'type' => 'object',
- 'properties' => [
- 'clusterId' => [
- 'type' => 'string',
- ],
- ],
+ 'agentProtocols' => [
+ 'type' => 'array',
+ 'items' => ['type' => 'string'],
],
- 'overrideIngressIp' => [
- 'type' => 'boolean',
+ 'routes' => [
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/HiMarketHttpRoute'],
],
],
],
- 'type' => [
- 'type' => 'string',
- ],
- 'resourceGroupId' => [
- 'type' => 'string',
- ],
- 'enabelAuth' => [
- 'type' => 'boolean',
- ],
- 'authConfig' => [
- '$ref' => '#/components/schemas/AuthConfig',
- ],
- 'gatewayId' => [
- 'type' => 'string',
- ],
- 'modelCategory' => [
- 'type' => 'string',
- ],
- 'protocols' => [
+ ],
+ ],
+ 'HiMarketApiKeyConfig' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'key' => ['type' => 'string'],
+ 'source' => ['type' => 'string'],
+ 'credentials' => [
'type' => 'array',
'items' => [
- 'type' => 'string',
+ 'type' => 'object',
+ 'properties' => [
+ 'apiKey' => ['type' => 'string'],
+ 'mode' => ['type' => 'string'],
+ ],
],
],
- 'environments' => [
+ ],
+ ],
+ 'HiMarketAuthCodeConfig' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'clientId' => ['type' => 'string'],
+ 'clientSecret' => ['type' => 'string'],
+ 'scopes' => ['type' => 'string'],
+ 'issuer' => ['type' => 'string'],
+ 'authorizationEndpoint' => ['type' => 'string'],
+ 'tokenEndpoint' => ['type' => 'string'],
+ 'userInfoEndpoint' => ['type' => 'string'],
+ 'jwkSetUri' => ['type' => 'string'],
+ 'redirectUri' => ['type' => 'string'],
+ ],
+ ],
+ 'HiMarketDomain' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'domain' => ['type' => 'string'],
+ 'port' => ['type' => 'integer', 'format' => 'int32'],
+ 'protocol' => ['type' => 'string'],
+ 'networkType' => ['type' => 'string'],
+ ],
+ ],
+ 'HiMarketHmacConfig' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'credentials' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'environmentId' => [
- 'type' => 'string',
- ],
- 'backendScene' => [
- 'type' => 'string',
- ],
- 'backendType' => [
- 'type' => 'string',
- ],
- 'serviceConfigs' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'gatewayServiceId' => [
- 'type' => 'string',
- ],
- 'name' => [
- 'type' => 'string',
- ],
- 'protocol' => [
- 'type' => 'string',
- ],
- 'port' => [
- 'type' => 'string',
- ],
- 'weight' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'version' => [
- 'type' => 'string',
- ],
- 'match' => [
- '$ref' => '#/components/schemas/HttpApiBackendMatchConditions',
- ],
- 'serviceId' => [
- 'type' => 'string',
- ],
- ],
- ],
+ 'ak' => ['type' => 'string'],
+ 'sk' => ['type' => 'string'],
+ 'mode' => ['type' => 'string'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'HiMarketHttpRoute' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'description' => ['type' => 'string'],
+ 'match' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'methods' => [
+ 'type' => 'array',
+ 'items' => ['type' => 'string'],
+ ],
+ 'path' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'value' => ['type' => 'string'],
+ 'type' => ['type' => 'string'],
+ 'caseSensitive' => ['type' => 'boolean'],
],
- 'customDomains' => [
- 'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/HttpApiDomainInfo',
+ ],
+ 'headers' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'name' => ['type' => 'string'],
+ 'type' => ['type' => 'string'],
+ 'value' => ['type' => 'string'],
+ 'caseSensitive' => ['type' => 'boolean'],
],
],
- 'name' => [
- 'type' => 'string',
- ],
- 'alias' => [
- 'type' => 'string',
- ],
- 'gatewayInfo' => [
+ ],
+ 'queryParams' => [
+ 'type' => 'array',
+ 'items' => [
'type' => 'object',
'properties' => [
- 'gatewayId' => [
- 'type' => 'string',
- ],
- 'name' => [
- 'type' => 'string',
- ],
+ 'name' => ['type' => 'string'],
+ 'type' => ['type' => 'string'],
+ 'value' => ['type' => 'string'],
+ 'caseSensitive' => ['type' => 'boolean'],
],
],
- 'deployStatus' => [
- 'type' => 'string',
- ],
- 'subDomains' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'domainId' => [
- 'type' => 'string',
- ],
- 'name' => [
- 'type' => 'string',
- ],
- 'protocol' => [
- 'type' => 'string',
- ],
- 'networkType' => [
- 'type' => 'string',
- ],
- ],
+ ],
+ 'modelMatches' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'name' => ['type' => 'string'],
+ 'type' => ['type' => 'string'],
+ 'value' => ['type' => 'string'],
+ 'caseSensitive' => ['type' => 'boolean'],
],
],
],
],
],
- 'aiProtocols' => [
+ 'builtin' => ['type' => 'boolean'],
+ 'domains' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['$ref' => '#/components/schemas/HiMarketDomain'],
],
- 'deployConfigs' => [
- 'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/HttpApiDeployConfig',
+ ],
+ ],
+ 'HiMarketIcon' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'type' => ['type' => 'string'],
+ 'value' => ['type' => 'string'],
+ ],
+ ],
+ 'HiMarketIdentityMapping' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'userIdField' => ['type' => 'string'],
+ 'userNameField' => ['type' => 'string'],
+ 'emailField' => ['type' => 'string'],
+ ],
+ ],
+ 'HiMarketJwtConfig' => [
+ 'type' => 'object',
+ 'properties' => [],
+ ],
+ 'HiMarketMcpConfig' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'mcpServerName' => ['type' => 'string'],
+ 'tools' => ['type' => 'string'],
+ 'mcpServerConfig' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'path' => ['type' => 'string'],
+ 'domains' => [
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/HiMarketDomain'],
+ ],
],
],
- 'deployCntMap' => [
+ 'meta' => [
'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'object',
- 'properties' => [
- 'deployedCnt' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'Cnt' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- ],
+ 'properties' => [
+ 'protocol' => ['type' => 'string'],
],
],
- 'agentProtocols' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'string',
+ ],
+ ],
+ 'HiMarketModelConfig' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'modelAPIConfig' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'modelCategory' => ['type' => 'string'],
+ 'aiProtocols' => [
+ 'type' => 'array',
+ 'items' => ['type' => 'string'],
+ ],
+ 'routes' => [
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/HiMarketHttpRoute'],
+ ],
],
],
],
],
- 'HttpApiBackendMatchCondition' => [
+ 'HiMarketModelFeature' => [
'type' => 'object',
'properties' => [
- 'type' => [
- 'type' => 'string',
+ 'model' => ['type' => 'string'],
+ 'maxTokens' => ['type' => 'integer', 'format' => 'int32'],
+ 'temperature' => ['type' => 'number', 'format' => 'float'],
+ 'streaming' => ['type' => 'boolean'],
+ 'webSearch' => ['type' => 'boolean'],
+ 'enableThinking' => ['type' => 'boolean'],
+ 'enableMultiModal' => ['type' => 'boolean'],
+ ],
+ ],
+ 'HiMarketOidcConfig' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'provider' => ['type' => 'string'],
+ 'name' => ['type' => 'string'],
+ 'logoUrl' => ['type' => 'string'],
+ 'enabled' => ['type' => 'boolean'],
+ 'grantType' => ['type' => 'string'],
+ 'authCodeConfig' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'clientId' => ['type' => 'string'],
+ 'clientSecret' => ['type' => 'string'],
+ 'scopes' => ['type' => 'string'],
+ 'issuer' => ['type' => 'string'],
+ 'authorizationEndpoint' => ['type' => 'string'],
+ 'tokenEndpoint' => ['type' => 'string'],
+ 'userInfoEndpoint' => ['type' => 'string'],
+ 'jwkSetUri' => ['type' => 'string'],
+ 'redirectUri' => ['type' => 'string'],
+ ],
],
- 'key' => [
- 'type' => 'string',
+ 'identityMapping' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'userIdField' => ['type' => 'string'],
+ 'userNameField' => ['type' => 'string'],
+ 'emailField' => ['type' => 'string'],
+ 'customFields' => [
+ 'type' => 'object',
+ 'additionalProperties' => ['type' => 'string'],
+ ],
+ ],
],
- 'value' => [
- 'type' => 'string',
+ ],
+ ],
+ 'HiMarketPortalDeployConfig' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'platform' => ['type' => 'string'],
+ 'status' => ['type' => 'string'],
+ 'message' => ['type' => 'string'],
+ 'saeConfig' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'oidcRoleName' => ['type' => 'string'],
+ 'regionId' => ['type' => 'string'],
+ 'namespaceId' => ['type' => 'string'],
+ 'vpcId' => ['type' => 'string'],
+ 'vSwitchId' => ['type' => 'string'],
+ 'securityGroupId' => ['type' => 'string'],
+ 'replicas' => ['type' => 'string'],
+ 'appId' => ['type' => 'string'],
+ ],
],
- 'operator' => [
- 'type' => 'string',
+ ],
+ ],
+ 'HiMarketPortalDomainConfig' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'domain' => ['type' => 'string'],
+ 'type' => ['type' => 'string'],
+ 'protocol' => ['type' => 'string'],
+ ],
+ ],
+ 'HiMarketPortalSettingConfig' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'builtinAuthEnabled' => ['type' => 'boolean'],
+ 'autoApproveDevelopers' => ['type' => 'boolean'],
+ 'autoApproveSubscriptions' => ['type' => 'boolean'],
+ ],
+ ],
+ 'HiMarketProductCategory' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'categoryId' => ['type' => 'string'],
+ 'name' => ['type' => 'string'],
+ 'description' => ['type' => 'string'],
+ 'icon' => ['$ref' => '#/components/schemas/HiMarketIcon'],
+ ],
+ ],
+ 'HiMarketProductFeature' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'modelFeature' => ['$ref' => '#/components/schemas/HiMarketModelFeature'],
+ ],
+ ],
+ 'HiMarketProductPublicationConifg' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'publicationId' => ['type' => 'string'],
+ ],
+ ],
+ 'HiMarketProductPublicationDetail' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'publicationId' => ['type' => 'string'],
+ 'portalId' => ['type' => 'string'],
+ 'portalName' => ['type' => 'string'],
+ 'productId' => ['type' => 'string'],
+ 'productName' => ['type' => 'string'],
+ 'productType' => ['type' => 'string'],
+ ],
+ ],
+ 'HiMarketProductRefConfig' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'gatewayId' => ['type' => 'string'],
+ 'apigRefConfig' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'mcpServerId' => ['type' => 'string'],
+ 'mcpRouteId' => ['type' => 'string'],
+ 'mcpServerName' => ['type' => 'string'],
+ 'agentApiId' => ['type' => 'string'],
+ 'agentApiName' => ['type' => 'string'],
+ 'modelApiId' => ['type' => 'string'],
+ 'modelApiName' => ['type' => 'string'],
+ ],
],
],
],
+ 'HttpApiApiInfo' => [],
+ 'HttpApiBackendMatchCondition' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'type' => ['type' => 'string'],
+ 'key' => ['type' => 'string'],
+ 'value' => ['type' => 'string'],
+ 'operator' => ['type' => 'string'],
+ ],
+ ],
'HttpApiBackendMatchConditions' => [
'type' => 'object',
'properties' => [
- 'default' => [
- 'type' => 'boolean',
- ],
+ 'default' => ['type' => 'boolean'],
'conditions' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/HttpApiBackendMatchCondition',
- ],
+ 'items' => ['$ref' => '#/components/schemas/HttpApiBackendMatchCondition'],
],
],
],
'HttpApiDeployConfig' => [
'type' => 'object',
'properties' => [
- 'environmentId' => [
- 'type' => 'string',
- ],
- 'backendScene' => [
- 'type' => 'string',
- ],
- 'autoDeploy' => [
- 'type' => 'boolean',
- ],
- 'gatewayId' => [
- 'type' => 'string',
- ],
- 'routeBackend' => [
- '$ref' => '#/components/schemas/Backend',
- ],
- 'gatewayInfo' => [
- '$ref' => '#/components/schemas/GatewayInfo',
- ],
- 'mock' => [
- '$ref' => '#/components/schemas/HttpApiMockContract',
- ],
- 'gatewayType' => [
- 'type' => 'string',
- ],
+ 'environmentId' => ['type' => 'string'],
+ 'backendScene' => ['type' => 'string'],
+ 'autoDeploy' => ['type' => 'boolean'],
+ 'gatewayId' => ['type' => 'string'],
+ 'routeBackend' => ['$ref' => '#/components/schemas/Backend'],
+ 'gatewayInfo' => ['$ref' => '#/components/schemas/GatewayInfo'],
+ 'mock' => ['$ref' => '#/components/schemas/HttpApiMockContract'],
+ 'gatewayType' => ['type' => 'string'],
'customDomainIds' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
+ ],
+ 'envDomainIds' => [
+ 'type' => 'array',
+ 'items' => ['type' => 'string'],
],
'serviceConfigs' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'serviceId' => [
- 'type' => 'string',
- ],
- 'weight' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'modelNamePattern' => [
- 'type' => 'string',
- ],
- 'modelName' => [
- 'type' => 'string',
- ],
- 'intentCode' => [
- 'type' => 'string',
- ],
- 'match' => [
- '$ref' => '#/components/schemas/HttpApiBackendMatchConditions',
- ],
- 'port' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'protocol' => [
- 'type' => 'string',
- ],
- 'gatewayServiceId' => [
- 'type' => 'string',
- ],
- 'name' => [
- 'type' => 'string',
- ],
- 'version' => [
- 'type' => 'string',
- ],
- 'multiServiceRouteStrategy' => [
- 'type' => 'string',
- ],
+ 'serviceId' => ['type' => 'string'],
+ 'weight' => ['type' => 'integer', 'format' => 'int64'],
+ 'modelNamePattern' => ['type' => 'string'],
+ 'modelName' => ['type' => 'string'],
+ 'intentCode' => ['type' => 'string'],
+ 'match' => ['$ref' => '#/components/schemas/HttpApiBackendMatchConditions'],
+ 'port' => ['type' => 'integer', 'format' => 'int32'],
+ 'protocol' => ['type' => 'string'],
+ 'gatewayServiceId' => ['type' => 'string'],
+ 'name' => ['type' => 'string'],
+ 'version' => ['type' => 'string'],
+ 'multiServiceRouteStrategy' => ['type' => 'string'],
'observabilityRouteConfig' => [
'type' => 'object',
'properties' => [
- 'mode' => [
- 'type' => 'string',
- ],
- 'rateLimit' => [
- 'type' => 'number',
- 'format' => 'float',
- ],
- 'queueSize' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'mode' => ['type' => 'string'],
+ 'rateLimit' => ['type' => 'number', 'format' => 'float'],
+ 'queueSize' => ['type' => 'integer', 'format' => 'int32'],
],
],
],
@@ -909,301 +1058,27 @@
],
'policyConfigs' => [
'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/HttpApiPolicyConfigs'],
+ ],
+ 'customDomainInfos' => [
+ 'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'type' => [
- 'type' => 'string',
- ],
- 'enable' => [
- 'type' => 'boolean',
- ],
- 'aiFallbackConfig' => [
- 'type' => 'object',
- 'properties' => [
- 'serviceConfigs' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'serviceId' => [
- 'type' => 'string',
- ],
- 'targetModelName' => [
- 'type' => 'string',
- ],
- ],
- ],
- ],
- ],
- ],
- 'aiSecurityGuardConfig' => [
- 'type' => 'object',
- 'properties' => [
- 'serviceAddress' => [
- 'type' => 'string',
- ],
- 'checkRequest' => [
- 'type' => 'boolean',
- ],
- 'checkResponse' => [
- 'type' => 'boolean',
- ],
- 'checkRequestImage' => [
- 'type' => 'boolean',
- ],
- 'checkResponseImage' => [
- 'type' => 'boolean',
- ],
- 'requestCheckService' => [
- 'type' => 'string',
- ],
- 'responseCheckService' => [
- 'type' => 'string',
- ],
- 'requestImageCheckService' => [
- 'type' => 'string',
- ],
- 'responseImageCheckService' => [
- 'type' => 'string',
- ],
- 'riskAlertLevel' => [
- 'type' => 'string',
- ],
- 'riskConfig' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'type' => [
- 'type' => 'string',
- ],
- 'level' => [
- 'type' => 'string',
- ],
- 'consumerRules' => [
- 'type' => 'object',
- 'properties' => [
- 'pattern' => [
- 'type' => 'string',
- ],
- 'matchType' => [
- 'type' => 'string',
- ],
- ],
- ],
- ],
- ],
- ],
- 'bufferLimit' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'consumerRequestCheckService' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'name' => [
- 'type' => 'string',
- ],
- 'requestCheckService' => [
- 'type' => 'string',
- ],
- 'requestImageCheckService' => [
- 'type' => 'string',
- ],
- 'matchType' => [
- 'type' => 'string',
- ],
- 'modalityType' => [
- 'type' => 'string',
- ],
- ],
- ],
- ],
- 'consumerResponseCheckService' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'name' => [
- 'type' => 'string',
- ],
- 'responseCheckService' => [
- 'type' => 'string',
- ],
- 'responseImageCheckService' => [
- 'type' => 'string',
- ],
- 'matchType' => [
- 'type' => 'string',
- ],
- 'modalityType' => [
- 'type' => 'string',
- ],
- ],
- ],
- ],
- 'consumerRiskLevel' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'name' => [
- 'type' => 'string',
- ],
- 'matchType' => [
- 'type' => 'string',
- ],
- 'type' => [
- 'type' => 'string',
- ],
- 'level' => [
- 'type' => 'string',
- ],
- ],
- ],
- ],
- ],
- ],
- 'aiTokenRateLimitConfig' => [
- 'type' => 'object',
- 'properties' => [
- 'rules' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'limitType' => [
- 'type' => 'string',
- 'enum' => [
- 'Header',
- 'Parameter',
- 'Consumer',
- 'Cookie',
- 'IP',
- 'Request',
- 'Concurrency',
- 'Model',
- 'Global',
- ],
- ],
- 'matchKey' => [
- 'type' => 'string',
- ],
- 'matchType' => [
- 'type' => 'string',
- 'enum' => [
- 'Exact',
- 'Prefix',
- 'Regex',
- 'All',
- 'IP',
- ],
- ],
- 'matchValue' => [
- 'type' => 'string',
- ],
- 'limitMode' => [
- 'type' => 'string',
- 'enum' => [
- 'TokenPerSecond',
- 'TokenPerMinute',
- 'TokenPerHour',
- 'TokenPerDay',
- 'RequestPerSecond',
- 'RequestPerMinute',
- 'RequestPerHour',
- 'RequestPerDay',
- 'ConcurrencyLimit',
- ],
- ],
- 'limitValue' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- ],
- ],
- ],
- 'globalRules' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'limitType' => [
- 'type' => 'string',
- 'enum' => [
- 'Header',
- 'Parameter',
- 'Consumer',
- 'Cookie',
- 'IP',
- 'Request',
- 'Concurrency',
- 'Model',
- 'Global',
- ],
- ],
- 'matchKey' => [
- 'type' => 'string',
- ],
- 'matchType' => [
- 'type' => 'string',
- 'enum' => [
- 'Exact',
- 'Prefix',
- 'Regex',
- 'All',
- 'IP',
- ],
- ],
- 'matchValue' => [
- 'type' => 'string',
- ],
- 'limitMode' => [
- 'type' => 'string',
- 'enum' => [
- 'TokenPerSecond',
- 'TokenPerMinute',
- 'TokenPerHour',
- 'TokenPerDay',
- 'RequestPerSecond',
- 'RequestPerMinute',
- 'RequestPerHour',
- 'RequestPerDay',
- 'ConcurrencyLimit',
- ],
- ],
- 'limitValue' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- ],
- ],
- ],
- 'enableGlobalRules' => [
- 'type' => 'boolean',
- ],
- ],
- ],
+ 'domainId' => ['type' => 'string'],
+ 'name' => ['type' => 'string'],
+ 'protocol' => ['type' => 'string'],
],
],
],
- 'customDomainInfos' => [
+ 'envDomainInfos' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'domainId' => [
- 'type' => 'string',
- ],
- 'name' => [
- 'type' => 'string',
- ],
- 'protocol' => [
- 'type' => 'string',
- ],
+ 'domainId' => ['type' => 'string'],
+ 'name' => ['type' => 'string'],
+ 'protocol' => ['type' => 'string'],
],
],
],
@@ -1212,199 +1087,79 @@
'items' => [
'type' => 'object',
'properties' => [
- 'domainId' => [
- 'type' => 'string',
- ],
- 'name' => [
- 'type' => 'string',
- ],
- 'protocol' => [
- 'type' => 'string',
- ],
- 'networkType' => [
- 'type' => 'string',
- ],
+ 'domainId' => ['type' => 'string'],
+ 'name' => ['type' => 'string'],
+ 'protocol' => ['type' => 'string'],
+ 'networkType' => ['type' => 'string'],
],
],
],
- ],
- ],
- 'HttpApiDomainInfo' => [
- 'type' => 'object',
- 'properties' => [
- 'domainId' => [
- 'type' => 'string',
- ],
- 'name' => [
- 'type' => 'string',
- ],
- 'protocol' => [
- 'type' => 'string',
+ 'builtinRouteNames' => [
+ 'type' => 'array',
+ 'items' => ['type' => 'string'],
],
],
],
- 'HttpApiInfoByName' => [
+ 'HttpApiDomainInfo' => [
'type' => 'object',
'properties' => [
- 'name' => [
- 'type' => 'string',
- ],
- 'versionEnabled' => [
- 'type' => 'boolean',
- ],
- 'versionedHttpApis' => [
- 'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/HttpApiApiInfo',
- ],
- ],
- 'type' => [
- 'type' => 'string',
- ],
- 'GatewayId' => [
- 'type' => 'string',
- ],
+ 'domainId' => ['type' => 'string'],
+ 'name' => ['type' => 'string'],
+ 'protocol' => ['type' => 'string'],
],
],
+ 'HttpApiInfoByName' => [],
'HttpApiMockContract' => [
'type' => 'object',
'properties' => [
- 'enable' => [
- 'type' => 'boolean',
- ],
- 'responseCode' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'responseContent' => [
- 'type' => 'string',
- ],
+ 'enable' => ['type' => 'boolean'],
+ 'responseCode' => ['type' => 'integer', 'format' => 'int32'],
+ 'responseContent' => ['type' => 'string'],
],
],
'HttpApiOperation' => [
'type' => 'object',
'properties' => [
- 'method' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'name' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'path' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'description' => [
- 'type' => 'string',
- ],
- 'response' => [
- '$ref' => '#/components/schemas/HttpApiResponseContract',
- ],
- 'request' => [
- '$ref' => '#/components/schemas/HttpApiRequestContract',
- ],
- 'mock' => [
- '$ref' => '#/components/schemas/HttpApiMockContract',
- ],
- 'enableAuth' => [
- 'type' => 'boolean',
- ],
- 'authConfig' => [
- '$ref' => '#/components/schemas/AuthConfig',
- ],
- 'deployConfigs' => [
- 'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/HttpApiDeployConfig',
- ],
- ],
- ],
- ],
- 'HttpApiOperationInfo' => [
- 'type' => 'object',
- 'properties' => [
- 'operationId' => [
- 'type' => 'string',
- ],
- 'method' => [
- 'type' => 'string',
- ],
- 'name' => [
- 'type' => 'string',
- ],
- 'path' => [
- 'type' => 'string',
- ],
- 'description' => [
- 'type' => 'string',
- ],
- 'response' => [
- '$ref' => '#/components/schemas/HttpApiResponseContract',
- ],
- 'request' => [
- '$ref' => '#/components/schemas/HttpApiRequestContract',
- ],
- 'mock' => [
- '$ref' => '#/components/schemas/HttpApiMockContract',
- ],
- 'createTimestamp' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'enableAuth' => [
- 'type' => 'boolean',
- ],
- 'authConfig' => [
- '$ref' => '#/components/schemas/AuthConfig',
- ],
- 'status' => [
- 'type' => 'string',
- ],
+ 'method' => ['type' => 'string', 'required' => true],
+ 'name' => ['type' => 'string', 'required' => true],
+ 'path' => ['type' => 'string', 'required' => true],
+ 'description' => ['type' => 'string'],
+ 'response' => ['$ref' => '#/components/schemas/HttpApiResponseContract'],
+ 'request' => ['$ref' => '#/components/schemas/HttpApiRequestContract'],
+ 'mock' => ['$ref' => '#/components/schemas/HttpApiMockContract'],
+ 'enableAuth' => ['type' => 'boolean'],
+ 'authConfig' => ['$ref' => '#/components/schemas/AuthConfig'],
'deployConfigs' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/HttpApiDeployConfig',
- ],
+ 'items' => ['$ref' => '#/components/schemas/HttpApiDeployConfig'],
],
],
],
+ 'HttpApiOperationInfo' => [],
'HttpApiParameter' => [
'type' => 'object',
'properties' => [
- 'name' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'required' => [
- 'type' => 'boolean',
- ],
- 'type' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'defaultValue' => [
- 'type' => 'string',
- ],
- 'exampleValue' => [
- 'type' => 'string',
- ],
- 'description' => [
- 'type' => 'string',
- ],
+ 'name' => ['type' => 'string', 'required' => true],
+ 'required' => ['type' => 'boolean'],
+ 'type' => ['type' => 'string', 'required' => true],
+ 'defaultValue' => ['type' => 'string'],
+ 'exampleValue' => ['type' => 'string'],
+ 'description' => ['type' => 'string'],
],
],
'HttpApiPolicyConfigs' => [
'type' => 'object',
'properties' => [
- 'type' => [
- 'type' => 'string',
- ],
- 'enable' => [
- 'type' => 'boolean',
+ 'type' => ['type' => 'string'],
+ 'enable' => ['type' => 'boolean'],
+ 'semanticRouterConfig' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'timeoutMillisecond' => ['type' => 'integer', 'format' => 'int32'],
+ ],
],
'aiFallbackConfig' => [
+ '$ref' => '#/components/schemas/AiFallbackConfig',
'type' => 'object',
'properties' => [
'serviceConfigs' => [
@@ -1412,106 +1167,58 @@
'items' => [
'type' => 'object',
'properties' => [
- 'serviceId' => [
- 'type' => 'string',
- ],
- 'name' => [
- 'type' => 'string',
- ],
- 'targetModelName' => [
- 'type' => 'string',
- ],
- 'passThroughModelName' => [
- 'type' => 'boolean',
- ],
+ 'serviceId' => ['type' => 'string'],
+ 'name' => ['type' => 'string'],
+ 'targetModelName' => ['type' => 'string'],
+ 'passThroughModelName' => ['type' => 'boolean'],
],
],
],
- 'onlyRedirectUpstreamCode' => [
- 'type' => 'boolean',
- ],
- 'routeEmbedded' => [
- 'type' => 'boolean',
- ],
+ 'onlyRedirectUpstreamCode' => ['type' => 'boolean'],
+ 'routeEmbedded' => ['type' => 'boolean'],
],
],
'aiSecurityGuardConfig' => [
+ '$ref' => '#/components/schemas/AiSecurityGuardConfig',
'type' => 'object',
'properties' => [
- 'serviceAddress' => [
- 'type' => 'string',
- ],
- 'checkRequest' => [
- 'type' => 'boolean',
- ],
- 'checkResponse' => [
- 'type' => 'boolean',
- ],
- 'checkRequestImage' => [
- 'type' => 'boolean',
- ],
- 'checkResponseImage' => [
- 'type' => 'boolean',
- ],
- 'requestCheckService' => [
- 'type' => 'string',
- ],
- 'responseCheckService' => [
- 'type' => 'string',
- ],
- 'requestImageCheckService' => [
- 'type' => 'string',
- ],
- 'responseImageCheckService' => [
- 'type' => 'string',
- ],
- 'riskAlertLevel' => [
- 'type' => 'string',
- ],
+ 'serviceAddress' => ['type' => 'string'],
+ 'checkRequest' => ['type' => 'boolean'],
+ 'checkResponse' => ['type' => 'boolean'],
+ 'checkRequestImage' => ['type' => 'boolean'],
+ 'checkResponseImage' => ['type' => 'boolean'],
+ 'requestCheckService' => ['type' => 'string'],
+ 'responseCheckService' => ['type' => 'string'],
+ 'requestImageCheckService' => ['type' => 'string'],
+ 'responseImageCheckService' => ['type' => 'string'],
+ 'riskAlertLevel' => ['type' => 'string'],
'riskConfig' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'type' => [
- 'type' => 'string',
- ],
- 'level' => [
- 'type' => 'string',
- ],
+ 'type' => ['type' => 'string'],
+ 'level' => ['type' => 'string'],
'consumerRules' => [
'type' => 'object',
'properties' => [
- 'pattern' => [
- 'type' => 'string',
- ],
- 'matchType' => [
- 'type' => 'string',
- ],
+ 'pattern' => ['type' => 'string'],
+ 'matchType' => ['type' => 'string'],
],
],
],
],
],
- 'bufferLimit' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'bufferLimit' => ['type' => 'integer', 'format' => 'int32'],
'pluginStatus' => [
'type' => 'object',
'properties' => [
'errorLogs' => [
'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'string',
- ],
- ],
- 'serviceHealthy' => [
- 'type' => 'boolean',
- ],
- 'pluginId' => [
- 'type' => 'string',
+ 'additionalProperties' => ['type' => 'string'],
],
+ 'serviceHealthy' => ['type' => 'boolean'],
+ 'pluginId' => ['type' => 'string'],
],
],
'consumerRequestCheckService' => [
@@ -1519,21 +1226,11 @@
'items' => [
'type' => 'object',
'properties' => [
- 'name' => [
- 'type' => 'string',
- ],
- 'requestCheckService' => [
- 'type' => 'string',
- ],
- 'requestImageCheckService' => [
- 'type' => 'string',
- ],
- 'matchType' => [
- 'type' => 'string',
- ],
- 'modalityType' => [
- 'type' => 'string',
- ],
+ 'name' => ['type' => 'string'],
+ 'requestCheckService' => ['type' => 'string'],
+ 'requestImageCheckService' => ['type' => 'string'],
+ 'matchType' => ['type' => 'string'],
+ 'modalityType' => ['type' => 'string'],
],
],
],
@@ -1542,21 +1239,11 @@
'items' => [
'type' => 'object',
'properties' => [
- 'name' => [
- 'type' => 'string',
- ],
- 'responseCheckService' => [
- 'type' => 'string',
- ],
- 'responseImageCheckService' => [
- 'type' => 'string',
- ],
- 'matchType' => [
- 'type' => 'string',
- ],
- 'modalityType' => [
- 'type' => 'string',
- ],
+ 'name' => ['type' => 'string'],
+ 'responseCheckService' => ['type' => 'string'],
+ 'responseImageCheckService' => ['type' => 'string'],
+ 'matchType' => ['type' => 'string'],
+ 'modalityType' => ['type' => 'string'],
],
],
],
@@ -1565,24 +1252,17 @@
'items' => [
'type' => 'object',
'properties' => [
- 'name' => [
- 'type' => 'string',
- ],
- 'matchType' => [
- 'type' => 'string',
- ],
- 'type' => [
- 'type' => 'string',
- ],
- 'level' => [
- 'type' => 'string',
- ],
+ 'name' => ['type' => 'string'],
+ 'matchType' => ['type' => 'string'],
+ 'type' => ['type' => 'string'],
+ 'level' => ['type' => 'string'],
],
],
],
],
],
'aiTokenRateLimitConfig' => [
+ '$ref' => '#/components/schemas/AiTokenRateLimitConfig',
'type' => 'object',
'properties' => [
'rules' => [
@@ -1590,80 +1270,39 @@
'items' => [
'type' => 'object',
'properties' => [
- 'limitType' => [
- 'type' => 'string',
- ],
- 'matchKey' => [
- 'type' => 'string',
- ],
- 'matchType' => [
- 'type' => 'string',
- ],
- 'matchValue' => [
- 'type' => 'string',
- ],
- 'limitMode' => [
- 'type' => 'string',
- ],
- 'limitValue' => [
- 'type' => 'string',
- ],
+ 'limitType' => ['type' => 'string'],
+ 'matchKey' => ['type' => 'string'],
+ 'matchType' => ['type' => 'string'],
+ 'matchValue' => ['type' => 'string'],
+ 'limitMode' => ['type' => 'string'],
+ 'limitValue' => ['type' => 'string'],
],
],
],
- 'enableGlobalRules' => [
- 'type' => 'boolean',
- ],
+ 'enableGlobalRules' => ['type' => 'boolean'],
'globalRules' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'limitType' => [
- 'type' => 'string',
- ],
- 'matchKey' => [
- 'type' => 'string',
- ],
- 'matchType' => [
- 'type' => 'string',
- ],
- 'matchValue' => [
- 'type' => 'string',
- ],
- 'limitMode' => [
- 'type' => 'string',
- ],
- 'limitValue' => [
- 'type' => 'string',
- ],
+ 'limitType' => ['type' => 'string'],
+ 'matchKey' => ['type' => 'string'],
+ 'matchType' => ['type' => 'string'],
+ 'matchValue' => ['type' => 'string'],
+ 'limitMode' => ['type' => 'string'],
+ 'limitValue' => ['type' => 'string'],
],
],
],
'redisConfig' => [
'type' => 'object',
'properties' => [
- 'host' => [
- 'type' => 'string',
- ],
- 'port' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'username' => [
- 'type' => 'string',
- ],
- 'password' => [
- 'type' => 'string',
- ],
- 'timeout' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'databaseNumber' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'host' => ['type' => 'string'],
+ 'port' => ['type' => 'integer', 'format' => 'int32'],
+ 'username' => ['type' => 'string'],
+ 'password' => ['type' => 'string'],
+ 'timeout' => ['type' => 'integer', 'format' => 'int32'],
+ 'databaseNumber' => ['type' => 'integer', 'format' => 'int32'],
],
],
'pluginStatus' => [
@@ -1671,244 +1310,121 @@
'properties' => [
'errorLogs' => [
'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'string',
- ],
- ],
- 'serviceHealthy' => [
- 'type' => 'boolean',
- ],
- 'pluginId' => [
- 'type' => 'string',
+ 'additionalProperties' => ['type' => 'string'],
],
+ 'serviceHealthy' => ['type' => 'boolean'],
+ 'pluginId' => ['type' => 'string'],
],
],
],
],
'aiCacheConfig' => [
+ '$ref' => '#/components/schemas/AiCacheConfig',
'type' => 'object',
'properties' => [
- 'cacheTTL' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'cacheTTL' => ['type' => 'integer', 'format' => 'int32'],
'redisConfig' => [
'type' => 'object',
'properties' => [
- 'host' => [
- 'type' => 'string',
- ],
- 'port' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'username' => [
- 'type' => 'string',
- ],
- 'password' => [
- 'type' => 'string',
- ],
- 'timeout' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'databaseNumber' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'host' => ['type' => 'string'],
+ 'port' => ['type' => 'integer', 'format' => 'int32'],
+ 'username' => ['type' => 'string'],
+ 'password' => ['type' => 'string'],
+ 'timeout' => ['type' => 'integer', 'format' => 'int32'],
+ 'databaseNumber' => ['type' => 'integer', 'format' => 'int32'],
],
],
'vectorConfig' => [
'type' => 'object',
'properties' => [
- 'type' => [
- 'type' => 'string',
- ],
- 'serviceHost' => [
- 'type' => 'string',
- ],
- 'apiKey' => [
- 'type' => 'string',
- ],
- 'timeout' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'collectionId' => [
- 'type' => 'string',
- ],
- 'threshold' => [
- 'type' => 'number',
- 'format' => 'float',
- ],
+ 'type' => ['type' => 'string'],
+ 'serviceHost' => ['type' => 'string'],
+ 'apiKey' => ['type' => 'string'],
+ 'timeout' => ['type' => 'integer', 'format' => 'int32'],
+ 'collectionId' => ['type' => 'string'],
+ 'threshold' => ['type' => 'number', 'format' => 'float'],
],
],
'embeddingConfig' => [
'type' => 'object',
'properties' => [
- 'type' => [
- 'type' => 'string',
- ],
- 'serviceId' => [
- 'type' => 'string',
- ],
- 'timeout' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'modelName' => [
- 'type' => 'string',
- ],
+ 'type' => ['type' => 'string'],
+ 'serviceId' => ['type' => 'string'],
+ 'timeout' => ['type' => 'integer', 'format' => 'int32'],
+ 'modelName' => ['type' => 'string'],
],
],
- 'cacheKeyStrategy' => [
- 'type' => 'string',
- ],
- 'cacheMode' => [
- 'type' => 'string',
- ],
+ 'cacheKeyStrategy' => ['type' => 'string'],
+ 'cacheMode' => ['type' => 'string'],
'pluginStatus' => [
'type' => 'object',
'properties' => [
'errorLogs' => [
'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'string',
- ],
- ],
- 'serviceHealthy' => [
- 'type' => 'boolean',
- ],
- 'pluginId' => [
- 'type' => 'string',
+ 'additionalProperties' => ['type' => 'string'],
],
+ 'serviceHealthy' => ['type' => 'boolean'],
+ 'pluginId' => ['type' => 'string'],
],
],
],
],
'aiNetworkSearchConfig' => [
+ '$ref' => '#/components/schemas/AiNetworkSearchConfig',
'type' => 'object',
'properties' => [
- 'needReference' => [
- 'type' => 'boolean',
- ],
- 'referenceFormat' => [
- 'type' => 'string',
- ],
- 'referenceLocation' => [
- 'type' => 'string',
- ],
- 'defaultLang' => [
- 'type' => 'string',
- ],
- 'defaultEnable' => [
- 'type' => 'boolean',
- ],
+ 'needReference' => ['type' => 'boolean'],
+ 'referenceFormat' => ['type' => 'string'],
+ 'referenceLocation' => ['type' => 'string'],
+ 'defaultLang' => ['type' => 'string'],
+ 'defaultEnable' => ['type' => 'boolean'],
'searchFrom' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'type' => [
- 'type' => 'string',
- ],
- 'apiKey' => [
- 'type' => 'string',
- ],
- 'count' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'start' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'timeoutMillisecond' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'type' => ['type' => 'string'],
+ 'apiKey' => ['type' => 'string'],
+ 'count' => ['type' => 'integer', 'format' => 'int32'],
+ 'start' => ['type' => 'integer', 'format' => 'int32'],
+ 'timeoutMillisecond' => ['type' => 'integer', 'format' => 'int32'],
'optionArgs' => [
'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'string',
- ],
- ],
- 'endpoint' => [
- 'type' => 'string',
- ],
- 'contentMode' => [
- 'type' => 'string',
- ],
- 'industry' => [
- 'type' => 'string',
- ],
- 'timeRange' => [
- 'type' => 'string',
+ 'additionalProperties' => ['type' => 'string'],
],
+ 'endpoint' => ['type' => 'string'],
+ 'contentMode' => ['type' => 'string'],
+ 'industry' => ['type' => 'string'],
+ 'timeRange' => ['type' => 'string'],
],
],
],
'searchEngineConfig' => [
'type' => 'object',
'properties' => [
- 'type' => [
- 'type' => 'string',
- ],
- 'apiKey' => [
- 'type' => 'string',
- ],
- 'count' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'start' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'timeoutMillisecond' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'type' => ['type' => 'string'],
+ 'apiKey' => ['type' => 'string'],
+ 'count' => ['type' => 'integer', 'format' => 'int32'],
+ 'start' => ['type' => 'integer', 'format' => 'int32'],
+ 'timeoutMillisecond' => ['type' => 'integer', 'format' => 'int32'],
'optionArgs' => [
'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'string',
- ],
- ],
- 'endpoint' => [
- 'type' => 'string',
- ],
- 'contentMode' => [
- 'type' => 'string',
- ],
- 'industry' => [
- 'type' => 'string',
- ],
- 'timeRange' => [
- 'type' => 'string',
+ 'additionalProperties' => ['type' => 'string'],
],
+ 'endpoint' => ['type' => 'string'],
+ 'contentMode' => ['type' => 'string'],
+ 'industry' => ['type' => 'string'],
+ 'timeRange' => ['type' => 'string'],
],
],
'searchRewrite' => [
'type' => 'object',
'properties' => [
- 'enable' => [
- 'type' => 'boolean',
- ],
- 'serviceId' => [
- 'type' => 'string',
- ],
- 'modelName' => [
- 'type' => 'string',
- ],
- 'timeoutMillisecond' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'maxCount' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'enable' => ['type' => 'boolean'],
+ 'serviceId' => ['type' => 'string'],
+ 'modelName' => ['type' => 'string'],
+ 'timeoutMillisecond' => ['type' => 'integer', 'format' => 'int32'],
+ 'maxCount' => ['type' => 'integer', 'format' => 'int32'],
],
],
'pluginStatus' => [
@@ -1916,30 +1432,22 @@
'properties' => [
'errorLogs' => [
'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'string',
- ],
- ],
- 'serviceHealthy' => [
- 'type' => 'boolean',
- ],
- 'pluginId' => [
- 'type' => 'string',
+ 'additionalProperties' => ['type' => 'string'],
],
+ 'serviceHealthy' => ['type' => 'boolean'],
+ 'pluginId' => ['type' => 'string'],
],
],
],
],
'aiToolSelectionConfig' => [
+ '$ref' => '#/components/schemas/AiToolSelectionConfig',
'type' => 'object',
'properties' => [
'enableConditions' => [
'type' => 'object',
'properties' => [
- 'toolCountThreshold' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'toolCountThreshold' => ['type' => 'integer', 'format' => 'int32'],
],
],
'toolReranking' => [
@@ -1948,98 +1456,52 @@
'modelService' => [
'type' => 'object',
'properties' => [
- 'serviceId' => [
- 'type' => 'string',
- ],
- 'modelName' => [
- 'type' => 'string',
- ],
- 'timeoutMillisecond' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'serviceId' => ['type' => 'string'],
+ 'modelName' => ['type' => 'string'],
+ 'timeoutMillisecond' => ['type' => 'integer', 'format' => 'int32'],
],
],
- 'filteringMethod' => [
- 'type' => 'string',
- ],
- 'topKPercent' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'topNCount' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'scoreThreshold' => [
- 'type' => 'number',
- 'format' => 'float',
- ],
- 'fallbackStrategy' => [
- 'type' => 'string',
- ],
+ 'filteringMethod' => ['type' => 'string'],
+ 'topKPercent' => ['type' => 'integer', 'format' => 'int32'],
+ 'topNCount' => ['type' => 'integer', 'format' => 'int32'],
+ 'scoreThreshold' => ['type' => 'number', 'format' => 'float'],
+ 'fallbackStrategy' => ['type' => 'string'],
],
],
'queryRewriting' => [
'type' => 'object',
'properties' => [
- 'enabled' => [
- 'type' => 'boolean',
- ],
+ 'enabled' => ['type' => 'boolean'],
'modelService' => [
'type' => 'object',
'properties' => [
- 'serviceId' => [
- 'type' => 'string',
- ],
- 'modelName' => [
- 'type' => 'string',
- ],
- 'timeoutMillisecond' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'serviceId' => ['type' => 'string'],
+ 'modelName' => ['type' => 'string'],
+ 'timeoutMillisecond' => ['type' => 'integer', 'format' => 'int32'],
],
],
'promptConfig' => [
'type' => 'object',
'properties' => [
- 'type' => [
- 'type' => 'string',
- ],
- 'customPrompt' => [
- 'type' => 'string',
- ],
+ 'type' => ['type' => 'string'],
+ 'customPrompt' => ['type' => 'string'],
],
],
- 'maxOutputTokens' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'maxOutputTokens' => ['type' => 'integer', 'format' => 'int32'],
'triggerConditions' => [
'type' => 'object',
'properties' => [
- 'messageCountThreshold' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'messageCountThreshold' => ['type' => 'integer', 'format' => 'int32'],
],
],
'contextSelection' => [
'type' => 'object',
'properties' => [
- 'type' => [
- 'type' => 'string',
- ],
- 'value' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'type' => ['type' => 'string'],
+ 'value' => ['type' => 'integer', 'format' => 'int32'],
],
],
- 'fallbackStrategy' => [
- 'type' => 'string',
- ],
+ 'fallbackStrategy' => ['type' => 'string'],
],
],
'pluginStatus' => [
@@ -2047,38 +1509,20 @@
'properties' => [
'errorLogs' => [
'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'string',
- ],
- ],
- 'serviceHealthy' => [
- 'type' => 'boolean',
- ],
- 'pluginId' => [
- 'type' => 'string',
+ 'additionalProperties' => ['type' => 'string'],
],
+ 'serviceHealthy' => ['type' => 'boolean'],
+ 'pluginId' => ['type' => 'string'],
],
],
],
],
'aiStatisticsConfig' => [
+ '$ref' => '#/components/schemas/AiStatisticsConfig',
'type' => 'object',
'properties' => [
- 'logRequestContent' => [
- 'type' => 'boolean',
- ],
- 'logResponseContent' => [
- 'type' => 'boolean',
- ],
- ],
- ],
- 'semanticRouterConfig' => [
- 'type' => 'object',
- 'properties' => [
- 'timeoutMillisecond' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'logRequestContent' => ['type' => 'boolean'],
+ 'logResponseContent' => ['type' => 'boolean'],
],
],
],
@@ -2086,77 +1530,43 @@
'HttpApiPublishRevisionInfo' => [
'type' => 'object',
'properties' => [
- 'revisionId' => [
- 'type' => 'string',
- ],
+ 'revisionId' => ['type' => 'string'],
'environmentInfo' => [
'type' => 'object',
'properties' => [
- 'environmentId' => [
- 'type' => 'string',
- ],
- 'name' => [
- 'type' => 'string',
- ],
- 'alias' => [
- 'type' => 'string',
- ],
+ 'environmentId' => ['type' => 'string'],
+ 'name' => ['type' => 'string'],
+ 'alias' => ['type' => 'string'],
'gatewayInfo' => [
'type' => 'object',
'properties' => [
- 'gatewayId' => [
- 'type' => 'string',
- ],
- 'name' => [
- 'type' => 'string',
- ],
+ 'gatewayId' => ['type' => 'string'],
+ 'name' => ['type' => 'string'],
],
],
],
],
'subDomains' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/HttpApiDomainInfo',
- ],
+ 'items' => ['$ref' => '#/components/schemas/HttpApiDomainInfo'],
],
'customDomains' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/HttpApiDomainInfo',
- ],
- ],
- 'backendScene' => [
- 'type' => 'string',
- ],
- 'backendType' => [
- 'type' => 'string',
+ 'items' => ['$ref' => '#/components/schemas/HttpApiDomainInfo'],
],
+ 'backendScene' => ['type' => 'string'],
+ 'backendType' => ['type' => 'string'],
'serviceConfigs' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'gatewayServiceId' => [
- 'type' => 'string',
- ],
- 'port' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'protocol' => [
- 'type' => 'string',
- ],
- 'weight' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'version' => [
- 'type' => 'string',
- ],
- 'match' => [
- '$ref' => '#/components/schemas/HttpApiBackendMatchConditions',
- ],
+ 'gatewayServiceId' => ['type' => 'string'],
+ 'port' => ['type' => 'integer', 'format' => 'int32'],
+ 'protocol' => ['type' => 'string'],
+ 'weight' => ['type' => 'integer', 'format' => 'int32'],
+ 'version' => ['type' => 'string'],
+ 'match' => ['$ref' => '#/components/schemas/HttpApiBackendMatchConditions'],
],
],
],
@@ -2167,17 +1577,10 @@
'properties' => [
'dnsList' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
- ],
- 'weight' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'match' => [
- '$ref' => '#/components/schemas/HttpApiBackendMatchConditions',
+ 'items' => ['type' => 'string'],
],
+ 'weight' => ['type' => 'integer', 'format' => 'int32'],
+ 'match' => ['$ref' => '#/components/schemas/HttpApiBackendMatchConditions'],
],
],
],
@@ -2188,47 +1591,27 @@
'properties' => [
'endpoints' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
- ],
- 'weight' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'match' => [
- '$ref' => '#/components/schemas/HttpApiBackendMatchConditions',
+ 'items' => ['type' => 'string'],
],
+ 'weight' => ['type' => 'integer', 'format' => 'int32'],
+ 'match' => ['$ref' => '#/components/schemas/HttpApiBackendMatchConditions'],
],
],
],
'cloudProductConfig' => [
'type' => 'object',
'properties' => [
- 'cloudProductType' => [
- 'type' => 'string',
- ],
+ 'cloudProductType' => ['type' => 'string'],
'functionConfigs' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'name' => [
- 'type' => 'string',
- ],
- 'qualifier' => [
- 'type' => 'string',
- ],
- 'gatewayServiceId' => [
- 'type' => 'string',
- ],
- 'weight' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'match' => [
- '$ref' => '#/components/schemas/HttpApiBackendMatchConditions',
- ],
+ 'name' => ['type' => 'string'],
+ 'qualifier' => ['type' => 'string'],
+ 'gatewayServiceId' => ['type' => 'string'],
+ 'weight' => ['type' => 'integer', 'format' => 'int32'],
+ 'match' => ['$ref' => '#/components/schemas/HttpApiBackendMatchConditions'],
],
],
],
@@ -2237,28 +1620,13 @@
'items' => [
'type' => 'object',
'properties' => [
- 'gatewayServiceId' => [
- 'type' => 'string',
- ],
- 'name' => [
- 'type' => 'string',
- ],
- 'namespace' => [
- 'type' => 'string',
- ],
- 'protocol' => [
- 'type' => 'string',
- ],
- 'weight' => [
- 'type' => 'string',
- ],
- 'match' => [
- '$ref' => '#/components/schemas/HttpApiBackendMatchConditions',
- ],
- 'port' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'gatewayServiceId' => ['type' => 'string'],
+ 'name' => ['type' => 'string'],
+ 'namespace' => ['type' => 'string'],
+ 'protocol' => ['type' => 'string'],
+ 'weight' => ['type' => 'string'],
+ 'match' => ['$ref' => '#/components/schemas/HttpApiBackendMatchConditions'],
+ 'port' => ['type' => 'integer', 'format' => 'int32'],
],
],
],
@@ -2267,25 +1635,12 @@
'items' => [
'type' => 'object',
'properties' => [
- 'gatewayServiceId' => [
- 'type' => 'string',
- ],
- 'name' => [
- 'type' => 'string',
- ],
- 'namespace' => [
- 'type' => 'string',
- ],
- 'groupName' => [
- 'type' => 'string',
- ],
- 'weight' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'match' => [
- '$ref' => '#/components/schemas/HttpApiBackendMatchConditions',
- ],
+ 'gatewayServiceId' => ['type' => 'string'],
+ 'name' => ['type' => 'string'],
+ 'namespace' => ['type' => 'string'],
+ 'groupName' => ['type' => 'string'],
+ 'weight' => ['type' => 'integer', 'format' => 'int32'],
+ 'match' => ['$ref' => '#/components/schemas/HttpApiBackendMatchConditions'],
],
],
],
@@ -2293,17 +1648,10 @@
],
'operations' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/HttpApiOperationInfo',
- ],
- ],
- 'createTimestamp' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'isCurrentVersion' => [
- 'type' => 'boolean',
+ 'items' => ['$ref' => '#/components/schemas/HttpApiOperationInfo'],
],
+ 'createTimestamp' => ['type' => 'integer', 'format' => 'int64'],
+ 'isCurrentVersion' => ['type' => 'boolean'],
],
],
'HttpApiRequestContract' => [
@@ -2311,37 +1659,23 @@
'properties' => [
'headerParameters' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/HttpApiParameter',
- ],
+ 'items' => ['$ref' => '#/components/schemas/HttpApiParameter'],
],
'queryParameters' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/HttpApiParameter',
- ],
+ 'items' => ['$ref' => '#/components/schemas/HttpApiParameter'],
],
'pathParameters' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/HttpApiParameter',
- ],
+ 'items' => ['$ref' => '#/components/schemas/HttpApiParameter'],
],
'body' => [
'type' => 'object',
'properties' => [
- 'description' => [
- 'type' => 'string',
- ],
- 'example' => [
- 'type' => 'string',
- ],
- 'contentType' => [
- 'type' => 'string',
- ],
- 'jsonSchema' => [
- 'type' => 'string',
- ],
+ 'description' => ['type' => 'string'],
+ 'example' => ['type' => 'string'],
+ 'contentType' => ['type' => 'string'],
+ 'jsonSchema' => ['type' => 'string'],
],
],
],
@@ -2349,28 +1683,16 @@
'HttpApiResponseContract' => [
'type' => 'object',
'properties' => [
- 'contentType' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'contentType' => ['type' => 'string', 'required' => true],
'items' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'code' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'example' => [
- 'type' => 'string',
- ],
- 'description' => [
- 'type' => 'string',
- ],
- 'jsonSchema' => [
- 'type' => 'string',
- ],
+ 'code' => ['type' => 'integer', 'format' => 'int32'],
+ 'example' => ['type' => 'string'],
+ 'description' => ['type' => 'string'],
+ 'jsonSchema' => ['type' => 'string'],
],
],
],
@@ -2379,248 +1701,43 @@
'HttpApiVersionConfig' => [
'type' => 'object',
'properties' => [
- 'enable' => [
- 'type' => 'boolean',
- ],
- 'scheme' => [
- 'type' => 'string',
- ],
- 'headerName' => [
- 'type' => 'string',
- ],
- 'queryName' => [
- 'type' => 'string',
- ],
- 'version' => [
- 'type' => 'string',
- ],
+ 'enable' => ['type' => 'boolean'],
+ 'scheme' => ['type' => 'string'],
+ 'headerName' => ['type' => 'string'],
+ 'queryName' => ['type' => 'string'],
+ 'version' => ['type' => 'string'],
],
],
'HttpApiVersionInfo' => [
'type' => 'object',
'properties' => [
- 'enable' => [
- 'type' => 'boolean',
- ],
- 'scheme' => [
- 'type' => 'string',
- ],
- 'headerName' => [
- 'type' => 'string',
- ],
- 'queryName' => [
- 'type' => 'string',
- ],
- 'version' => [
- 'type' => 'string',
- ],
+ 'enable' => ['type' => 'boolean'],
+ 'scheme' => ['type' => 'string'],
+ 'headerName' => ['type' => 'string'],
+ 'queryName' => ['type' => 'string'],
+ 'version' => ['type' => 'string'],
],
],
- 'HttpDubboTranscoder' => [
+ 'HttpApiVersionSetContract' => [
'type' => 'object',
'properties' => [
- 'dubboServiceName' => [
- 'type' => 'string',
- ],
- 'dubboServiceVersion' => [
- 'type' => 'string',
- ],
- 'dubboServiceGroup' => [
- 'type' => 'string',
- ],
- 'mothedMapList' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'dubboMothedName' => [
- 'type' => 'string',
- ],
- 'httpMothed' => [
- 'type' => 'string',
- ],
- 'mothedpath' => [
- 'type' => 'string',
- ],
- 'passThroughAllHeaders' => [
- 'type' => 'string',
- ],
- 'passThroughList' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
- ],
- 'paramMapsList' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'extractKeySpec' => [
- 'type' => 'string',
- ],
- 'extractKey' => [
- 'type' => 'string',
- ],
- 'mappingType' => [
- 'type' => 'string',
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- 'HttpRoute' => [
- 'type' => 'object',
- 'properties' => [
- 'routeId' => [
- 'type' => 'string',
- ],
- 'name' => [
- 'type' => 'string',
- ],
- 'deployStatus' => [
- 'type' => 'string',
- ],
- 'description' => [
- 'type' => 'string',
- ],
- 'match' => [
- '$ref' => '#/components/schemas/HttpRouteMatch',
- ],
- 'backend' => [
- '$ref' => '#/components/schemas/Backend',
- ],
- 'environmentInfo' => [
- 'type' => 'object',
- 'properties' => [
- 'environmentId' => [
- 'type' => 'string',
- ],
- 'name' => [
- 'type' => 'string',
- ],
- 'alias' => [
- 'type' => 'string',
- ],
- 'gatewayInfo' => [
- 'type' => 'object',
- 'properties' => [
- 'gatewayId' => [
- 'type' => 'string',
- ],
- 'name' => [
- 'type' => 'string',
- ],
- ],
- ],
- 'subDomains' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'domainId' => [
- 'type' => 'string',
- ],
- 'name' => [
- 'type' => 'string',
- ],
- 'protocol' => [
- 'type' => 'string',
- ],
- 'networkType' => [
- 'type' => 'string',
- ],
- ],
- ],
- ],
- ],
- ],
- 'createTimestamp' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'updateTimestamp' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'mcpServerInfo' => [
- 'type' => 'object',
- 'properties' => [
- 'importInstanceId' => [
- 'type' => 'string',
- ],
- 'importNamespace' => [
- 'type' => 'string',
- ],
- 'importMcpServerId' => [
- 'type' => 'string',
- ],
- 'createFromType' => [
- 'type' => 'string',
- ],
- 'mcpServerConfig' => [
- 'type' => 'string',
- ],
- 'mcpRouteConfig' => [
- 'type' => 'object',
- 'properties' => [
- 'protocol' => [
- 'type' => 'string',
- ],
- 'exposedUriPath' => [
- 'type' => 'string',
- ],
- ],
- ],
- ],
- ],
- 'domainInfos' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'domainId' => [
- 'type' => 'string',
- ],
- 'name' => [
- 'type' => 'string',
- ],
- 'protocol' => [
- 'type' => 'string',
- ],
- ],
- ],
- ],
- 'gatewayStatus' => [
- 'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'string',
- ],
- ],
- 'builtin' => [
- 'type' => 'string',
- ],
+ 'versioningScheme' => ['type' => 'string', 'required' => true],
+ 'versionHeaderName' => ['type' => 'string'],
+ 'versionQueryName' => ['type' => 'string'],
+ 'version' => ['type' => 'string', 'required' => true],
+ 'versionEnabled' => ['type' => 'boolean', 'required' => true],
],
],
+ 'HttpRoute' => [],
'HttpRouteMatch' => [
'type' => 'object',
'properties' => [
- 'ignoreUriCase' => [
- 'type' => 'boolean',
- ],
+ 'ignoreUriCase' => ['type' => 'boolean'],
'path' => [
'type' => 'object',
'properties' => [
- 'type' => [
- 'type' => 'string',
- ],
- 'value' => [
- 'type' => 'string',
- ],
+ 'type' => ['type' => 'string'],
+ 'value' => ['type' => 'string'],
],
],
'headers' => [
@@ -2628,38 +1745,24 @@
'items' => [
'type' => 'object',
'properties' => [
- 'type' => [
- 'type' => 'string',
- ],
- 'name' => [
- 'type' => 'string',
- ],
- 'value' => [
- 'type' => 'string',
- ],
+ 'type' => ['type' => 'string'],
+ 'name' => ['type' => 'string'],
+ 'value' => ['type' => 'string'],
],
],
],
'methods' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
],
'queryParams' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'type' => [
- 'type' => 'string',
- ],
- 'name' => [
- 'type' => 'string',
- ],
- 'value' => [
- 'type' => 'string',
- ],
+ 'type' => ['type' => 'string'],
+ 'name' => ['type' => 'string'],
+ 'value' => ['type' => 'string'],
],
],
],
@@ -2668,41 +1771,36 @@
'JwtIdentityConfig' => [
'type' => 'object',
'properties' => [
- 'type' => [
- 'type' => 'string',
- ],
- 'secretType' => [
- 'type' => 'string',
- ],
- 'jwks' => [
- 'type' => 'string',
- ],
+ 'type' => ['type' => 'string', 'required' => false],
+ 'secretType' => ['type' => 'string', 'required' => false],
+ 'remoteJwks' => ['type' => 'string', 'required' => false],
+ 'jwks' => ['type' => 'string', 'required' => false],
'jwtTokenConfig' => [
'type' => 'object',
'required' => false,
'properties' => [
- 'position' => [
- 'type' => 'string',
- ],
- 'key' => [
- 'type' => 'string',
- ],
- 'prefix' => [
- 'type' => 'string',
- ],
- 'pass' => [
- 'type' => 'boolean',
- ],
+ 'position' => ['type' => 'string', 'required' => false],
+ 'key' => ['type' => 'string', 'required' => false],
+ 'prefix' => ['type' => 'string', 'required' => false],
+ 'pass' => ['type' => 'boolean', 'required' => false],
],
],
'jwtPayloadConfig' => [
'type' => 'object',
'properties' => [
- 'payloadKeyName' => [
- 'type' => 'string',
- ],
- 'payloadKeyValue' => [
- 'type' => 'string',
+ 'payloadKeyName' => ['type' => 'string', 'required' => false],
+ 'payloadKeyValue' => ['type' => 'string', 'required' => false],
+ ],
+ ],
+ 'claimsToHeadersConfigs' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'claim' => ['type' => 'string', 'required' => false],
+ 'header' => ['type' => 'string', 'required' => false],
+ 'override' => ['type' => 'boolean', 'required' => false],
],
],
],
@@ -2711,338 +1809,160 @@
'KMSConfig' => [
'type' => 'object',
'properties' => [
- 'kmsInstanceId' => [
- 'type' => 'string',
- ],
- 'kmsKeyId' => [
- 'type' => 'string',
- ],
+ 'kmsInstanceId' => ['type' => 'string'],
+ 'kmsKeyId' => ['type' => 'string'],
],
],
'LabelDetail' => [
'type' => 'object',
'properties' => [
- 'key' => [
- 'type' => 'string',
- ],
+ 'key' => ['type' => 'string'],
'values' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
],
],
],
- 'McpServerConfig' => [
- 'type' => 'object',
- 'properties' => [],
- ],
'ParentResourceInfo' => [
'type' => 'object',
'properties' => [
- 'resourceType' => [
- 'type' => 'string',
- ],
- 'apiInfo' => [
- '$ref' => '#/components/schemas/HttpApiApiInfo',
- ],
+ 'resourceType' => ['type' => 'string'],
+ 'apiInfo' => ['$ref' => '#/components/schemas/HttpApiApiInfo'],
],
],
'PluginClassInfo' => [
'type' => 'object',
'properties' => [
- 'pluginClassId' => [
- 'type' => 'string',
- ],
- 'type' => [
- 'type' => 'string',
- ],
- 'mode' => [
- 'type' => 'string',
- ],
- 'name' => [
- 'type' => 'string',
- ],
- 'alias' => [
- 'type' => 'string',
- ],
- 'description' => [
- 'type' => 'string',
- ],
- 'source' => [
- 'type' => 'string',
- ],
- 'version' => [
- 'type' => 'string',
- ],
- 'versionDescription' => [
- 'type' => 'string',
- ],
- 'executeStage' => [
- 'type' => 'string',
- ],
- 'executePriority' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'configExample' => [
- 'type' => 'string',
- ],
- 'imageName' => [
- 'type' => 'string',
- ],
- 'wasmLanguage' => [
- 'type' => 'string',
- ],
- 'supportedMinGatewayVersion' => [
- 'type' => 'string',
- ],
- 'wasmUrl' => [
- 'type' => 'string',
- ],
- 'innerPlugin' => [
- 'type' => 'boolean',
- ],
+ 'pluginClassId' => ['type' => 'string'],
+ 'type' => ['type' => 'string'],
+ 'mode' => ['type' => 'string'],
+ 'name' => ['type' => 'string'],
+ 'alias' => ['type' => 'string'],
+ 'description' => ['type' => 'string'],
+ 'source' => ['type' => 'string'],
+ 'version' => ['type' => 'string'],
+ 'versionDescription' => ['type' => 'string'],
+ 'executeStage' => ['type' => 'string'],
+ 'executePriority' => ['type' => 'integer', 'format' => 'int32'],
+ 'configExample' => ['type' => 'string'],
+ 'imageName' => ['type' => 'string'],
+ 'wasmLanguage' => ['type' => 'string'],
+ 'supportedMinGatewayVersion' => ['type' => 'string'],
+ 'wasmUrl' => ['type' => 'string'],
+ 'innerPlugin' => ['type' => 'boolean'],
],
],
'PolicyClassInfo' => [
'type' => 'object',
'properties' => [
- 'classId' => [
- 'type' => 'string',
- ],
- 'name' => [
- 'type' => 'string',
- ],
- 'alias' => [
- 'type' => 'string',
- ],
- 'version' => [
- 'type' => 'string',
- ],
- 'description' => [
- 'type' => 'string',
- ],
- 'type' => [
- 'type' => 'string',
- ],
- 'direction' => [
- 'type' => 'string',
- ],
+ 'classId' => ['type' => 'string'],
+ 'name' => ['type' => 'string'],
+ 'alias' => ['type' => 'string'],
+ 'version' => ['type' => 'string'],
+ 'description' => ['type' => 'string'],
+ 'type' => ['type' => 'string'],
+ 'direction' => ['type' => 'string'],
'attachableResourceTypes' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
- ],
- 'executeStage' => [
- 'type' => 'string',
- ],
- 'executePriority' => [
- 'type' => 'string',
- ],
- 'enableLog' => [
- 'type' => 'boolean',
- ],
- 'deprecated' => [
- 'type' => 'boolean',
- ],
- 'configExample' => [
- 'type' => 'string',
+ 'items' => ['type' => 'string'],
],
+ 'executeStage' => ['type' => 'string'],
+ 'executePriority' => ['type' => 'string'],
+ 'enableLog' => ['type' => 'boolean'],
+ 'deprecated' => ['type' => 'boolean'],
+ 'configExample' => ['type' => 'string'],
],
],
'PolicyDetailInfo' => [
'type' => 'object',
'properties' => [
- 'policyId' => [
- 'type' => 'string',
- ],
- 'classId' => [
- 'type' => 'string',
- ],
- 'name' => [
- 'type' => 'string',
- ],
- 'className' => [
- 'type' => 'string',
- ],
- 'description' => [
- 'type' => 'string',
- ],
- 'config' => [
- 'type' => 'string',
- ],
+ 'policyId' => ['type' => 'string'],
+ 'classId' => ['type' => 'string'],
+ 'name' => ['type' => 'string'],
+ 'className' => ['type' => 'string'],
+ 'description' => ['type' => 'string'],
+ 'config' => ['type' => 'string'],
],
],
'PolicyInfo' => [
'type' => 'object',
'properties' => [
- 'policyId' => [
- 'type' => 'string',
- ],
- 'direction' => [
- 'type' => 'string',
- ],
- 'className' => [
- 'type' => 'string',
- ],
- 'classAlias' => [
- 'type' => 'string',
- ],
- 'config' => [
- 'type' => 'string',
- ],
+ 'policyId' => ['type' => 'string'],
+ 'direction' => ['type' => 'string'],
+ 'className' => ['type' => 'string'],
+ 'classAlias' => ['type' => 'string'],
+ 'config' => ['type' => 'string'],
'attachments' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/Attachment',
- ],
- ],
- 'name' => [
- 'type' => 'string',
- ],
- 'type' => [
- 'type' => 'string',
- ],
- 'executeStage' => [
- 'type' => 'string',
- ],
- 'executePriority' => [
- 'type' => 'string',
+ 'items' => ['$ref' => '#/components/schemas/Attachment'],
],
+ 'name' => ['type' => 'string'],
+ 'type' => ['type' => 'string'],
+ 'executeStage' => ['type' => 'string'],
+ 'executePriority' => ['type' => 'string'],
],
],
'ResourceInfo' => [
'type' => 'object',
'properties' => [
- 'resourceType' => [
- 'type' => 'string',
- ],
- 'resourceId' => [
- 'type' => 'string',
- ],
- 'resourceName' => [
- 'type' => 'string',
- ],
- 'resourceVersion' => [
- 'type' => 'string',
- ],
+ 'resourceType' => ['type' => 'string'],
+ 'resourceId' => ['type' => 'string'],
+ 'resourceName' => ['type' => 'string'],
+ 'resourceVersion' => ['type' => 'string'],
],
],
'ResourceStatistic' => [
'type' => 'object',
'properties' => [
- 'resourceType' => [
- 'type' => 'string',
- ],
- 'resourceCount' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'resourceType' => ['type' => 'string'],
+ 'resourceCount' => ['type' => 'integer', 'format' => 'int32'],
],
],
'RiskCheckResults' => [
'type' => 'object',
'properties' => [
- 'gatewayId' => [
- 'type' => 'string',
- ],
+ 'gatewayId' => ['type' => 'string'],
'metadata' => [
'type' => 'object',
'properties' => [
- 'clusterType' => [
- 'type' => 'string',
- ],
- 'version' => [
- 'type' => 'string',
- ],
- 'spec' => [
- 'type' => 'string',
- ],
- 'replica' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'clusterType' => ['type' => 'string'],
+ 'version' => ['type' => 'string'],
+ 'spec' => ['type' => 'string'],
+ 'replica' => ['type' => 'integer', 'format' => 'int32'],
],
],
'status' => [
'type' => 'string',
- 'enum' => [
- 'SUCCESS',
- 'FAIL',
- 'RUNNING',
- ],
- ],
- 'score' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'minimum' => '0',
- 'maximum' => '100',
+ 'enum' => ['SUCCESS', 'FAIL', 'RUNNING'],
],
+ 'score' => ['type' => 'integer', 'format' => 'int32', 'minimum' => '0', 'maximum' => '100'],
'riskLevel' => [
'type' => 'string',
- 'enum' => [
- 'LOW',
- 'MEDIUM',
- 'HIGH',
- ],
- ],
- 'totalRisk' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'checkTime' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'snapshotTime' => [
- 'type' => 'integer',
- 'format' => 'int64',
+ 'enum' => ['LOW', 'MEDIUM', 'HIGH'],
],
+ 'totalRisk' => ['type' => 'integer', 'format' => 'int32'],
+ 'checkTime' => ['type' => 'integer', 'format' => 'int64'],
+ 'snapshotTime' => ['type' => 'integer', 'format' => 'int64'],
'riskDetails' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'riskCode' => [
- 'type' => 'string',
- ],
- 'riskType' => [
- 'type' => 'string',
- ],
- 'riskName' => [
- 'type' => 'string',
- ],
+ 'riskCode' => ['type' => 'string'],
+ 'riskType' => ['type' => 'string'],
+ 'riskName' => ['type' => 'string'],
'riskLevel' => [
'type' => 'string',
- 'enum' => [
- 'CRITICAL',
- 'HIGH',
- 'MEDIUM',
- 'LOW',
- ],
- ],
- 'description' => [
- 'type' => 'string',
- ],
- 'situation' => [
- 'type' => 'string',
- ],
- 'suggestion' => [
- 'type' => 'string',
- ],
- 'isNoticeMute' => [
- 'type' => 'boolean',
- ],
- 'checkModule' => [
- 'type' => 'string',
+ 'enum' => ['CRITICAL', 'HIGH', 'MEDIUM', 'LOW'],
],
+ 'description' => ['type' => 'string'],
+ 'situation' => ['type' => 'string'],
+ 'suggestion' => ['type' => 'string'],
+ 'isNoticeMute' => ['type' => 'boolean'],
+ 'checkModule' => ['type' => 'string'],
'data' => [
'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'string',
- ],
+ 'additionalProperties' => ['type' => 'string'],
],
],
],
@@ -3052,332 +1972,243 @@
'Service' => [
'type' => 'object',
'properties' => [
- 'serviceId' => [
- 'type' => 'string',
- ],
- 'sourceType' => [
- 'type' => 'string',
- ],
- 'name' => [
- 'type' => 'string',
- ],
- 'namespace' => [
- 'type' => 'string',
- ],
+ 'serviceId' => ['type' => 'string'],
+ 'sourceType' => ['type' => 'string'],
+ 'name' => ['type' => 'string'],
+ 'namespace' => ['type' => 'string'],
+ 'healthCheck' => ['$ref' => '#/components/schemas/ServiceHealthCheck'],
+ 'healthStatus' => ['type' => 'string'],
+ 'qualifier' => ['type' => 'string'],
+ 'createTimestamp' => ['type' => 'integer', 'format' => 'int64'],
+ 'updateTimestamp' => ['type' => 'integer', 'format' => 'int64'],
+ 'protocol' => ['type' => 'string'],
+ 'gatewayId' => ['type' => 'string'],
+ 'modelProviderId' => ['type' => 'string'],
+ 'resourceGroupId' => ['type' => 'string'],
+ 'groupName' => ['type' => 'string'],
+ 'aiServiceConfig' => ['$ref' => '#/components/schemas/AiServiceConfig'],
+ 'agentServiceConfig' => ['$ref' => '#/components/schemas/AgentServiceConfig'],
+ 'expressType' => ['type' => 'string'],
'addresses' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
],
'ports' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'port' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'name' => [
- 'type' => 'string',
- ],
- 'protocol' => [
- 'type' => 'string',
- ],
+ 'port' => ['type' => 'integer', 'format' => 'int32'],
+ 'name' => ['type' => 'string'],
+ 'protocol' => ['type' => 'string'],
],
],
],
'unhealthyEndpoints' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
],
'outlierEndpoints' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
- ],
- 'healthCheck' => [
- '$ref' => '#/components/schemas/ServiceHealthCheck',
- ],
- 'healthStatus' => [
- 'type' => 'string',
- ],
- 'qualifier' => [
- 'type' => 'string',
- ],
- 'createTimestamp' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'updateTimestamp' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'protocol' => [
- 'type' => 'string',
- ],
- 'gatewayId' => [
- 'type' => 'string',
- ],
- 'resourceGroupId' => [
- 'type' => 'string',
- ],
- 'groupName' => [
- 'type' => 'string',
- ],
- 'aiServiceConfig' => [
- '$ref' => '#/components/schemas/AiServiceConfig',
+ 'items' => ['type' => 'string'],
],
'labelDetails' => [
'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/LabelDetail'],
+ ],
+ 'runtimeDetailStatus' => ['type' => 'string'],
+ 'runtimeDetailErrorCode' => ['type' => 'string'],
+ 'versions' => [
+ 'type' => 'array',
'items' => [
- '$ref' => '#/components/schemas/LabelDetail',
+ 'type' => 'object',
+ 'properties' => [
+ 'name' => ['type' => 'string'],
+ 'labels' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'key' => ['type' => 'string'],
+ 'value' => ['type' => 'string'],
+ ],
+ ],
+ ],
+ ],
],
],
- 'agentServiceConfig' => [
- '$ref' => '#/components/schemas/AgentServiceConfig',
- ],
- 'expressType' => [
- 'type' => 'string',
- ],
],
],
'ServiceHealthCheck' => [
'type' => 'object',
'properties' => [
- 'protocol' => [
- 'type' => 'string',
- ],
- 'timeout' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'interval' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'healthyThreshold' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'unhealthyThreshold' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'httpPath' => [
- 'type' => 'string',
- ],
- 'httpHost' => [
- 'type' => 'string',
- ],
- 'enable' => [
- 'type' => 'boolean',
- ],
+ 'protocol' => ['type' => 'string'],
+ 'timeout' => ['type' => 'integer', 'format' => 'int32'],
+ 'interval' => ['type' => 'integer', 'format' => 'int32'],
+ 'healthyThreshold' => ['type' => 'integer', 'format' => 'int32'],
+ 'unhealthyThreshold' => ['type' => 'integer', 'format' => 'int32'],
+ 'httpPath' => ['type' => 'string'],
+ 'httpHost' => ['type' => 'string'],
+ 'enable' => ['type' => 'boolean'],
],
],
- 'ServiceLinkedRole' => [
+ 'ServiceInfo' => [
'type' => 'object',
'properties' => [
- 'roleId' => [
- 'type' => 'string',
- ],
- 'roleName' => [
- 'type' => 'string',
- ],
- 'arn' => [
- 'type' => 'string',
- ],
- 'description' => [
- 'type' => 'string',
- ],
- 'assumeRolePolicyDocument' => [
- 'type' => 'string',
- ],
- 'createDate' => [
- 'type' => 'string',
- ],
- 'rolePrincipalName' => [
- 'type' => 'string',
+ 'serviceId' => ['type' => 'string'],
+ 'name' => ['type' => 'string'],
+ 'namespace' => ['type' => 'string'],
+ 'sourceType' => ['type' => 'string'],
+ 'groupName' => ['type' => 'string'],
+ 'qualifier' => ['type' => 'string'],
+ 'expressType' => ['type' => 'string'],
+ 'versions' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'name' => ['type' => 'string'],
+ 'labels' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'key' => ['type' => 'string'],
+ 'value' => ['type' => 'string'],
+ ],
+ ],
+ ],
+ ],
+ ],
],
- 'isServiceLinkedRole' => [
- 'type' => 'boolean',
+ 'ports' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'name' => ['type' => 'string'],
+ 'port' => ['type' => 'integer', 'format' => 'int32'],
+ 'protocol' => ['type' => 'string'],
+ ],
+ ],
],
+ 'paiWorkspaceName' => ['type' => 'string'],
+ 'paiWorkspaceId' => ['type' => 'string'],
+ 'status' => ['type' => 'string'],
],
],
'SslCertMetaInfo' => [
'type' => 'object',
'properties' => [
- 'certIdentifier' => [
- 'type' => 'string',
- ],
- 'isChainCompleted' => [
- 'type' => 'boolean',
- ],
- 'instanceId' => [
- 'type' => 'string',
- ],
- 'domain' => [
- 'type' => 'string',
- ],
- 'fingerprint' => [
- 'type' => 'string',
- ],
- 'certName' => [
- 'type' => 'string',
- ],
- 'certId' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'commonName' => [
- 'type' => 'string',
- ],
- 'domainMatchCert' => [
- 'type' => 'boolean',
- ],
- 'sans' => [
- 'type' => 'string',
- ],
- 'notBeforeTimestamp' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'notAfterTimestamp' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'algorithm' => [
- 'type' => 'string',
- ],
- 'keySize' => [
- 'type' => 'string',
- ],
- 'issuer' => [
- 'type' => 'string',
- ],
- 'serialNo' => [
- 'type' => 'string',
- ],
- 'md5' => [
- 'type' => 'string',
- ],
- 'sha2' => [
- 'type' => 'string',
- ],
- 'signAlgorithm' => [
- 'type' => 'string',
- ],
+ 'certIdentifier' => ['type' => 'string'],
+ 'isChainCompleted' => ['type' => 'boolean'],
+ 'instanceId' => ['type' => 'string'],
+ 'domain' => ['type' => 'string'],
+ 'fingerprint' => ['type' => 'string'],
+ 'certName' => ['type' => 'string'],
+ 'certId' => ['type' => 'integer', 'format' => 'int64'],
+ 'commonName' => ['type' => 'string'],
+ 'domainMatchCert' => ['type' => 'boolean'],
+ 'sans' => ['type' => 'string'],
+ 'notBeforeTimestamp' => ['type' => 'integer', 'format' => 'int64'],
+ 'notAfterTimestamp' => ['type' => 'integer', 'format' => 'int64'],
+ 'algorithm' => ['type' => 'string'],
+ 'keySize' => ['type' => 'string'],
+ 'issuer' => ['type' => 'string'],
+ 'serialNo' => ['type' => 'string'],
+ 'md5' => ['type' => 'string'],
+ 'sha2' => ['type' => 'string'],
+ 'signAlgorithm' => ['type' => 'string'],
],
],
'SubDomainInfo' => [
'type' => 'object',
'properties' => [
- 'domainId' => [
- 'type' => 'string',
- ],
- 'name' => [
- 'type' => 'string',
- ],
- 'protocol' => [
- 'type' => 'string',
- ],
- 'networkType' => [
- 'type' => 'string',
- ],
+ 'domainId' => ['type' => 'string'],
+ 'name' => ['type' => 'string'],
+ 'protocol' => ['type' => 'string'],
+ 'networkType' => ['type' => 'string'],
],
],
'TlsCipherSuitesConfig' => [
'type' => 'object',
'properties' => [
- 'configType' => [
- 'type' => 'string',
- ],
+ 'configType' => ['type' => 'string'],
'tlsCipherSuite' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'name' => [
- 'type' => 'string',
- ],
+ 'name' => ['type' => 'string'],
'supportVersions' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
],
],
],
],
],
],
- 'ValidationOptions' => [
+ 'TransportCertificateInfo' => [
'type' => 'object',
'properties' => [
- 'skipVerifyAIChatCompletion' => [
- 'type' => 'boolean',
+ 'certIdentifier' => ['type' => 'string'],
+ 'certName' => ['type' => 'string'],
+ 'commonName' => ['type' => 'string'],
+ 'sans' => ['type' => 'string'],
+ 'certificateMatchStatus' => ['type' => 'string'],
+ 'notBeforeTimestamp' => ['type' => 'integer', 'format' => 'int64'],
+ 'notAfterTimestamp' => ['type' => 'integer', 'format' => 'int64'],
+ 'algorithm' => ['type' => 'string'],
+ 'issuer' => ['type' => 'string'],
+ 'coveredDomains' => [
+ 'type' => 'array',
+ 'items' => ['type' => 'string'],
+ ],
+ 'matchedDomains' => [
+ 'type' => 'array',
+ 'items' => ['type' => 'string'],
+ ],
+ ],
+ ],
+ 'TransportEncryptionInfo' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'tlsPolicy' => ['type' => 'string'],
+ 'http2Enabled' => ['type' => 'boolean'],
+ 'deployStatus' => ['type' => 'string'],
+ 'deployError' => ['type' => 'string'],
+ 'certificates' => [
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/TransportCertificateInfo'],
],
],
],
+ 'ValidationOptions' => [
+ 'type' => 'object',
+ 'properties' => [],
+ ],
],
],
'apis' => [
- 'ExportHttpApi' => [
- 'path' => '/v1/http-apis/{httpApiId}/export',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'AddGatewayQuotaRule' => [
+ 'path' => '/v1/gateways/{gatewayId}/quota-rules',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'httpApiId',
+ 'name' => 'gatewayId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- ],
- 'ImportHttpApi' => [
- 'path' => '/v1/http-apis/import',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
- ],
- ],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
- 'deprecated' => false,
- 'parameters' => [
[
'name' => 'body',
'in' => 'body',
@@ -3386,114 +2217,57 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'specContentBase64' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'specFileUrl' => [
+ 'ruleName' => ['type' => 'string', 'required' => true],
+ 'quotaDimension' => [
'type' => 'string',
- 'required' => false,
- ],
- 'name' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'description' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'versionConfig' => [
- '$ref' => '#/components/schemas/HttpApiVersionConfig',
- 'required' => false,
- ],
- 'dryRun' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- 'strategy' => [
- 'type' => 'string',
- 'required' => false,
- 'enum' => [
- 'SpecFirst',
- 'SpecOnly',
- 'ExistFirst',
- ],
- ],
- 'targetHttpApiId' => [
- 'type' => 'string',
- 'required' => false,
+ 'required' => true,
+ 'enum' => ['token', 'credit'],
],
- 'resourceGroupId' => [
+ 'quotaLimit' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
+ 'windowAlignment' => ['type' => 'string', 'required' => false],
+ 'periodType' => [
'type' => 'string',
- 'required' => false,
- ],
- 'specOssConfig' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'regionId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'bucketName' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'objectKey' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
+ 'required' => true,
+ 'enum' => ['day', 'week', 'month'],
],
- 'deployConfigs' => [
+ 'periodMultiplier' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ 'timezone' => ['type' => 'string', 'required' => false],
+ 'consumerGroupIds' => [
'type' => 'array',
+ 'deprecated' => true,
'required' => false,
- 'items' => [
- '$ref' => '#/components/schemas/HttpApiDeployConfig',
- 'required' => false,
- ],
- ],
- 'mcpRouteId' => [
- 'type' => 'string',
- 'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
],
- 'gatewayId' => [
- 'type' => 'string',
+ 'consumerIds' => [
+ 'type' => 'array',
'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
],
+ 'dryRun' => ['type' => 'boolean', 'required' => false],
+ 'overwrite' => ['type' => 'boolean', 'required' => false],
+ 'conflictHash' => ['type' => 'string', 'required' => false],
],
],
],
],
],
- 'DeployHttpApi' => [
- 'path' => '/v1/http-apis/{httpApiId}/deploy',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'AddGatewaySecurityGroupRule' => [
+ 'path' => '/v1/gateways/{gatewayId}/security-group-rules',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'httpApiId',
+ 'name' => 'gatewayId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'body',
@@ -3503,163 +2277,82 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'routeId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'restApiConfig' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'revisionId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'description' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'environment' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'environmentId' => [
- 'type' => 'string',
- 'deprecated' => true,
- 'required' => false,
- ],
- 'customDomainIds' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- 'backendScene' => [
- 'type' => 'string',
- 'deprecated' => true,
- 'required' => false,
- ],
- 'serviceConfigs' => [
- 'type' => 'array',
- 'deprecated' => true,
- 'required' => false,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'serviceId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'protocol' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'port' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'weight' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'version' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'match' => [
- '$ref' => '#/components/schemas/HttpApiBackendMatchConditions',
- 'required' => false,
- ],
- ],
- ],
- ],
- ],
- ],
- 'operationIds' => [
- 'type' => 'array',
- 'deprecated' => true,
- 'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- 'gatewayId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'operationDeployments' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'operationId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'action' => [
- 'type' => 'string',
- 'required' => false,
- 'enum' => [
- 'Publish',
- 'Unpublish',
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- 'httpApiConfig' => [
- 'type' => 'object',
- 'deprecated' => true,
+ 'securityGroupId' => ['type' => 'string', 'required' => false],
+ 'portRanges' => [
+ 'type' => 'array',
'required' => false,
- 'properties' => [
- 'gatewayId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'routeIds' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
+ 'items' => ['type' => 'string', 'required' => false],
],
+ 'description' => ['type' => 'string', 'required' => false],
],
],
],
],
],
- 'CreateHttpApi' => [
- 'path' => '/v1/http-apis',
- 'methods' => [
- 'post',
+ 'BatchDeleteConsumerAuthorizationRule' => [
+ 'path' => '/v1/authorization-rules',
+ 'methods' => ['delete'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
- 'schemes' => [
- 'https',
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'consumerAuthorizationRuleIds',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
],
+ ],
+ 'ChangeResourceGroup' => [
+ 'path' => '/move-resource-group',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'Service',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'ResourceType',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'ResourceId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'ResourceGroupId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
],
- 'produces' => [
- 'application/json',
+ ],
+ 'CreateAiModelProvider' => [
+ 'path' => '/v1/ai-model-providers',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
@@ -3670,166 +2363,31 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'name' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'description' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'protocols' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- 'enum' => [
- 'HTTP',
- 'HTTPS',
- ],
- ],
- ],
- 'basePath' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'versionConfig' => [
- '$ref' => '#/components/schemas/HttpApiVersionConfig',
- 'required' => false,
- ],
- 'type' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'ingressConfig' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'environmentId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'sourceId' => [
- 'type' => 'string',
- 'deprecated' => true,
- 'required' => false,
- ],
- 'ingressClass' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'watchNamespace' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'overrideIngressIp' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- 'clusterId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- 'resourceGroupId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'aiProtocols' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- 'agentProtocols' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- 'deployConfigs' => [
+ 'gatewayId' => ['type' => 'string', 'required' => true],
+ 'provider' => ['type' => 'string', 'required' => true],
+ 'displayName' => ['type' => 'string', 'required' => true],
+ 'serviceIds' => [
'type' => 'array',
'required' => false,
- 'items' => [
- '$ref' => '#/components/schemas/HttpApiDeployConfig',
- 'required' => false,
- ],
- ],
- 'enableAuth' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- 'authConfig' => [
- '$ref' => '#/components/schemas/AuthConfig',
- 'required' => false,
- ],
- 'modelCategory' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'removeBasePathOnForward' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- 'firstByteTimeout' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'belongGatewayId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'dryRun' => [
- 'type' => 'boolean',
- 'deprecated' => true,
- 'required' => false,
- ],
- 'strategy' => [
- 'type' => 'string',
- 'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
],
],
],
],
],
],
- 'UpdateHttpApi' => [
- 'path' => '/v1/http-apis/{httpApiId}',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'CreateAndAttachPolicy' => [
+ 'path' => '/v1/policies',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'httpApiId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
'name' => 'body',
'in' => 'body',
'style' => 'json',
@@ -3837,328 +2395,110 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'description' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'protocols' => [
+ 'name' => ['type' => 'string', 'required' => false],
+ 'className' => ['type' => 'string', 'required' => true],
+ 'config' => ['type' => 'string', 'required' => true],
+ 'description' => ['type' => 'string', 'required' => false],
+ 'attachResourceIds' => [
'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- 'enum' => [
- 'HTTP',
- 'HTTPS',
- ],
- ],
- ],
- 'basePath' => [
- 'type' => 'string',
'required' => true,
+ 'items' => ['type' => 'string', 'required' => false],
],
- 'versionConfig' => [
- '$ref' => '#/components/schemas/HttpApiVersionConfig',
- 'required' => false,
- ],
- 'ingressConfig' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'environmentId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'sourceId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'ingressClass' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'watchNamespace' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'overrideIngressIp' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- ],
- ],
- 'aiProtocols' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- 'agentProtocols' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- 'deployConfigs' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- '$ref' => '#/components/schemas/HttpApiDeployConfig',
- 'required' => false,
- ],
- ],
- 'enableAuth' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- 'authConfig' => [
- '$ref' => '#/components/schemas/AuthConfig',
- 'required' => false,
- ],
- 'onlyChangeConfig' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- 'removeBasePathOnForward' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- 'firstByteTimeout' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'attachResourceType' => ['type' => 'string', 'required' => true],
+ 'environmentId' => ['type' => 'string', 'required' => false],
+ 'gatewayId' => ['type' => 'string', 'required' => false],
],
],
],
],
],
- 'GetHttpApi' => [
- 'path' => '/v1/http-apis/{httpApiId}',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'CreateConsumer' => [
+ 'path' => '/v1/consumers',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'httpApiId',
- 'in' => 'path',
+ '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],
+ 'jwtIdentityConfig' => ['$ref' => '#/components/schemas/JwtIdentityConfig', 'required' => false],
+ 'akSkIdentityConfigs' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => ['$ref' => '#/components/schemas/AkSkIdentityConfig', 'required' => false],
+ ],
+ 'apikeyIdentityConfig' => ['$ref' => '#/components/schemas/ApiKeyIdentityConfig', 'required' => false],
+ 'enable' => ['type' => 'boolean', 'required' => false],
+ 'gatewayType' => ['type' => 'string', 'required' => false],
+ ],
],
],
],
],
- 'ListHttpApis' => [
- 'path' => '/v1/http-apis',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'CreateConsumerAuthorizationRule' => [
+ 'path' => '/v1/consumers/{consumerId}/authorization-rules',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'keyword',
- '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,
- ],
- ],
- [
- 'name' => 'name',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'types',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'gatewayId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'withAuthPolicyInEnvironmentId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'withConsumerInfoById',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'withEnvironmentInfo',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'withPluginAttachmentByPluginId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'resourceGroupId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'withEnvironmentInfoById',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'withAuthPolicyList',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'withIngressInfo',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'withPolicyConfigs',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'withAPIsPublishedToEnvironment',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'name' => 'consumerId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'gatewayType',
- 'in' => 'query',
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'resourceType' => ['type' => 'string', 'required' => false],
+ 'parentResourceType' => ['type' => 'string', 'required' => false],
+ 'authorizationResourceInfos' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => ['$ref' => '#/components/schemas/AuthorizationResourceInfo', 'required' => false],
+ ],
+ 'expireMode' => ['type' => 'string', 'required' => false],
+ 'expireTimestamp' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ ],
],
],
],
],
- 'UndeployHttpApi' => [
- 'path' => '/v1/http-apis/{httpApiId}/undeploy',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'CreateConsumerAuthorizationRules' => [
+ 'path' => '/v1/authorization-rules',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'httpApiId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
'name' => 'body',
'in' => 'body',
'style' => 'json',
@@ -4166,88 +2506,93 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'routeId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'environmentId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'operationId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'gatewayId' => [
- 'type' => 'string',
+ 'authorizationRules' => [
+ 'type' => 'array',
'required' => false,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'principalType' => ['type' => 'string', 'required' => false],
+ 'consumerId' => ['type' => 'string', 'required' => false],
+ 'consumerGroupId' => ['type' => 'string', 'required' => false],
+ 'resourceType' => ['type' => 'string', 'required' => false],
+ 'resourceIdentifier' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'resourceId' => ['type' => 'string', 'required' => false],
+ 'environmentId' => ['type' => 'string', 'required' => false],
+ 'resources' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
+ ],
+ 'parentResourceId' => ['type' => 'string', 'required' => false],
+ ],
+ ],
+ 'expireMode' => ['type' => 'string', 'required' => false],
+ 'expireTimestamp' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ ],
+ ],
],
],
],
],
],
],
- 'DeleteHttpApi' => [
- 'path' => '/v1/http-apis/{httpApiId}',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'CreateDomain' => [
+ 'path' => '/v1/domains',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'httpApiId',
- 'in' => 'path',
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
- 'required' => true,
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'name' => ['type' => 'string', 'required' => true],
+ 'protocol' => ['type' => 'string', 'required' => false],
+ 'domainScope' => ['type' => 'string', 'required' => false],
+ 'forceHttps' => ['type' => 'boolean', 'required' => false],
+ 'mTLSEnabled' => ['type' => 'boolean', 'required' => false],
+ 'certIdentifier' => ['type' => 'string', 'required' => false],
+ 'caCertIdentifier' => ['type' => 'string', 'required' => false],
+ 'clientCACert' => ['type' => 'string', 'required' => false],
+ 'http2Option' => ['type' => 'string', 'required' => false],
+ 'tlsMax' => ['type' => 'string', 'required' => false],
+ 'tlsMin' => ['type' => 'string', 'required' => false],
+ 'resourceGroupId' => ['type' => 'string', 'required' => false],
+ 'tlsCipherSuitesConfig' => ['$ref' => '#/components/schemas/TlsCipherSuitesConfig', 'required' => false],
+ 'gatewayType' => ['type' => 'string', 'required' => false],
+ ],
],
],
],
],
- 'CreateHttpApiOperation' => [
- 'path' => '/v1/http-apis/{httpApiId}/operations',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'CreateEnvironment' => [
+ 'path' => '/v1/environments',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
- 'deprecated' => false,
+ 'deprecated' => true,
'parameters' => [
[
- 'name' => 'httpApiId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
'name' => 'body',
'in' => 'body',
'style' => 'json',
@@ -4255,96 +2600,115 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'operations' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- '$ref' => '#/components/schemas/HttpApiOperation',
- 'required' => false,
- ],
- ],
+ 'name' => ['type' => 'string', 'required' => true],
+ 'alias' => ['type' => 'string', 'required' => true],
+ 'description' => ['type' => 'string', 'required' => false],
+ 'gatewayId' => ['type' => 'string', 'required' => true],
+ 'resourceGroupId' => ['type' => 'string', 'required' => false],
],
],
],
],
],
- 'GetHttpApiOperation' => [
- 'path' => '/v1/http-apis/{httpApiId}/operations/{operationId}',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'CreateGateway' => [
+ 'path' => '/v1/gateways',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'httpApiId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'operationId',
- 'in' => 'path',
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
- 'required' => true,
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'name' => ['type' => 'string', 'required' => false],
+ 'chargeType' => ['type' => 'string', 'required' => false],
+ 'gatewayType' => ['type' => 'string', 'required' => false],
+ 'spec' => ['type' => 'string', 'required' => false],
+ 'vpcId' => ['type' => 'string', 'required' => false],
+ 'networkAccessConfig' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'type' => ['type' => 'string', 'required' => false],
+ ],
+ ],
+ 'zoneConfig' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'selectOption' => ['type' => 'string', 'required' => false],
+ 'vSwitchId' => ['type' => 'string', 'required' => false],
+ 'zones' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'zoneId' => ['type' => 'string', 'required' => false],
+ 'vSwitchId' => ['type' => 'string', 'required' => false],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'logConfig' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'sls' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'enable' => ['type' => 'boolean', 'required' => false],
+ ],
+ ],
+ ],
+ ],
+ 'resourceGroupId' => ['type' => 'string', 'required' => false],
+ 'tag' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'key' => ['type' => 'string', 'required' => false],
+ 'value' => ['type' => 'string', 'required' => false],
+ ],
+ ],
+ ],
+ 'gatewayEdition' => ['type' => 'string', 'required' => false],
+ ],
],
],
],
],
- 'UpdateHttpApiOperation' => [
- 'path' => '/v1/http-apis/{httpApiId}/operations/{operationId}',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'CreateHttpApi' => [
+ 'path' => '/v1/http-apis',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'httpApiId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'operationId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
'name' => 'body',
'in' => 'body',
'style' => 'json',
@@ -4352,212 +2716,115 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'operation' => [
- '$ref' => '#/components/schemas/HttpApiOperation',
+ 'name' => ['type' => 'string', 'required' => true],
+ 'description' => ['type' => 'string', 'required' => false],
+ 'protocols' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => [
+ 'type' => 'string',
+ 'required' => false,
+ 'enum' => ['HTTP', 'HTTPS'],
+ ],
+ ],
+ 'basePath' => ['type' => 'string', 'required' => false],
+ 'versionConfig' => ['$ref' => '#/components/schemas/HttpApiVersionConfig', 'required' => false],
+ 'type' => ['type' => 'string', 'required' => false],
+ 'ingressConfig' => [
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'environmentId' => ['type' => 'string', 'required' => false],
+ 'sourceId' => ['type' => 'string', 'deprecated' => true, 'required' => false],
+ 'ingressClass' => ['type' => 'string', 'required' => false],
+ 'watchNamespace' => ['type' => 'string', 'required' => false],
+ 'overrideIngressIp' => ['type' => 'boolean', 'required' => false],
+ 'clusterId' => ['type' => 'string', 'required' => false],
+ ],
],
+ 'resourceGroupId' => ['type' => 'string', 'required' => false],
+ 'aiProtocols' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
+ ],
+ 'agentProtocols' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
+ ],
+ 'deployConfigs' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => ['$ref' => '#/components/schemas/HttpApiDeployConfig', 'required' => false],
+ ],
+ 'enableAuth' => ['type' => 'boolean', 'required' => false],
+ 'authConfig' => ['$ref' => '#/components/schemas/AuthConfig', 'required' => false],
+ 'modelCategory' => ['type' => 'string', 'required' => false],
+ 'removeBasePathOnForward' => ['type' => 'boolean', 'required' => false],
+ 'firstByteTimeout' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'belongGatewayId' => ['type' => 'string', 'required' => false],
+ 'dryRun' => ['type' => 'boolean', 'deprecated' => true, 'required' => false],
+ 'strategy' => ['type' => 'string', 'required' => false],
],
],
],
],
],
- 'ListHttpApiOperations' => [
+ 'CreateHttpApiOperation' => [
'path' => '/v1/http-apis/{httpApiId}/operations',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'httpApiId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'method',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'pathLike',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'nameLike',
- '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,
- ],
- ],
- [
- 'name' => 'name',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'withConsumerInEnvironmentId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'withConsumerInfoById',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'consumerAuthorizationRuleId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'withPluginAttachmentByPluginId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'forDeploy',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'gatewayId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'enableAuth',
- 'in' => 'query',
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'boolean',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'operations' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => ['$ref' => '#/components/schemas/HttpApiOperation', 'required' => false],
+ ],
+ ],
],
],
],
],
- 'DeleteHttpApiOperation' => [
- 'path' => '/v1/http-apis/{httpApiId}/operations/{operationId}',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'CreateHttpApiRoute' => [
+ 'path' => '/v1/http-apis/{httpApiId}/routes',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'httpApiId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'operationId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- ],
- ],
- 'CreateMcpServer' => [
- 'path' => '/v1/mcp-servers',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
- 'deprecated' => false,
- 'parameters' => [
[
'name' => 'body',
'in' => 'body',
@@ -4566,46 +2833,20 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'gatewayId' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'name' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'description' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'type' => [
- 'type' => 'string',
- 'required' => true,
- 'enum' => [
- 'RealMCP',
- 'AssemblyMCP',
- ],
- ],
+ 'environmentId' => ['type' => 'string', 'required' => false],
+ 'name' => ['type' => 'string', 'required' => false],
+ 'description' => ['type' => 'string', 'required' => false],
'domainIds' => [
'type' => 'array',
'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- 'match' => [
- '$ref' => '#/components/schemas/HttpRouteMatch',
- 'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
],
+ 'match' => ['$ref' => '#/components/schemas/HttpRouteMatch', 'required' => false],
'backendConfig' => [
'type' => 'object',
'required' => false,
'properties' => [
- 'scene' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'scene' => ['type' => 'string', 'required' => false],
'services' => [
'type' => 'array',
'required' => false,
@@ -4613,173 +2854,51 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'protocol' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'port' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'weight' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'serviceId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'version' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'serviceId' => ['type' => 'string', 'required' => false],
+ 'protocol' => ['type' => 'string', 'required' => false],
+ 'port' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'weight' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'version' => ['type' => 'string', 'required' => false],
],
],
],
],
],
- 'protocol' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'exposedUriPath' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'assembledSources' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'mcpServerName' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'mcpServerId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'tools' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- ],
- ],
- 'mcpStatisticsEnable' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- 'createFromType' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'grayMcpServerConfigs' => [
+ 'deployConfigs' => [
'type' => 'array',
'required' => false,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'routeId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'match' => [
- '$ref' => '#/components/schemas/HttpRouteMatch',
- 'required' => false,
- ],
- 'backendConfig' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'scene' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'services' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'protocol' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'port' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'weight' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'serviceId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'version' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- ],
+ 'items' => ['$ref' => '#/components/schemas/HttpApiDeployConfig', 'required' => false],
],
- 'mcpServerConfig' => [
+ 'mcpRouteConfig' => [
'type' => 'object',
'required' => false,
'properties' => [
- 'swaggerConfig' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'mcpServerSpec' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'protocol' => ['type' => 'string', 'required' => false],
+ 'exposedUriPath' => ['type' => 'string', 'required' => false],
+ 'mcpStatisticsEnable' => ['type' => 'boolean', 'required' => false],
],
],
+ 'policyConfigs' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => ['$ref' => '#/components/schemas/HttpApiPolicyConfigs', 'required' => false],
+ ],
],
],
],
],
],
- 'UpdateMcpServer' => [
- 'path' => '/v1/mcp-servers/{mcpServerId}',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'CreateMcpServer' => [
+ 'path' => '/v1/mcp-servers',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
@@ -4790,30 +2909,25 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'description' => [
+ 'gatewayId' => ['type' => 'string', 'required' => true],
+ 'name' => ['type' => 'string', 'required' => true],
+ 'description' => ['type' => 'string', 'required' => false],
+ 'type' => [
'type' => 'string',
- 'required' => false,
+ 'required' => true,
+ 'enum' => ['RealMCP', 'AssemblyMCP'],
],
'domainIds' => [
'type' => 'array',
'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- 'match' => [
- '$ref' => '#/components/schemas/HttpRouteMatch',
- 'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
],
+ 'match' => ['$ref' => '#/components/schemas/HttpRouteMatch', 'required' => false],
'backendConfig' => [
'type' => 'object',
'required' => false,
'properties' => [
- 'scene' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'scene' => ['type' => 'string', 'required' => false],
'services' => [
'type' => 'array',
'required' => false,
@@ -4821,37 +2935,18 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'protocol' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'port' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'weight' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'serviceId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'version' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'protocol' => ['type' => 'string', 'required' => false],
+ 'port' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'weight' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'serviceId' => ['type' => 'string', 'required' => false],
+ 'version' => ['type' => 'string', 'required' => false],
],
],
],
],
],
- 'exposedUriPath' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'protocol' => ['type' => 'string', 'required' => false],
+ 'exposedUriPath' => ['type' => 'string', 'required' => false],
'assembledSources' => [
'type' => 'array',
'required' => false,
@@ -4859,51 +2954,18 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'mcpServerName' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'mcpServerId' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'mcpServerName' => ['type' => 'string', 'required' => false],
+ 'mcpServerId' => ['type' => 'string', 'required' => false],
'tools' => [
'type' => 'array',
'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'items' => ['type' => 'string', 'required' => false],
],
],
],
],
- 'mcpStatisticsEnable' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- 'type' => [
- 'type' => 'string',
- 'required' => true,
- 'enum' => [
- 'RealMCP',
- 'AssemblyMCP',
- ],
- ],
- 'protocol' => [
- 'type' => 'string',
- 'required' => true,
- 'enum' => [
- 'HTTP',
- 'HTTPS',
- 'SSE',
- 'StreamableHTTP',
- ],
- ],
- 'createFromType' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'mcpStatisticsEnable' => ['type' => 'boolean', 'required' => false],
+ 'createFromType' => ['type' => 'string', 'required' => false],
'grayMcpServerConfigs' => [
'type' => 'array',
'required' => false,
@@ -4911,22 +2973,13 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'routeId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'match' => [
- '$ref' => '#/components/schemas/HttpRouteMatch',
- 'required' => false,
- ],
+ 'routeId' => ['type' => 'string', 'required' => false],
+ 'match' => ['$ref' => '#/components/schemas/HttpRouteMatch', 'required' => false],
'backendConfig' => [
'type' => 'object',
'required' => false,
'properties' => [
- 'scene' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'scene' => ['type' => 'string', 'required' => false],
'services' => [
'type' => 'array',
'required' => false,
@@ -4934,28 +2987,11 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'protocol' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'port' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'weight' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'serviceId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'version' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'protocol' => ['type' => 'string', 'required' => false],
+ 'port' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'weight' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'serviceId' => ['type' => 'string', 'required' => false],
+ 'version' => ['type' => 'string', 'required' => false],
],
],
],
@@ -4968,253 +3004,195 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'swaggerConfig' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'mcpServerSpec' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'swaggerConfig' => ['type' => 'string', 'required' => false],
+ 'mcpServerSpec' => ['type' => 'string', 'required' => false],
],
],
],
],
],
- [
- 'name' => 'mcpServerId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
],
],
- 'GetMcpServer' => [
- 'path' => '/v1/mcp-servers/{mcpServerId}',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'CreatePluginAttachment' => [
+ 'path' => '/v1/plugin-attachments',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'mcpServerId',
- 'in' => 'path',
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'pluginId' => ['type' => 'string', 'required' => false],
+ 'pluginConfig' => ['type' => 'string', 'required' => false],
+ 'attachResourceIds' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
+ ],
+ 'attachResourceType' => ['type' => 'string', 'required' => false],
+ 'environmentId' => ['type' => 'string', 'required' => false],
+ 'gatewayId' => ['type' => 'string', 'required' => false],
+ 'enable' => ['type' => 'boolean', 'required' => false],
+ ],
],
],
],
],
- 'ListMcpServers' => [
- 'path' => '/v1/mcp-servers',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'CreatePluginClass' => [
+ 'path' => '/v1/plugin-classes',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'gatewayId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'nameLike',
- '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' => true,
- ],
- ],
- [
- 'name' => 'pageSize',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'createFromTypes',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'deployStatuses',
- 'in' => 'query',
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'name' => ['type' => 'string', 'required' => true],
+ 'alias' => ['type' => 'string', 'required' => false],
+ 'description' => ['type' => 'string', 'required' => true],
+ 'version' => ['type' => 'string', 'required' => true],
+ 'versionDescription' => ['type' => 'string', 'required' => true],
+ 'executeStage' => ['type' => 'string', 'required' => true],
+ 'executePriority' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'wasmLanguage' => ['type' => 'string', 'required' => true],
+ 'wasmUrl' => ['type' => 'string', 'required' => true],
+ 'supportedMinGatewayVersion' => ['type' => 'string', 'required' => false],
+ ],
],
],
],
],
- 'DeleteMcpServer' => [
- 'path' => '/v1/mcp-servers/{mcpServerId}',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'CreatePolicy' => [
+ 'path' => '/v2/policies',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'mcpServerId',
- 'in' => 'path',
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'name' => ['type' => 'string', 'required' => true],
+ 'className' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'enum' => [
+ 'ConcurrencyLimit', 'RateLimit', 'CircuitBreaker', 'IpAccessControl', 'Timeout', 'Retry', 'Cors', 'FlowCopy', 'HeaderModify', 'HttpRewrite', 'Fallback', 'DirectResponse', 'Redirect', 'ServiceTls', 'ServiceLb', 'ServicePortTls', 'JWTAuth', 'OIDCAuth', 'ExternalZAuth', 'Waf',
+ 'Authentication', 'AiFallback', 'AiSecurityGuard', 'AiCache', 'AiTokenRateLimit',
+ ],
+ ],
+ 'config' => ['type' => 'string', 'required' => true],
+ 'description' => ['type' => 'string', 'required' => false],
+ ],
],
],
],
],
- 'DeployMcpServer' => [
- 'path' => '/v1/mcp-servers/{mcpServerId}/deploy',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'CreatePolicyAttachment' => [
+ 'path' => '/v1/policy-attachments',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'mcpServerId',
- 'in' => 'path',
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'policyId' => ['type' => 'string', 'required' => true],
+ 'gatewayId' => ['type' => 'string', 'required' => true],
+ 'environmentId' => ['type' => 'string', 'required' => true],
+ 'attachResourceId' => ['type' => 'string', 'required' => true],
+ 'attachResourceType' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'enum' => ['Domain', 'Gateway', 'GatewayRoute', 'GatewayService', 'HttpApi', 'Operation', 'Route', 'Service', 'ServicePort', 'LLMApi'],
+ ],
+ ],
],
],
],
],
- 'UnDeployMcpServer' => [
- 'path' => '/v1/mcp-servers/{mcpServerId}/undeploy',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'CreateSecret' => [
+ 'path' => '/v1/secrets',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'mcpServerId',
- 'in' => 'path',
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'name' => ['type' => 'string', 'required' => false],
+ 'description' => ['type' => 'string', 'required' => false],
+ 'kmsConfig' => ['$ref' => '#/components/schemas/KMSConfig', 'required' => false],
+ 'gatewayType' => ['type' => 'string', 'required' => false],
+ 'secretSource' => ['type' => 'string', 'required' => false],
+ 'secretData' => ['type' => 'string', 'required' => false],
+ ],
],
],
],
],
- 'SyncMCPServers' => [
- 'path' => '/v1/mcp-servers/sync-mcp-server',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'CreateService' => [
+ 'path' => '/v1/services',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
@@ -5225,93 +3203,72 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'gatewayId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'domainIds' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- 'sourceId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'namespace' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'nacosMcpServers' => [
+ 'gatewayId' => ['type' => 'string', 'required' => false],
+ 'sourceType' => ['type' => 'string', 'required' => false],
+ 'serviceConfigs' => [
'type' => 'array',
'required' => false,
'items' => [
'type' => 'object',
'required' => false,
'properties' => [
- 'instanceId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'exposedUriPath' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'mcpServerName' => [
- 'type' => 'string',
+ 'name' => ['type' => 'string', 'required' => false],
+ 'namespace' => ['type' => 'string', 'required' => false],
+ 'groupName' => ['type' => 'string', 'required' => false],
+ 'addresses' => [
+ 'type' => 'array',
'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
],
- 'protocols' => [
+ 'qualifier' => ['type' => 'string', 'required' => false],
+ 'aiServiceConfig' => ['$ref' => '#/components/schemas/AiServiceConfig', 'required' => false],
+ 'agentServiceConfig' => ['$ref' => '#/components/schemas/AgentServiceConfig', 'required' => false],
+ 'modelProviderId' => ['type' => 'string', 'required' => false],
+ 'dnsServers' => [
'type' => 'array',
'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'items' => ['type' => 'string', 'required' => false],
],
- 'mcpServerId' => [
- 'type' => 'string',
+ 'sourceId' => ['type' => 'string', 'required' => false],
+ 'validationOptions' => [
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'skipVerifyAIChatCompletion' => ['type' => 'boolean', 'required' => false],
+ ],
],
+ 'expressType' => ['type' => 'string', 'required' => false],
],
],
],
+ 'resourceGroupId' => ['type' => 'string', 'required' => false],
],
],
],
+ [
+ 'name' => 'clientToken',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
],
],
- 'CreateHttpApiRoute' => [
- 'path' => '/v1/http-apis/{httpApiId}/routes',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'CreateServiceVersion' => [
+ 'path' => '/v1/services/{serviceId}/versions',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'httpApiId',
+ 'name' => 'serviceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -5321,149 +3278,38 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'environmentId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'name' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'description' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'domainIds' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- 'match' => [
- '$ref' => '#/components/schemas/HttpRouteMatch',
- 'required' => false,
- ],
- 'backendConfig' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'scene' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'services' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'serviceId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'protocol' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'port' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'weight' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'version' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- ],
- ],
- ],
- 'deployConfigs' => [
+ 'name' => ['type' => 'string', 'required' => true],
+ 'labels' => [
'type' => 'array',
- 'required' => false,
+ 'required' => true,
'items' => [
- '$ref' => '#/components/schemas/HttpApiDeployConfig',
+ 'type' => 'object',
'required' => false,
- ],
- ],
- 'mcpRouteConfig' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'protocol' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'exposedUriPath' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'mcpStatisticsEnable' => [
- 'type' => 'boolean',
- 'required' => false,
+ 'properties' => [
+ 'key' => ['type' => 'string', 'required' => true],
+ 'value' => ['type' => 'string', 'required' => false],
],
],
],
- 'policyConfigs' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- '$ref' => '#/components/schemas/HttpApiPolicyConfigs',
- 'required' => false,
- ],
- ],
],
],
],
],
],
- 'UpdateHttpApiRoute' => [
- 'path' => '/v1/http-apis/{httpApiId}/routes/{routeId}',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'CreateSource' => [
+ 'path' => '/v1/sources',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'httpApiId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'routeId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
'name' => 'body',
'in' => 'body',
'style' => 'json',
@@ -5471,1844 +3317,461 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'domainIds' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- 'match' => [
- '$ref' => '#/components/schemas/HttpRouteMatch',
- 'required' => false,
- ],
- 'backendConfig' => [
+ 'gatewayId' => ['type' => 'string', 'required' => false],
+ 'type' => ['type' => 'string', 'required' => false],
+ 'k8sSourceConfig' => [
'type' => 'object',
'required' => false,
'properties' => [
- 'scene' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'services' => [
+ 'clusterId' => ['type' => 'string', 'required' => false],
+ 'authorizeSecurityGroupRules' => [
'type' => 'array',
'required' => false,
'items' => [
'type' => 'object',
'required' => false,
'properties' => [
- 'serviceId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'protocol' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'version' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'weight' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'port' => [
- 'type' => 'integer',
- 'format' => 'int32',
+ 'securityGroupId' => ['type' => 'string', 'required' => false],
+ 'portRanges' => [
+ 'type' => 'array',
'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
],
+ 'description' => ['type' => 'string', 'required' => false],
],
],
],
],
],
- 'environmentId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'description' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'deployConfigs' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- '$ref' => '#/components/schemas/HttpApiDeployConfig',
- 'required' => false,
- ],
- ],
- 'name' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'mcpRouteConfig' => [
+ 'nacosSourceConfig' => [
'type' => 'object',
'required' => false,
'properties' => [
- 'protocol' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'exposedUriPath' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'mcpStatisticsEnable' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- ],
- ],
- 'policyConfigs' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'type' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'enable' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- 'aiFallbackConfig' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'serviceConfigs' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'serviceId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'name' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'targetModelName' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'passThroughModelName' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- ],
- ],
- ],
- 'onlyRedirectUpstreamCode' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- 'routeEmbedded' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- ],
- ],
- 'aiSecurityGuardConfig' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'serviceAddress' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'checkRequest' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- 'checkResponse' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- 'checkRequestImage' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- 'checkResponseImage' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- 'requestCheckService' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'responseCheckService' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'requestImageCheckService' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'responseImageCheckService' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'riskAlertLevel' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'riskConfig' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'type' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'level' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'consumerRules' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'pattern' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'matchType' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- ],
- ],
- ],
- 'bufferLimit' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'pluginStatus' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'errorLogs' => [
- 'type' => 'object',
- 'required' => false,
- 'additionalProperties' => [
- 'type' => 'string',
- ],
- ],
- 'serviceHealthy' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- 'pluginId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- 'consumerRequestCheckService' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'name' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'requestCheckService' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'requestImageCheckService' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'matchType' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'modalityType' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- ],
- 'consumerResponseCheckService' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'name' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'responseCheckService' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'responseImageCheckService' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'matchType' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'modalityType' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- ],
- 'consumerRiskLevel' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'name' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'matchType' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'type' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'level' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- ],
- ],
- ],
- 'aiTokenRateLimitConfig' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'rules' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'limitType' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'matchKey' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'matchType' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'matchValue' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'limitMode' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'limitValue' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- ],
- ],
- ],
- 'enableGlobalRules' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- 'globalRules' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'limitType' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'matchKey' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'matchType' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'matchValue' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'limitMode' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'limitValue' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- ],
- ],
- ],
- 'redisConfig' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'host' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'port' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'username' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'password' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'timeout' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'databaseNumber' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- ],
- ],
- 'pluginStatus' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'errorLogs' => [
- 'type' => 'object',
- 'required' => false,
- 'additionalProperties' => [
- 'type' => 'string',
- ],
- ],
- 'serviceHealthy' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- 'pluginId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- ],
- ],
- 'aiCacheConfig' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'cacheTTL' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'redisConfig' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'host' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'port' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'username' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'password' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'timeout' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'databaseNumber' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- ],
- ],
- 'vectorConfig' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'type' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'serviceHost' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'apiKey' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'timeout' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'collectionId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'threshold' => [
- 'type' => 'number',
- 'format' => 'float',
- 'required' => false,
- ],
- ],
- ],
- 'embeddingConfig' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'type' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'serviceId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'timeout' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'modelName' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- 'cacheKeyStrategy' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'cacheMode' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'pluginStatus' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'errorLogs' => [
- 'type' => 'object',
- 'required' => false,
- 'additionalProperties' => [
- 'type' => 'string',
- ],
- ],
- 'serviceHealthy' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- 'pluginId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- ],
- ],
- 'aiNetworkSearchConfig' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'needReference' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- 'referenceFormat' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'referenceLocation' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'defaultLang' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'defaultEnable' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- 'searchFrom' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'type' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'apiKey' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'count' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'start' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'timeoutMillisecond' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'optionArgs' => [
- 'type' => 'object',
- 'required' => false,
- 'additionalProperties' => [
- 'type' => 'string',
- ],
- ],
- 'endpoint' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'contentMode' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'industry' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'timeRange' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- ],
- 'searchEngineConfig' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'type' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'apiKey' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'count' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'start' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'timeoutMillisecond' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'optionArgs' => [
- 'type' => 'object',
- 'required' => false,
- 'additionalProperties' => [
- 'type' => 'string',
- ],
- ],
- 'endpoint' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'contentMode' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'industry' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'timeRange' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- 'searchRewrite' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'enable' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- 'serviceId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'modelName' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'timeoutMillisecond' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'maxCount' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- ],
- ],
- 'pluginStatus' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'errorLogs' => [
- 'type' => 'object',
- 'required' => false,
- 'additionalProperties' => [
- 'type' => 'string',
- ],
- ],
- 'serviceHealthy' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- 'pluginId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- ],
- ],
- 'aiToolSelectionConfig' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'enableConditions' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'toolCountThreshold' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- ],
- ],
- 'toolReranking' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'modelService' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'serviceId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'modelName' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'timeoutMillisecond' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- ],
- ],
- 'filteringMethod' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'topKPercent' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'topNCount' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'scoreThreshold' => [
- 'type' => 'number',
- 'format' => 'float',
- 'required' => false,
- ],
- 'fallbackStrategy' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- 'queryRewriting' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'enabled' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- 'modelService' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'serviceId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'modelName' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'timeoutMillisecond' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- ],
- ],
- 'promptConfig' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'type' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'customPrompt' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- 'maxOutputTokens' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'triggerConditions' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'messageCountThreshold' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- ],
- ],
- 'contextSelection' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'type' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'value' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- ],
- ],
- 'fallbackStrategy' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- 'pluginStatus' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'errorLogs' => [
- 'type' => 'object',
- 'required' => false,
- 'additionalProperties' => [
- 'type' => 'string',
- ],
- ],
- 'serviceHealthy' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- 'pluginId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- ],
- ],
- 'aiStatisticsConfig' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'logRequestContent' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- 'logResponseContent' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- ],
- ],
- 'semanticRouterConfig' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'timeoutMillisecond' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- ],
- ],
- ],
+ 'instanceId' => ['type' => 'string', 'required' => false],
],
],
+ 'resourceGroupId' => ['type' => 'string', 'required' => false],
],
],
],
],
],
- 'GetHttpApiRoute' => [
- 'path' => '/v1/http-apis/{httpApiId}/routes/{routeId}',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'DeleteConsumer' => [
+ 'path' => '/v1/consumers/{consumerId}',
+ 'methods' => ['delete'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'httpApiId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'routeId',
+ 'name' => 'consumerId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'DeleteHttpApiRoute' => [
- 'path' => '/v1/http-apis/{httpApiId}/routes/{routeId}',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'DeleteConsumerAuthorizationRule' => [
+ 'path' => '/v1/consumers/{consumerId}/authorization-rules/{consumerAuthorizationRuleId}',
+ 'methods' => ['delete'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'httpApiId',
+ 'name' => 'consumerAuthorizationRuleId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'routeId',
+ 'name' => 'consumerId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'ListHttpApiRoutes' => [
- 'path' => '/v1/http-apis/{httpApiId}/routes',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'DeleteDomain' => [
+ 'path' => '/v1/domains/{domainId}',
+ 'methods' => ['delete'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'httpApiId',
+ 'name' => 'domainId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'pageNumber',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
+ ],
+ ],
+ 'DeleteEnvironment' => [
+ 'path' => '/v1/environments/{environmentId}',
+ 'methods' => ['delete'],
+ 'schemes' => ['https'],
+ 'security' => [
[
- 'name' => 'pageSize',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'deprecated' => true,
+ 'parameters' => [
[
'name' => 'environmentId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'deployStatuses',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
+ ],
+ ],
+ 'DeleteGateway' => [
+ 'path' => '/v1/gateways/{gatewayId}',
+ 'methods' => ['delete'],
+ 'schemes' => ['https'],
+ 'security' => [
[
- 'name' => 'name',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
[
- 'name' => 'nameLike',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'gatewayId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
],
+ ],
+ ],
+ 'DeleteGatewayQuotaRule' => [
+ 'path' => '/v1/gateways/{gatewayId}/quota-rules/{ruleId}',
+ 'methods' => ['delete'],
+ 'schemes' => ['https'],
+ 'security' => [
[
- 'name' => 'pathLike',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
[
'name' => 'gatewayId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'withConsumerInfoById',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'consumerAuthorizationRuleId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'ruleId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
],
+ ],
+ ],
+ 'DeleteGatewaySecurityGroupRule' => [
+ 'path' => '/v1/gateways/{gatewayId}/security-group-rules/{securityGroupRuleId}',
+ 'methods' => ['delete'],
+ 'schemes' => ['https'],
+ 'security' => [
[
- 'name' => 'withAuthPolicyInfo',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
[
- 'name' => 'withPluginAttachmentByPluginId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'gatewayId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'domainId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'securityGroupRuleId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'forDeploy',
+ 'name' => 'cascadingDelete',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
],
],
- 'GetService' => [
- 'path' => '/v1/services/{serviceId}',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'DeleteHttpApi' => [
+ 'path' => '/v1/http-apis/{httpApiId}',
+ 'methods' => ['delete'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'serviceId',
+ 'name' => 'httpApiId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'CreateService' => [
- 'path' => '/v1/services',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'DeleteHttpApiOperation' => [
+ 'path' => '/v1/http-apis/{httpApiId}/operations/{operationId}',
+ 'methods' => ['delete'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'body',
- 'in' => 'body',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'gatewayId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'sourceType' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'serviceConfigs' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'name' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'namespace' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'groupName' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'addresses' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- 'qualifier' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'aiServiceConfig' => [
- '$ref' => '#/components/schemas/AiServiceConfig',
- 'required' => false,
- ],
- 'agentServiceConfig' => [
- '$ref' => '#/components/schemas/AgentServiceConfig',
- 'required' => false,
- ],
- 'dnsServers' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- 'sourceId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'validationOptions' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'skipVerifyAIChatCompletion' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- ],
- ],
- 'expressType' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- ],
- 'resourceGroupId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
+ 'name' => 'httpApiId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'clientToken',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'operationId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'ListServices' => [
- 'path' => '/v1/services',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'DeleteHttpApiRoute' => [
+ 'path' => '/v1/http-apis/{httpApiId}/routes/{routeId}',
+ 'methods' => ['delete'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'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' => 'httpApiId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'name',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'routeId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
],
+ ],
+ ],
+ 'DeleteMcpServer' => [
+ 'path' => '/v1/mcp-servers/{mcpServerId}',
+ 'methods' => ['delete'],
+ 'schemes' => ['https'],
+ 'security' => [
[
- 'name' => 'sourceType',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
[
- 'name' => 'sourceTypes',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'mcpServerId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
],
+ ],
+ ],
+ 'DeletePluginAttachment' => [
+ 'path' => '/v1/plugin-attachments/{pluginAttachmentId}',
+ 'methods' => ['delete'],
+ 'schemes' => ['https'],
+ 'security' => [
[
- 'name' => 'gatewayId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
[
- 'name' => 'resourceGroupId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'pluginAttachmentId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'UpdateService' => [
- 'path' => '/v1/services/{serviceId}',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'DeletePluginClass' => [
+ 'path' => '/v1/plugin-classes/{pluginClassId}',
+ 'methods' => ['delete'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'serviceId',
+ 'name' => 'pluginClassId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'body',
- 'in' => 'body',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'addresses' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- 'healthCheckConfig' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'enable' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- 'protocol' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'timeout' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'interval' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'healthyThreshold' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'unhealthyThreshold' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'httpPath' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'httpHost' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'expectedStatuses' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- ],
- 'protocol' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'aiServiceConfig' => [
- '$ref' => '#/components/schemas/AiServiceConfig',
- 'required' => false,
- ],
- 'agentServiceConfig' => [
- '$ref' => '#/components/schemas/AgentServiceConfig',
- 'required' => false,
- ],
- 'dnsServers' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- 'ports' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'name' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'port' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'protocol' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- ],
- 'healthyPanicThreshold' => [
- 'type' => 'number',
- 'format' => 'float',
- 'required' => false,
- ],
- 'outlierDetectionConfig' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'enable' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- 'baseEjectionTime' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'failurePercentageThreshold' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'failurePercentageMinimumHosts' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'interval' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- ],
- ],
- ],
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'DeleteService' => [
- 'path' => '/v1/services/{serviceId}',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'DeletePolicy' => [
+ 'path' => '/v2/policies/{policyId}',
+ 'methods' => ['delete'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'serviceId',
+ 'name' => 'policyId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'CreateServiceVersion' => [
- 'path' => '/v1/services/{serviceId}/versions',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'DeletePolicyAttachment' => [
+ 'path' => '/v1/policy-attachments/{policyAttachmentId}',
+ 'methods' => ['delete'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'serviceId',
+ 'name' => 'policyAttachmentId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'body',
- 'in' => 'body',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'name' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'labels' => [
- 'type' => 'array',
- 'required' => true,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'key' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'value' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- ],
- ],
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'UpdateServiceVersion' => [
- 'path' => '/v1/services/{serviceId}/versions/{name}',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'DeleteSecret' => [
+ 'path' => '/v1/secrets/{secretId}',
+ 'methods' => ['delete'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'serviceId',
+ 'name' => 'secretId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
+ ],
+ ],
+ 'DeleteService' => [
+ 'path' => '/v1/services/{serviceId}',
+ 'methods' => ['delete'],
+ 'schemes' => ['https'],
+ 'security' => [
[
- 'name' => 'name',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'AK' => [],
],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
[
- 'name' => 'body',
- 'in' => 'body',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'labels' => [
- 'type' => 'array',
- 'required' => true,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'key' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'value' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- ],
- ],
- ],
+ 'name' => 'serviceId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'DeleteServiceVersion' => [
'path' => '/v1/services/{serviceId}/versions/{name}',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['delete'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'serviceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'name',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'CreateSource' => [
- 'path' => '/v1/sources',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'DeleteSource' => [
+ 'path' => '/v1/sources/{sourceId}',
+ 'methods' => ['delete'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'sourceId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
],
- 'produces' => [
- 'application/json',
+ ],
+ 'DeployHttpApi' => [
+ 'path' => '/v1/http-apis/{httpApiId}/deploy',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
+ 'name' => 'httpApiId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
'name' => 'body',
'in' => 'body',
'style' => 'json',
@@ -7316,147 +3779,145 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'gatewayId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'type' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'k8sSourceConfig' => [
+ 'routeId' => ['type' => 'string', 'required' => false],
+ 'restApiConfig' => [
'type' => 'object',
'required' => false,
'properties' => [
- 'clusterId' => [
- 'type' => 'string',
+ 'revisionId' => ['type' => 'string', 'required' => false],
+ 'description' => ['type' => 'string', 'required' => false],
+ 'environment' => [
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'environmentId' => ['type' => 'string', 'deprecated' => true, 'required' => false],
+ 'customDomainIds' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
+ ],
+ 'backendScene' => ['type' => 'string', 'deprecated' => true, 'required' => false],
+ 'serviceConfigs' => [
+ 'type' => 'array',
+ 'deprecated' => true,
+ 'required' => false,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'serviceId' => ['type' => 'string', 'required' => false],
+ 'protocol' => ['type' => 'string', 'required' => false],
+ 'port' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'weight' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'version' => ['type' => 'string', 'required' => false],
+ 'match' => ['$ref' => '#/components/schemas/HttpApiBackendMatchConditions', 'required' => false],
+ ],
+ ],
+ ],
+ ],
],
- 'authorizeSecurityGroupRules' => [
+ 'operationIds' => [
+ 'type' => 'array',
+ 'deprecated' => true,
+ 'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
+ ],
+ 'gatewayId' => ['type' => 'string', 'required' => false],
+ 'operationDeployments' => [
'type' => 'array',
'required' => false,
'items' => [
'type' => 'object',
'required' => false,
'properties' => [
- 'securityGroupId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'portRanges' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- 'description' => [
+ 'operationId' => ['type' => 'string', 'required' => false],
+ 'action' => [
'type' => 'string',
'required' => false,
+ 'enum' => ['Publish', 'Unpublish'],
],
],
],
],
],
],
- 'nacosSourceConfig' => [
+ 'httpApiConfig' => [
'type' => 'object',
+ 'deprecated' => true,
'required' => false,
'properties' => [
- 'instanceId' => [
- 'type' => 'string',
+ 'gatewayId' => ['type' => 'string', 'required' => false],
+ 'routeIds' => [
+ 'type' => 'array',
'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
],
],
],
- 'resourceGroupId' => [
- 'type' => 'string',
- 'required' => false,
- ],
],
],
],
],
],
- 'GetSource' => [
- 'path' => '/v1/sources/{sourceId}',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'DeployMcpServer' => [
+ 'path' => '/v1/mcp-servers/{mcpServerId}/deploy',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'sourceId',
+ 'name' => 'mcpServerId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'DeleteSource' => [
- 'path' => '/v1/sources/{sourceId}',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'DescribeRegions' => [
+ 'path' => '/v1/regions',
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/x-www-form-urlencoded', 'application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'sourceId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'language',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'CreateGateway' => [
- 'path' => '/v1/gateways',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ExportHttpApi' => [
+ 'path' => '/v1/http-apis/{httpApiId}/export',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
+ 'name' => 'httpApiId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
'name' => 'body',
'in' => 'body',
'style' => 'json',
@@ -7464,612 +3925,422 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'name' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'chargeType' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'gatewayType' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'spec' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'vpcId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'networkAccessConfig' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'type' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- 'zoneConfig' => [
- 'type' => 'object',
+ 'gatewayId' => ['type' => 'string', 'required' => false],
+ 'operationIds' => [
+ 'type' => 'array',
'required' => false,
- 'properties' => [
- 'selectOption' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'vSwitchId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'zones' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'zoneId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'vSwitchId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- ],
- ],
+ 'items' => ['type' => 'string', 'required' => false],
],
- 'logConfig' => [
+ 'extensionConfig' => [
'type' => 'object',
'required' => false,
'properties' => [
- 'sls' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'enable' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- ],
- ],
+ 'withPlugin' => ['type' => 'boolean', 'required' => false],
+ 'withPolicy' => ['type' => 'boolean', 'required' => false],
+ 'withService' => ['type' => 'boolean', 'required' => false],
+ 'withAuthConfig' => ['type' => 'boolean', 'required' => false],
+ 'withAuthConsumer' => ['type' => 'boolean', 'required' => false],
],
],
- 'resourceGroupId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'tag' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'key' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'value' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- ],
- 'gatewayEdition' => [
- 'type' => 'string',
- 'required' => false,
- ],
],
],
],
],
],
- 'UpdateGatewayName' => [
- 'path' => '/v1/gateways/{gatewayId}/name',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'GetConsumer' => [
+ 'path' => '/v1/consumers/{consumerId}',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'consumerId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
],
- 'produces' => [
- 'application/json',
+ ],
+ 'GetConsumerAuthorizationRule' => [
+ 'path' => '/v1/consumers/{consumerId}/authorization-rules/{consumerAuthorizationRuleId}',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'gatewayId',
+ 'name' => 'consumerAuthorizationRuleId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'name',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'consumerId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'UpdateGatewayFeature' => [
- 'path' => '/v1/gateways/{gatewayId}/gateway-features/{name}',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'GetDashboard' => [
+ 'path' => '/v1/gateways/{gatewayId}/dashboards',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'gatewayId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'pluginClassId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'apiId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'routeId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'source',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'name',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'body',
- 'in' => 'body',
+ 'name' => 'filter',
+ 'in' => 'query',
'style' => 'json',
'schema' => [
'type' => 'object',
'required' => false,
'properties' => [
- 'value' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'routeName' => ['type' => 'string', 'required' => false],
],
],
],
+ [
+ 'name' => 'acceptLanguage',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'upstreamCluster',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'pluginId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
],
],
- 'UpgradeGateway' => [
- 'path' => '/v1/gateways/{gatewayId}/upgrade',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'GetDomain' => [
+ 'path' => '/v1/domains/{domainId}',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'domainId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'withStatistics',
+ 'in' => 'query',
+ 'schema' => ['type' => 'boolean', 'required' => false],
+ ],
],
- 'produces' => [
- 'application/json',
+ ],
+ 'GetEnvironment' => [
+ 'path' => '/v1/environments/{environmentId}',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
- 'deprecated' => false,
+ 'deprecated' => true,
'parameters' => [
[
- 'name' => 'gatewayId',
+ 'name' => 'environmentId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'version',
+ 'name' => 'withVpcInfo',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
+ ],
+ [
+ 'name' => 'withStatistics',
+ 'in' => 'query',
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
],
],
'GetGateway' => [
'path' => '/v1/gateways/{gatewayId}',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'gatewayId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'ListGateways' => [
- 'path' => '/v1/gateways',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'GetGatewayQuotaRule' => [
+ 'path' => '/v1/gateways/{gatewayId}/quota-rules/{ruleId}',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/x-www-form-urlencoded',
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'gatewayId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'pageNumber',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'name' => 'ruleId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'pageSize',
+ 'name' => 'withConsumers',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
[
- 'name' => 'name',
+ 'name' => 'consumerPageNumber',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'deprecated' => true, 'required' => false],
],
[
- 'name' => 'keyword',
+ 'name' => 'consumerPageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'deprecated' => true, 'required' => false],
],
+ ],
+ ],
+ 'GetGatewayQuotaRuleSubjectUsage' => [
+ 'path' => '/v1/gateways/{gatewayId}/quota-rules/{ruleId}/subjects/{subjectId}/usage',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
+ 'security' => [
[
- 'name' => 'gatewayType',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
[
- 'name' => 'resourceGroupId',
+ 'name' => 'gatewayId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'ruleId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'subjectId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'pageNumber',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
- 'name' => 'tag',
+ 'name' => 'pageSize',
'in' => 'query',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'key' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'value' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- 'maxItems' => 20,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
],
],
- 'AddGatewaySecurityGroupRule' => [
- 'path' => '/v1/gateways/{gatewayId}/security-group-rules',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'GetHttpApi' => [
+ 'path' => '/v1/http-apis/{httpApiId}',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'gatewayId',
+ 'name' => 'httpApiId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'body',
- 'in' => 'body',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'securityGroupId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'portRanges' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- 'description' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'DeleteGateway' => [
- 'path' => '/v1/gateways/{gatewayId}',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'GetHttpApiOperation' => [
+ 'path' => '/v1/http-apis/{httpApiId}/operations/{operationId}',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'gatewayId',
+ 'name' => 'httpApiId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'operationId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'DeleteGatewaySecurityGroupRule' => [
- 'path' => '/v1/gateways/{gatewayId}/security-group-rules/{securityGroupRuleId}',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'GetHttpApiRoute' => [
+ 'path' => '/v1/http-apis/{httpApiId}/routes/{routeId}',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'gatewayId',
+ 'name' => 'httpApiId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'securityGroupRuleId',
+ 'name' => 'routeId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'cascadingDelete',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'ListZones' => [
- 'path' => '/v1/zones',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'GetMcpServer' => [
+ 'path' => '/v1/mcp-servers/{mcpServerId}',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
- 'parameters' => [],
- ],
- 'RestartGateway' => [
- 'path' => '/v1/gateways/{gatewayId}/restart',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
+ 'parameters' => [
+ [
+ 'name' => 'mcpServerId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
],
+ ],
+ 'GetPluginAttachment' => [
+ 'path' => '/v1/plugin-attachments/{pluginAttachmentId}',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'gatewayId',
+ 'name' => 'pluginAttachmentId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'ListGatewayFeatures' => [
- 'path' => '/v1/gateways/{gatewayId}/gateway-features',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'GetPluginClass' => [
+ 'path' => '/v1/plugin-classes/{pluginClassId}',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'gatewayId',
+ 'name' => 'pluginClassId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'RemoveConsumerAuthorizationRule' => [
- 'path' => '/v1/authorization-rules/{consumerAuthorizationRuleId}',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'GetPolicy' => [
+ 'path' => '/v2/policies/{policyId}',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -8078,23 +4349,16 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'consumerAuthorizationRuleId',
+ 'name' => 'policyId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'QueryConsumerAuthorizationRules' => [
- 'path' => '/v1/authorization-rules',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'GetPolicyAttachment' => [
+ 'path' => '/v1/policy-attachments/{policyAttachmentId}',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -8103,105 +4367,36 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'apiNameLike',
- '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,
- ],
- ],
- [
- 'name' => 'consumerId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'resourceId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'resourceType',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'environmentId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'groupByApi',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'parentResourceId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'policyAttachmentId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
+ ],
+ ],
+ 'GetResourceOverview' => [
+ 'path' => '/v1/overview/resources',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
+ 'security' => [
[
- 'name' => 'consumerNameLike',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
[
- 'name' => 'resourceTypes',
+ 'name' => 'gatewayType',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'CreateConsumerAuthorizationRules' => [
- 'path' => '/v1/authorization-rules',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'GetSecret' => [
+ 'path' => '/v1/secrets/{secretId}',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -8210,79 +4405,16 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'body',
- 'in' => 'body',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'authorizationRules' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'consumerId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'resourceType' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'resourceIdentifier' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'resourceId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'environmentId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'resources' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- 'parentResourceId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- 'expireMode' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'expireTimestamp' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- ],
- ],
- ],
- ],
- ],
+ 'name' => 'secretId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'BatchDeleteConsumerAuthorizationRule' => [
- 'path' => '/v1/authorization-rules',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'GetSecretValue' => [
+ 'path' => '/v1/secrets/name/{name}/value',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -8291,149 +4423,86 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'consumerAuthorizationRuleIds',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'name',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'DeleteConsumer' => [
- 'path' => '/v1/consumers/{consumerId}',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'GetService' => [
+ 'path' => '/v1/services/{serviceId}',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'consumerId',
+ 'name' => 'serviceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'ListConsumers' => [
- 'path' => '/v1/consumers',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'GetSource' => [
+ 'path' => '/v1/sources/{sourceId}',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'nameLike',
- '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,
- ],
- ],
- [
- 'name' => 'gatewayType',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'sourceId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'DeleteConsumerAuthorizationRule' => [
- 'path' => '/v1/consumers/{consumerId}/authorization-rules/{consumerAuthorizationRuleId}',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'GetTraceConfig' => [
+ 'path' => '/v1/gateways/{gatewayId}/trace',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'consumerAuthorizationRuleId',
+ 'name' => 'gatewayId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'consumerId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'acceptLanguage',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'CreateConsumer' => [
- 'path' => '/v1/consumers',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ImportHttpApi' => [
+ 'path' => '/v1/http-apis/import',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
@@ -8444,51 +4513,45 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'name' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'description' => [
+ 'specContentBase64' => ['type' => 'string', 'required' => false],
+ 'specFileUrl' => ['type' => 'string', 'required' => false],
+ 'name' => ['type' => 'string', 'required' => false],
+ 'description' => ['type' => 'string', 'required' => false],
+ 'versionConfig' => ['$ref' => '#/components/schemas/HttpApiVersionConfig', 'required' => false],
+ 'dryRun' => ['type' => 'boolean', 'required' => false],
+ 'strategy' => [
'type' => 'string',
'required' => false,
+ 'enum' => ['SpecFirst', 'SpecOnly', 'ExistFirst'],
],
- 'jwtIdentityConfig' => [
- '$ref' => '#/components/schemas/JwtIdentityConfig',
- 'required' => false,
- ],
- 'akSkIdentityConfigs' => [
- 'type' => 'array',
+ 'withGatewayExtension' => ['type' => 'boolean', 'required' => false],
+ 'targetHttpApiId' => ['type' => 'string', 'required' => false],
+ 'resourceGroupId' => ['type' => 'string', 'required' => false],
+ 'specOssConfig' => [
+ 'type' => 'object',
'required' => false,
- 'items' => [
- '$ref' => '#/components/schemas/AkSkIdentityConfig',
- 'required' => false,
+ 'properties' => [
+ 'regionId' => ['type' => 'string', 'required' => false],
+ 'bucketName' => ['type' => 'string', 'required' => false],
+ 'objectKey' => ['type' => 'string', 'required' => false],
],
],
- 'apikeyIdentityConfig' => [
- '$ref' => '#/components/schemas/ApiKeyIdentityConfig',
- 'required' => false,
- ],
- 'enable' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- 'gatewayType' => [
- 'type' => 'string',
+ 'deployConfigs' => [
+ 'type' => 'array',
'required' => false,
+ 'items' => ['$ref' => '#/components/schemas/HttpApiDeployConfig', 'required' => false],
],
+ 'mcpRouteId' => ['type' => 'string', 'required' => false],
+ 'gatewayId' => ['type' => 'string', 'required' => false],
],
],
],
],
],
- 'UpdateConsumer' => [
- 'path' => '/v1/consumers/{consumerId}',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'InstallPlugin' => [
+ 'path' => '/v1/plugins/',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -8497,14 +4560,6 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'consumerId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
'name' => 'body',
'in' => 'body',
'style' => 'json',
@@ -8512,43 +4567,21 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'description' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'jwtIdentityConfig' => [
- '$ref' => '#/components/schemas/JwtIdentityConfig',
- 'required' => false,
- ],
- 'akSkIdentityConfigs' => [
+ 'pluginClassId' => ['type' => 'string', 'required' => false],
+ 'gatewayIds' => [
'type' => 'array',
'required' => false,
- 'items' => [
- '$ref' => '#/components/schemas/AkSkIdentityConfig',
- 'required' => false,
- ],
- ],
- 'apikeyIdentityConfig' => [
- '$ref' => '#/components/schemas/ApiKeyIdentityConfig',
- 'required' => false,
- ],
- 'enable' => [
- 'type' => 'boolean',
- 'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
],
],
],
],
],
],
- 'GetConsumer' => [
- 'path' => '/v1/consumers/{consumerId}',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListConsumerAuthorizationRules' => [
+ 'path' => '/v1/consumers/{consumerId}/authorization-rules',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -8557,178 +4590,106 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'consumerId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'apiNameLike',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- ],
- 'CreateConsumerAuthorizationRule' => [
- 'path' => '/v1/consumers/{consumerId}/authorization-rules',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'pageNumber',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
- ],
- 'deprecated' => false,
- 'parameters' => [
[
- 'name' => 'consumerId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'pageSize',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
- 'name' => 'body',
- 'in' => 'body',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'resourceType' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'parentResourceType' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'authorizationResourceInfos' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- '$ref' => '#/components/schemas/AuthorizationResourceInfo',
- 'required' => false,
- ],
- ],
- 'expireMode' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'expireTimestamp' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- ],
- ],
+ 'name' => 'consumerId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'UpdateConsumerAuthorizationRule' => [
- 'path' => '/v1/consumers/{consumerId}/authorization-rules/{consumerAuthorizationRuleId}',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListConsumerQuotaRules' => [
+ 'path' => '/v1/consumers/{consumerId}/quota-rules',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'consumerId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'body',
- 'in' => 'body',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'expireMode' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'expireTimestamp' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- 'authorizationResourceInfos' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- '$ref' => '#/components/schemas/AuthorizationResourceInfo',
- 'required' => false,
- ],
- ],
- ],
- ],
+ 'name' => 'gatewayId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'consumerAuthorizationRuleId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'keyword',
+ '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],
],
],
],
- 'GetConsumerAuthorizationRule' => [
- 'path' => '/v1/consumers/{consumerId}/authorization-rules/{consumerAuthorizationRuleId}',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListConsumers' => [
+ 'path' => '/v1/consumers',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'consumerAuthorizationRuleId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'nameLike',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'consumerId',
- 'in' => 'path',
- '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],
+ ],
+ [
+ 'name' => 'gatewayType',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'ListPolicies' => [
- 'path' => '/v1/policies',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListDomains' => [
+ 'path' => '/v1/domains',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -8737,601 +4698,607 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'withAttachments',
+ 'name' => 'nameLike',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'attachResourceId',
+ 'name' => 'pageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
- 'name' => 'attachResourceType',
+ 'name' => 'pageNumber',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
- 'name' => 'environmentId',
+ 'name' => 'gatewayId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'gatewayId',
+ 'name' => 'domainScope',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'withSystemPolicy',
+ 'name' => 'resourceGroupId',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'gatewayType',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'ListPolicyClasses' => [
- 'path' => '/v1/policy-classes',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListEnvironments' => [
+ 'path' => '/v1/environments',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'deprecated' => false,
+ 'deprecated' => true,
'parameters' => [
[
- 'name' => 'type',
+ 'name' => 'nameLike',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'direction',
+ 'name' => 'aliasLike',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'attachResourceType',
+ 'name' => 'gatewayId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'gatewayNameLike',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'pageNumber',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'pageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
- 'name' => 'attachResourceId',
+ 'name' => 'resourceGroupId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'gatewayId',
+ 'name' => 'gatewayType',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'CreatePolicy' => [
- 'path' => '/v2/policies',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListExternalServices' => [
+ 'path' => '/v1/gateways/{gatewayId}/external-services',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'body',
- 'in' => 'body',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'name' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'className' => [
- 'type' => 'string',
- 'required' => true,
- 'enum' => [
- 'ConcurrencyLimit',
- 'RateLimit',
- 'CircuitBreaker',
- 'IpAccessControl',
- 'Timeout',
- 'Retry',
- 'Cors',
- 'FlowCopy',
- 'HeaderModify',
- 'HttpRewrite',
- 'Fallback',
- 'DirectResponse',
- 'Redirect',
- 'ServiceTls',
- 'ServiceLb',
- 'ServicePortTls',
- 'JWTAuth',
- 'OIDCAuth',
- 'ExternalZAuth',
- 'Waf',
- 'Authentication',
- 'AiFallback',
- 'AiSecurityGuard',
- 'AiCache',
- 'AiTokenRateLimit',
- ],
- ],
- 'config' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'description' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
+ 'name' => 'gatewayId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'sourceType',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'limit',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ ],
+ [
+ 'name' => 'nameLike',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'importableOnly',
+ 'in' => 'query',
+ 'schema' => ['type' => 'boolean', 'required' => false],
+ ],
+ [
+ 'name' => 'paiWorkspaceId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'GetPolicy' => [
- 'path' => '/v2/policies/{policyId}',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListGatewayFeatures' => [
+ 'path' => '/v1/gateways/{gatewayId}/gateway-features',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'policyId',
+ 'name' => 'gatewayId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'UpdatePolicy' => [
- 'path' => '/v2/policies/{policyId}',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListGatewayQuotaRules' => [
+ 'path' => '/v1/gateways/{gatewayId}/quota-rules',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'policyId',
+ 'name' => 'gatewayId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'body',
- 'in' => 'body',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'description' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'config' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'name' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- ],
+ 'name' => 'keyword',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- ],
- 'DeletePolicy' => [
- 'path' => '/v2/policies/{policyId}',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'pageNumber',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
- ],
- 'deprecated' => false,
- 'parameters' => [
[
- 'name' => 'policyId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'pageSize',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ ],
+ [
+ 'name' => 'maxResults',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ ],
+ [
+ 'name' => 'nextToken',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'CreatePolicyAttachment' => [
- 'path' => '/v1/policy-attachments',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListGateways' => [
+ 'path' => '/v1/gateways',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
+ 'consumes' => ['application/x-www-form-urlencoded', 'application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'body',
- 'in' => 'body',
+ 'name' => 'gatewayId',
+ '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],
+ ],
+ [
+ 'name' => 'name',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'keyword',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'gatewayType',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'resourceGroupId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'tag',
+ 'in' => 'query',
'style' => 'json',
'schema' => [
- 'type' => 'object',
+ 'type' => 'array',
'required' => false,
- 'properties' => [
- 'policyId' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'gatewayId' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'environmentId' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'attachResourceId' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'attachResourceType' => [
- 'type' => 'string',
- 'required' => true,
- 'enum' => [
- 'Domain',
- 'Gateway',
- 'GatewayRoute',
- 'GatewayService',
- 'HttpApi',
- 'Operation',
- 'Route',
- 'Service',
- 'ServicePort',
- 'LLMApi',
- ],
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'key' => ['type' => 'string', 'required' => false],
+ 'value' => ['type' => 'string', 'required' => false],
],
],
+ 'maxItems' => 20,
],
],
],
],
- 'GetPolicyAttachment' => [
- 'path' => '/v1/policy-attachments/{policyAttachmentId}',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListHttpApiOperations' => [
+ 'path' => '/v1/http-apis/{httpApiId}/operations',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'policyAttachmentId',
+ 'name' => 'httpApiId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'method',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'pathLike',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'nameLike',
+ '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],
+ ],
+ [
+ 'name' => 'name',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'withConsumerInEnvironmentId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'withConsumerInfoById',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'consumerAuthorizationRuleId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'withPluginAttachmentByPluginId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'forDeploy',
+ 'in' => 'query',
+ 'schema' => ['type' => 'boolean', 'required' => false],
+ ],
+ [
+ 'name' => 'gatewayId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'enableAuth',
+ 'in' => 'query',
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
],
],
- 'DeletePolicyAttachment' => [
- 'path' => '/v1/policy-attachments/{policyAttachmentId}',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListHttpApiRoutes' => [
+ 'path' => '/v1/http-apis/{httpApiId}/routes',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'policyAttachmentId',
+ 'name' => 'httpApiId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ '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],
+ ],
+ [
+ 'name' => 'environmentId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'deployStatuses',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'name',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'nameLike',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'pathLike',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'gatewayId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'withConsumerInfoById',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'consumerAuthorizationRuleId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'withAuthPolicyInfo',
+ 'in' => 'query',
+ 'schema' => ['type' => 'boolean', 'required' => false],
+ ],
+ [
+ 'name' => 'withPluginAttachmentByPluginId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'domainId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'forDeploy',
+ 'in' => 'query',
+ 'schema' => ['type' => 'boolean', 'required' => false],
+ ],
+ [
+ 'name' => 'backendServiceName',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'ListPlugins' => [
- 'path' => '/v1/plugins',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListHttpApis' => [
+ 'path' => '/v1/http-apis',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
+ 'name' => 'keyword',
+ '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],
+ ],
+ [
+ 'name' => 'name',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'types',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
'name' => 'gatewayId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'pluginClassId',
+ 'name' => 'withAuthPolicyInEnvironmentId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'pageNumber',
+ 'name' => 'withConsumerInfoById',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'pageSize',
+ 'name' => 'withEnvironmentInfo',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
[
- 'name' => 'pluginClassName',
+ 'name' => 'withPluginAttachmentByPluginId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'withAttachmentInfo',
+ 'name' => 'resourceGroupId',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'attachResourceId',
+ 'name' => 'withEnvironmentInfoById',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'attachResourceType',
+ 'name' => 'withAuthPolicyList',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
[
- 'name' => 'gatewayType',
+ 'name' => 'withIngressInfo',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
[
- 'name' => 'includeBuiltinAiGateway',
+ 'name' => 'withPolicyConfigs',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
- ],
- ],
- 'CreatePluginAttachment' => [
- 'path' => '/v1/plugin-attachments',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'withAPIsPublishedToEnvironment',
+ 'in' => 'query',
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
- ],
- 'deprecated' => false,
- 'parameters' => [
[
- 'name' => 'body',
- 'in' => 'body',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'pluginId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'pluginConfig' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'attachResourceIds' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- 'attachResourceType' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'environmentId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'gatewayId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'enable' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- ],
- ],
+ 'name' => 'gatewayType',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'GetPluginAttachment' => [
- 'path' => '/v1/plugin-attachments/{pluginAttachmentId}',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListMcpServers' => [
+ 'path' => '/v1/mcp-servers',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'pluginAttachmentId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'gatewayId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'nameLike',
+ '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' => true],
+ ],
+ [
+ 'name' => 'pageSize',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true],
+ ],
+ [
+ 'name' => 'createFromTypes',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'deployStatuses',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'ListPluginAttachments' => [
'path' => '/v1/plugin-attachments',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -9342,87 +5309,54 @@
[
'name' => 'attachResourceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'attachResourceType',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'environmentId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'pluginId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'gatewayId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'pageNumber',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'pageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'attachResourceTypes',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'withParentResource',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
],
],
- 'UpdatePluginAttachment' => [
- 'path' => '/v1/plugin-attachments/{pluginAttachmentId}',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListPluginClasses' => [
+ 'path' => '/v1/plugin-classes',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -9431,75 +5365,66 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'pluginAttachmentId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'nameLike',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'body',
- 'in' => 'body',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'attachResourceIds' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- 'pluginConfig' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'enable' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- ],
- ],
+ 'name' => 'aliasLike',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- ],
- 'DeletePluginAttachment' => [
- 'path' => '/v1/plugin-attachments/{pluginAttachmentId}',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'type',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- 'deprecated' => false,
- 'parameters' => [
[
- 'name' => 'pluginAttachmentId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'source',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'pageSize',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ ],
+ [
+ 'name' => 'pageNumber',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ ],
+ [
+ 'name' => 'gatewayId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'installed',
+ 'in' => 'query',
+ 'schema' => ['type' => 'boolean', 'required' => false],
+ ],
+ [
+ 'name' => 'direction',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'excludeBuiltinAiProxy',
+ 'in' => 'query',
+ 'schema' => ['type' => 'boolean', 'required' => false],
+ ],
+ [
+ 'name' => 'gatewayType',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'InstallPlugin' => [
- 'path' => '/v1/plugins/',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListPlugins' => [
+ 'path' => '/v1/plugins',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -9508,38 +5433,61 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'body',
- 'in' => 'body',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'pluginClassId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'gatewayIds' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- ],
+ 'name' => 'gatewayId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'pluginClassId',
+ '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],
+ ],
+ [
+ 'name' => 'pluginClassName',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'withAttachmentInfo',
+ 'in' => 'query',
+ 'schema' => ['type' => 'boolean', 'required' => false],
+ ],
+ [
+ 'name' => 'attachResourceId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'attachResourceType',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'gatewayType',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'includeBuiltinAiGateway',
+ 'in' => 'query',
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
],
],
- 'UninstallPlugin' => [
- 'path' => '/v1/plugins/{pluginId}',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListPolicies' => [
+ 'path' => '/v1/policies',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -9548,23 +5496,41 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'pluginId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'withAttachments',
+ 'in' => 'query',
+ 'schema' => ['type' => 'boolean', 'required' => false],
+ ],
+ [
+ 'name' => 'attachResourceId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'attachResourceType',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'environmentId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'gatewayId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'withSystemPolicy',
+ 'in' => 'query',
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
],
],
- 'ListSslCerts' => [
- 'path' => '/v1/ssl/certs',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListPolicyClasses' => [
+ 'path' => '/v1/policy-classes',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -9573,235 +5539,161 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'certNameLike',
+ 'name' => 'type',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'domainName',
+ 'name' => 'direction',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'attachResourceType',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'pageNumber',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'pageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ ],
+ [
+ 'name' => 'attachResourceId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'gatewayId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'GetDomain' => [
- 'path' => '/v1/domains/{domainId}',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListSecretReferences' => [
+ 'path' => '/v1/secrets/{secretId}/references',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'domainId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'pageNumber',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
- 'name' => 'withStatistics',
+ 'name' => 'pageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ ],
+ [
+ 'name' => 'secretId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'CreateDomain' => [
- 'path' => '/v1/domains',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListSecrets' => [
+ 'path' => '/v1/secrets',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'body',
- 'in' => 'body',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'name' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'protocol' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'forceHttps' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- 'mTLSEnabled' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- 'certIdentifier' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'caCertIdentifier' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'clientCACert' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'http2Option' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'tlsMax' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'tlsMin' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'resourceGroupId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'tlsCipherSuitesConfig' => [
- '$ref' => '#/components/schemas/TlsCipherSuitesConfig',
- 'required' => false,
- ],
- 'gatewayType' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
+ 'name' => 'nameLike',
+ '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],
+ ],
+ [
+ 'name' => 'gatewayType',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'ListDomains' => [
- 'path' => '/v1/domains',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListServices' => [
+ 'path' => '/v1/services',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'nameLike',
+ 'name' => 'pageNumber',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'pageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
- 'name' => 'pageNumber',
+ 'name' => 'name',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'gatewayId',
+ 'name' => 'sourceType',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'resourceGroupId',
+ 'name' => 'sourceTypes',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'gatewayType',
+ 'name' => 'gatewayId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'resourceGroupId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'DeleteDomain' => [
- 'path' => '/v1/domains/{domainId}',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListSslCerts' => [
+ 'path' => '/v1/ssl/certs',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -9810,339 +5702,269 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'domainId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'certNameLike',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'domainName',
+ '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],
],
],
],
- 'UpdateDomain' => [
- 'path' => '/v1/domains/{domainId}',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListTagResources' => [
+ 'path' => '/v1/tags',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'body',
- 'in' => 'body',
+ 'name' => 'ResourceType',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'ResourceId',
+ 'in' => 'query',
'style' => 'json',
'schema' => [
- 'type' => 'object',
+ 'type' => 'array',
'required' => false,
- 'properties' => [
- 'protocol' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'forceHttps' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- 'mTLSEnabled' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- 'certIdentifier' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'caCertIdentifier' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'clientCACert' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'http2Option' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'tlsMax' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'tlsMin' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'tlsCipherSuitesConfig' => [
- '$ref' => '#/components/schemas/TlsCipherSuitesConfig',
- 'required' => false,
- ],
- ],
+ 'items' => ['type' => 'string', 'required' => false],
],
],
[
- 'name' => 'domainId',
- 'in' => 'path',
+ 'name' => 'Tag',
+ 'in' => 'query',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
- 'required' => true,
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'Key' => ['type' => 'string', 'required' => false],
+ 'Value' => ['type' => 'string', 'required' => false],
+ ],
+ ],
],
],
+ [
+ 'name' => 'NextToken',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
],
],
- 'GetTraceConfig' => [
- 'path' => '/v1/gateways/{gatewayId}/trace',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListZones' => [
+ 'path' => '/v1/zones',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'gatewayId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'acceptLanguage',
+ 'name' => 'gatewayEdition',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'GetDashboard' => [
- 'path' => '/v1/gateways/{gatewayId}/dashboards',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'QueryConsumerAuthorizationRules' => [
+ 'path' => '/v1/authorization-rules',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'gatewayId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'apiNameLike',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'pluginClassId',
+ 'name' => 'pageNumber',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
- 'name' => 'apiId',
+ 'name' => 'pageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
- 'name' => 'routeId',
+ 'name' => 'consumerId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'source',
+ 'name' => 'principalType',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'name',
+ 'name' => 'consumerGroupId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'filter',
+ 'name' => 'resourceId',
'in' => 'query',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'routeName' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'acceptLanguage',
+ 'name' => 'resourceType',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'upstreamCluster',
+ 'name' => 'environmentId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'pluginId',
+ 'name' => 'groupByApi',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
+ ],
+ [
+ 'name' => 'parentResourceId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'consumerNameLike',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'resourceTypes',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'ChangeResourceGroup' => [
- 'path' => '/move-resource-group',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'RemoveConsumerAuthorizationRule' => [
+ 'path' => '/v1/authorization-rules/{consumerAuthorizationRuleId}',
+ 'methods' => ['delete'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'Service',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'consumerAuthorizationRuleId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
],
+ ],
+ ],
+ 'ResetGatewayQuotaRule' => [
+ 'path' => '/v1/gateways/{gatewayId}/quota-rules/{ruleId}/reset',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'security' => [
[
- 'name' => 'ResourceType',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
[
- 'name' => 'ResourceId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'gatewayId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'ResourceGroupId',
- 'in' => 'query',
+ 'name' => 'ruleId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'quotaLimit' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ 'windowAlignment' => ['type' => 'string', 'required' => false],
+ 'periodType' => ['type' => 'string', 'required' => false],
+ 'periodMultiplier' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ 'timezone' => ['type' => 'string', 'required' => false],
+ 'dryRun' => ['type' => 'boolean', 'required' => false],
+ 'overwrite' => ['type' => 'boolean', 'required' => false],
+ 'conflictHash' => ['type' => 'string', 'required' => false],
+ ],
],
],
],
],
- 'GetResourceOverview' => [
- 'path' => '/v1/overview/resources',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'RestartGateway' => [
+ 'path' => '/v1/gateways/{gatewayId}/restart',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'gatewayType',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'gatewayId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'CreateAndAttachPolicy' => [
- 'path' => '/v1/policies',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'SyncMCPServers' => [
+ 'path' => '/v1/mcp-servers/sync-mcp-server',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
@@ -10153,71 +5975,52 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'name' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'className' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'config' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'description' => [
- 'type' => 'string',
+ 'gatewayId' => ['type' => 'string', 'required' => false],
+ 'domainIds' => [
+ 'type' => 'array',
'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
],
- 'attachResourceIds' => [
+ 'sourceId' => ['type' => 'string', 'required' => false],
+ 'namespace' => ['type' => 'string', 'required' => false],
+ 'nacosMcpServers' => [
'type' => 'array',
- 'required' => true,
+ 'required' => false,
'items' => [
- 'type' => 'string',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'instanceId' => ['type' => 'string', 'required' => false],
+ 'exposedUriPath' => ['type' => 'string', 'required' => false],
+ 'mcpServerName' => ['type' => 'string', 'required' => false],
+ 'protocols' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
+ ],
+ 'mcpServerId' => ['type' => 'string', 'required' => false],
+ ],
],
],
- 'attachResourceType' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'environmentId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'gatewayId' => [
- 'type' => 'string',
- 'required' => false,
- ],
],
],
],
],
],
- 'UpdateAndAttachPolicy' => [
- 'path' => '/v1/policies/{policyId}',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'TagResources' => [
+ 'path' => '/v1/tags',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'policyId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
'name' => 'body',
'in' => 'body',
'style' => 'json',
@@ -10225,59 +6028,68 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'name' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'description' => [
- 'type' => 'string',
+ 'resourceType' => ['type' => 'string', 'required' => false],
+ 'resourceId' => [
+ 'type' => 'array',
'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
],
- 'config' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'attachResourceIds' => [
+ 'tag' => [
'type' => 'array',
- 'required' => true,
+ 'required' => false,
'items' => [
- 'type' => 'string',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'key' => ['type' => 'string', 'required' => false],
+ 'value' => ['type' => 'string', 'required' => false],
+ ],
],
],
- 'attachResourceType' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'environmentId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'gatewayId' => [
- 'type' => 'string',
- 'required' => false,
- ],
],
],
],
],
],
- 'CreateEnvironment' => [
- 'path' => '/v1/environments',
- 'methods' => [
- 'post',
+ 'UnDeployMcpServer' => [
+ 'path' => '/v1/mcp-servers/{mcpServerId}/undeploy',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
- 'schemes' => [
- 'https',
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'mcpServerId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
],
+ ],
+ 'UndeployHttpApi' => [
+ 'path' => '/v1/http-apis/{httpApiId}/undeploy',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'deprecated' => true,
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
'parameters' => [
[
+ 'name' => 'httpApiId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
'name' => 'body',
'in' => 'body',
'style' => 'json',
@@ -10285,88 +6097,94 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'name' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'alias' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'description' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'gatewayId' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'resourceGroupId' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'routeId' => ['type' => 'string', 'required' => false],
+ 'environmentId' => ['type' => 'string', 'required' => false],
+ 'operationId' => ['type' => 'string', 'required' => false],
+ 'gatewayId' => ['type' => 'string', 'required' => false],
],
],
],
],
],
- 'GetEnvironment' => [
- 'path' => '/v1/environments/{environmentId}',
- 'methods' => [
- 'get',
+ 'UninstallPlugin' => [
+ 'path' => '/v1/plugins/{pluginId}',
+ 'methods' => ['delete'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
- 'schemes' => [
- 'https',
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'pluginId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
],
+ ],
+ 'UntagResources' => [
+ 'path' => '/v1/tags',
+ 'methods' => ['delete'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'deprecated' => true,
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
'parameters' => [
[
- 'name' => 'environmentId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'ResourceType',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'withVpcInfo',
+ 'name' => 'ResourceId',
'in' => 'query',
+ 'style' => 'json',
'schema' => [
- 'type' => 'boolean',
+ 'type' => 'array',
'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
],
],
[
- 'name' => 'withStatistics',
+ 'name' => 'TagKey',
'in' => 'query',
+ 'style' => 'json',
'schema' => [
- 'type' => 'boolean',
+ 'type' => 'array',
'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
],
],
+ [
+ 'name' => 'All',
+ 'in' => 'query',
+ 'schema' => ['type' => 'boolean', 'required' => false],
+ ],
],
],
- 'UpdateEnvironment' => [
- 'path' => '/v1/environments/{environmentId}',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'UpdateAndAttachPolicy' => [
+ 'path' => '/v1/policies/{policyId}',
+ 'methods' => ['put'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'deprecated' => true,
+ 'deprecated' => false,
'parameters' => [
[
+ 'name' => 'policyId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
'name' => 'body',
'in' => 'body',
'style' => 'json',
@@ -10374,400 +6192,692 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'alias' => [
- 'type' => 'string',
+ 'name' => ['type' => 'string', 'required' => false],
+ 'description' => ['type' => 'string', 'required' => false],
+ 'config' => ['type' => 'string', 'required' => true],
+ 'attachResourceIds' => [
+ 'type' => 'array',
'required' => true,
+ 'items' => ['type' => 'string', 'required' => false],
],
- 'description' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'attachResourceType' => ['type' => 'string', 'required' => true],
+ 'environmentId' => ['type' => 'string', 'required' => false],
+ 'gatewayId' => ['type' => 'string', 'required' => false],
],
],
],
- [
- 'name' => 'environmentId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
],
],
- 'DeleteEnvironment' => [
- 'path' => '/v1/environments/{environmentId}',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'UpdateConsumer' => [
+ 'path' => '/v1/consumers/{consumerId}',
+ 'methods' => ['put'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'deprecated' => true,
+ 'deprecated' => false,
'parameters' => [
[
- 'name' => 'environmentId',
+ 'name' => 'consumerId',
'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
- 'required' => true,
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'description' => ['type' => 'string', 'required' => false],
+ 'jwtIdentityConfig' => ['$ref' => '#/components/schemas/JwtIdentityConfig', 'required' => false],
+ 'akSkIdentityConfigs' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => ['$ref' => '#/components/schemas/AkSkIdentityConfig', 'required' => false],
+ ],
+ 'apikeyIdentityConfig' => ['$ref' => '#/components/schemas/ApiKeyIdentityConfig', 'required' => false],
+ 'enable' => ['type' => 'boolean', 'required' => false],
+ ],
],
],
],
],
- 'ListEnvironments' => [
- 'path' => '/v1/environments',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'UpdateConsumerAuthorizationRule' => [
+ 'path' => '/v1/consumers/{consumerId}/authorization-rules/{consumerAuthorizationRuleId}',
+ 'methods' => ['put'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'deprecated' => true,
+ 'deprecated' => false,
'parameters' => [
[
- 'name' => 'nameLike',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'consumerId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'aliasLike',
- 'in' => 'query',
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'expireMode' => ['type' => 'string', 'required' => false],
+ 'expireTimestamp' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ 'authorizationResourceInfos' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => ['$ref' => '#/components/schemas/AuthorizationResourceInfo', 'required' => false],
+ ],
+ ],
],
],
[
- 'name' => 'gatewayId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'consumerAuthorizationRuleId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ ],
+ ],
+ 'UpdateDomain' => [
+ 'path' => '/v1/domains/{domainId}',
+ 'methods' => ['put'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
[
- 'name' => 'gatewayNameLike',
- 'in' => 'query',
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'domainScope' => ['type' => 'string', 'required' => false],
+ 'protocol' => ['type' => 'string', 'required' => false],
+ 'forceHttps' => ['type' => 'boolean', 'required' => false],
+ 'mTLSEnabled' => ['type' => 'boolean', 'required' => false],
+ 'certIdentifier' => ['type' => 'string', 'required' => false],
+ 'caCertIdentifier' => ['type' => 'string', 'required' => false],
+ 'clientCACert' => ['type' => 'string', 'required' => false],
+ 'http2Option' => ['type' => 'string', 'required' => false],
+ 'tlsMax' => ['type' => 'string', 'required' => false],
+ 'tlsMin' => ['type' => 'string', 'required' => false],
+ 'tlsCipherSuitesConfig' => ['$ref' => '#/components/schemas/TlsCipherSuitesConfig', 'required' => false],
+ ],
],
],
[
- 'name' => 'pageNumber',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'name' => 'domainId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
+ ],
+ ],
+ 'UpdateEnvironment' => [
+ 'path' => '/v1/environments/{environmentId}',
+ 'methods' => ['put'],
+ 'schemes' => ['https'],
+ 'security' => [
[
- 'name' => 'pageSize',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'deprecated' => true,
+ 'parameters' => [
[
- 'name' => 'resourceGroupId',
- 'in' => 'query',
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'alias' => ['type' => 'string', 'required' => true],
+ 'description' => ['type' => 'string', 'required' => false],
+ ],
],
],
[
- 'name' => 'gatewayType',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'environmentId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'ListPluginClasses' => [
- 'path' => '/v1/plugin-classes',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'UpdateGatewayFeature' => [
+ 'path' => '/v1/gateways/{gatewayId}/gateway-features/{name}',
+ 'methods' => ['put'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'nameLike',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'aliasLike',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'gatewayId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'type',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'name',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'source',
- 'in' => 'query',
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'value' => ['type' => 'string', 'required' => false],
+ ],
],
],
+ ],
+ ],
+ 'UpdateGatewayName' => [
+ 'path' => '/v1/gateways/{gatewayId}/name',
+ 'methods' => ['put'],
+ 'schemes' => ['https'],
+ 'security' => [
[
- 'name' => 'pageSize',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => true,
+ 'parameters' => [
[
- 'name' => 'pageNumber',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'name' => 'gatewayId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'gatewayId',
+ 'name' => 'name',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
+ ],
+ ],
+ 'UpdateGatewayQuotaRule' => [
+ 'path' => '/v1/gateways/{gatewayId}/quota-rules/{ruleId}',
+ 'methods' => ['put'],
+ 'schemes' => ['https'],
+ 'security' => [
[
- 'name' => 'installed',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
[
- 'name' => 'direction',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'gatewayId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'excludeBuiltinAiProxy',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'name' => 'ruleId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'gatewayType',
- 'in' => 'query',
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'ruleName' => ['type' => 'string', 'required' => false],
+ 'quotaLimit' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ 'addIds' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
+ ],
+ 'removeIds' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
+ ],
+ 'dryRun' => ['type' => 'boolean', 'required' => false],
+ 'overwrite' => ['type' => 'boolean', 'required' => false],
+ 'conflictHash' => ['type' => 'string', 'required' => false],
+ 'consumerGroupIds' => [
+ 'type' => 'array',
+ 'deprecated' => true,
+ 'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
+ ],
+ ],
],
],
],
],
- 'ListConsumerAuthorizationRules' => [
- 'path' => '/v1/consumers/{consumerId}/authorization-rules',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'UpdateGatewayQuotaRuleStatus' => [
+ 'path' => '/v1/gateways/{gatewayId}/quota-rules/{ruleId}/status',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'apiNameLike',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'gatewayId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'pageNumber',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'name' => 'ruleId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'pageSize',
- 'in' => 'query',
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'clearHistory' => ['type' => 'boolean', 'required' => false],
+ 'enable' => ['type' => 'boolean', 'required' => false],
+ ],
],
],
+ ],
+ ],
+ 'UpdateHttpApi' => [
+ 'path' => '/v1/http-apis/{httpApiId}',
+ 'methods' => ['put'],
+ 'schemes' => ['https'],
+ 'security' => [
[
- 'name' => 'consumerId',
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'httpApiId',
'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'description' => ['type' => 'string', 'required' => false],
+ 'protocols' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => [
+ 'type' => 'string',
+ 'required' => false,
+ 'enum' => ['HTTP', 'HTTPS'],
+ ],
+ ],
+ 'basePath' => ['type' => 'string', 'required' => true],
+ 'versionConfig' => ['$ref' => '#/components/schemas/HttpApiVersionConfig', 'required' => false],
+ 'ingressConfig' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'environmentId' => ['type' => 'string', 'required' => false],
+ 'sourceId' => ['type' => 'string', 'required' => false],
+ 'ingressClass' => ['type' => 'string', 'required' => false],
+ 'watchNamespace' => ['type' => 'string', 'required' => false],
+ 'overrideIngressIp' => ['type' => 'boolean', 'required' => false],
+ ],
+ ],
+ 'aiProtocols' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
+ ],
+ 'agentProtocols' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
+ ],
+ 'deployConfigs' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => ['$ref' => '#/components/schemas/HttpApiDeployConfig', 'required' => false],
+ ],
+ 'enableAuth' => ['type' => 'boolean', 'required' => false],
+ 'authConfig' => ['$ref' => '#/components/schemas/AuthConfig', 'required' => false],
+ 'onlyChangeConfig' => ['type' => 'boolean', 'required' => false],
+ 'removeBasePathOnForward' => ['type' => 'boolean', 'required' => false],
+ 'firstByteTimeout' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ ],
],
],
],
],
- 'GetSecretValue' => [
- 'path' => '/v1/secrets/name/{name}/value',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'UpdateHttpApiOperation' => [
+ 'path' => '/v1/http-apis/{httpApiId}/operations/{operationId}',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'name',
+ 'name' => 'httpApiId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'operationId',
'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'operation' => ['$ref' => '#/components/schemas/HttpApiOperation', 'required' => false],
+ ],
],
],
],
],
- 'DeleteSecret' => [
- 'path' => '/v1/secrets/{secretId}',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'UpdateHttpApiRoute' => [
+ 'path' => '/v1/http-apis/{httpApiId}/routes/{routeId}',
+ 'methods' => ['put'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'secretId',
+ 'name' => 'httpApiId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'routeId',
'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'domainIds' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
+ ],
+ 'match' => ['$ref' => '#/components/schemas/HttpRouteMatch', 'required' => false],
+ 'backendConfig' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'scene' => ['type' => 'string', 'required' => false],
+ 'services' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'serviceId' => ['type' => 'string', 'required' => false],
+ 'protocol' => ['type' => 'string', 'required' => false],
+ 'version' => ['type' => 'string', 'required' => false],
+ 'weight' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'port' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'environmentId' => ['type' => 'string', 'required' => false],
+ 'description' => ['type' => 'string', 'required' => false],
+ 'mcpRouteConfig' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'protocol' => ['type' => 'string', 'required' => false],
+ 'exposedUriPath' => ['type' => 'string', 'required' => false],
+ 'mcpStatisticsEnable' => ['type' => 'boolean', 'required' => false],
+ ],
+ ],
+ 'policyConfigs' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => ['$ref' => '#/components/schemas/HttpApiPolicyConfigs', 'required' => false],
+ ],
+ ],
],
],
],
],
- 'ListSecretReferences' => [
- 'path' => '/v1/secrets/{secretId}/references',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'UpdateMcpServer' => [
+ 'path' => '/v1/mcp-servers/{mcpServerId}',
+ 'methods' => ['put'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'pageNumber',
- 'in' => 'query',
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'description' => ['type' => 'string', 'required' => false],
+ 'domainIds' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
+ ],
+ 'match' => ['$ref' => '#/components/schemas/HttpRouteMatch', 'required' => false],
+ 'backendConfig' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'scene' => ['type' => 'string', 'required' => false],
+ 'services' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'protocol' => ['type' => 'string', 'required' => false],
+ 'port' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'weight' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'serviceId' => ['type' => 'string', 'required' => false],
+ 'version' => ['type' => 'string', 'required' => false],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'exposedUriPath' => ['type' => 'string', 'required' => false],
+ 'assembledSources' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'mcpServerName' => ['type' => 'string', 'required' => false],
+ 'mcpServerId' => ['type' => 'string', 'required' => false],
+ 'tools' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
+ ],
+ ],
+ ],
+ ],
+ 'mcpStatisticsEnable' => ['type' => 'boolean', 'required' => false],
+ 'type' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'enum' => ['RealMCP', 'AssemblyMCP'],
+ ],
+ 'protocol' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'enum' => ['HTTP', 'HTTPS', 'SSE', 'StreamableHTTP'],
+ ],
+ 'createFromType' => ['type' => 'string', 'required' => false],
+ 'grayMcpServerConfigs' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'routeId' => ['type' => 'string', 'required' => false],
+ 'match' => ['$ref' => '#/components/schemas/HttpRouteMatch', 'required' => false],
+ 'backendConfig' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'scene' => ['type' => 'string', 'required' => false],
+ 'services' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'protocol' => ['type' => 'string', 'required' => false],
+ 'port' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'weight' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'serviceId' => ['type' => 'string', 'required' => false],
+ 'version' => ['type' => 'string', 'required' => false],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'mcpServerConfig' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'swaggerConfig' => ['type' => 'string', 'required' => false],
+ 'mcpServerSpec' => ['type' => 'string', 'required' => false],
+ ],
+ ],
+ ],
],
],
[
- 'name' => 'pageSize',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'name' => 'mcpServerId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
],
+ ],
+ ],
+ 'UpdatePluginAttachment' => [
+ 'path' => '/v1/plugin-attachments/{pluginAttachmentId}',
+ 'methods' => ['put'],
+ 'schemes' => ['https'],
+ 'security' => [
[
- 'name' => 'secretId',
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'pluginAttachmentId',
'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'attachResourceIds' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
+ ],
+ 'pluginConfig' => ['type' => 'string', 'required' => false],
+ 'enable' => ['type' => 'boolean', 'required' => false],
+ ],
],
],
],
],
- 'UpdateSecret' => [
- 'path' => '/v1/secrets/{secretId}',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'UpdatePolicy' => [
+ 'path' => '/v2/policies/{policyId}',
+ 'methods' => ['put'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -10776,12 +6886,9 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'secretId',
+ 'name' => 'policyId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -10791,23 +6898,18 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'secretData' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'description' => ['type' => 'string', 'required' => false],
+ 'config' => ['type' => 'string', 'required' => true],
+ 'name' => ['type' => 'string', 'required' => true],
],
],
],
],
],
- 'GetSecret' => [
+ 'UpdateSecret' => [
'path' => '/v1/secrets/{secretId}',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['put'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -10818,35 +6920,41 @@
[
'name' => 'secretId',
'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'secretData' => ['type' => 'string', 'required' => false],
+ ],
],
],
],
],
- 'CreateSecret' => [
- 'path' => '/v1/secrets',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'UpdateService' => [
+ 'path' => '/v1/services/{serviceId}',
+ 'methods' => ['put'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
+ 'name' => 'serviceId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
'name' => 'body',
'in' => 'body',
'style' => 'json',
@@ -10854,193 +6962,168 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'name' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'description' => [
- 'type' => 'string',
+ 'addresses' => [
+ 'type' => 'array',
'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
],
- 'kmsConfig' => [
- '$ref' => '#/components/schemas/KMSConfig',
+ 'healthCheckConfig' => [
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'enable' => ['type' => 'boolean', 'required' => false],
+ 'protocol' => ['type' => 'string', 'required' => false],
+ 'timeout' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'interval' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'healthyThreshold' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'unhealthyThreshold' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'httpPath' => ['type' => 'string', 'required' => false],
+ 'httpHost' => ['type' => 'string', 'required' => false],
+ 'expectedStatuses' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
+ ],
+ ],
],
- 'gatewayType' => [
- 'type' => 'string',
+ 'protocol' => ['type' => 'string', 'required' => false],
+ 'aiServiceConfig' => ['$ref' => '#/components/schemas/AiServiceConfig', 'required' => false],
+ 'agentServiceConfig' => ['$ref' => '#/components/schemas/AgentServiceConfig', 'required' => false],
+ 'modelProviderId' => ['type' => 'string', 'required' => false],
+ 'dnsServers' => [
+ 'type' => 'array',
'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
],
- 'secretSource' => [
- 'type' => 'string',
+ 'ports' => [
+ 'type' => 'array',
'required' => false,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'name' => ['type' => 'string', 'required' => false],
+ 'port' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'protocol' => ['type' => 'string', 'required' => false],
+ ],
+ ],
],
- 'secretData' => [
- 'type' => 'string',
+ 'healthyPanicThreshold' => ['type' => 'number', 'format' => 'float', 'required' => false],
+ 'outlierDetectionConfig' => [
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'enable' => ['type' => 'boolean', 'required' => false],
+ 'baseEjectionTime' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'failurePercentageThreshold' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'failurePercentageMinimumHosts' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'interval' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ ],
],
],
],
],
],
],
- 'ListSecrets' => [
- 'path' => '/v1/secrets',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'UpdateServiceVersion' => [
+ 'path' => '/v1/services/{serviceId}/versions/{name}',
+ 'methods' => ['put'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'nameLike',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'serviceId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'pageNumber',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'name' => 'name',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'pageSize',
- 'in' => 'query',
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'labels' => [
+ 'type' => 'array',
+ 'required' => true,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'key' => ['type' => 'string', 'required' => true],
+ 'value' => ['type' => 'string', 'required' => false],
+ ],
+ ],
+ ],
+ ],
],
],
+ ],
+ ],
+ 'UpgradeGateway' => [
+ 'path' => '/v1/gateways/{gatewayId}/upgrade',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'security' => [
[
- 'name' => 'gatewayType',
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'gatewayId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'version',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
],
'endpoints' => [
- [
- 'regionId' => 'cn-qingdao',
- 'endpoint' => 'apig.cn-qingdao.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing',
- 'endpoint' => 'apig.cn-beijing.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhangjiakou',
- 'endpoint' => 'apig.cn-zhangjiakou.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-wulanchabu',
- 'endpoint' => 'apig.cn-wulanchabu.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou',
- 'endpoint' => 'apig.cn-hangzhou.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai',
- 'endpoint' => 'apig.cn-shanghai.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen',
- 'endpoint' => 'apig.cn-shenzhen.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-heyuan',
- 'endpoint' => 'apig.cn-heyuan.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-guangzhou',
- 'endpoint' => 'apig.cn-guangzhou.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-chengdu',
- 'endpoint' => 'apig.cn-chengdu.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hongkong',
- 'endpoint' => 'apig.cn-hongkong.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-northeast-1',
- 'endpoint' => 'apig.ap-northeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-northeast-2',
- 'endpoint' => 'apig.ap-northeast-2.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-1',
- 'endpoint' => 'apig.ap-southeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-2',
- 'endpoint' => 'apig.ap-southeast-2.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-3',
- 'endpoint' => 'apig.ap-southeast-3.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-5',
- 'endpoint' => 'apig.ap-southeast-5.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-6',
- 'endpoint' => 'apig.ap-southeast-6.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-east-1',
- 'endpoint' => 'apig.us-east-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-west-1',
- 'endpoint' => 'apig.us-west-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'eu-west-1',
- 'endpoint' => 'apig.eu-west-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'eu-central-1',
- 'endpoint' => 'apig.eu-central-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'me-east-1',
- 'endpoint' => 'apig.me-east-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-7',
- 'endpoint' => 'apig.ap-southeast-7.aliyuncs.com',
- ],
- [
- 'regionId' => 'me-central-1',
- 'endpoint' => 'apig.me-central-1.aliyuncs.com',
- ],
+ ['regionId' => 'ap-southeast-2', 'regionName' => '澳大利亚(悉尼)已关停', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'apig.ap-southeast-2.aliyuncs.com', 'endpoint' => 'apig.ap-southeast-2.aliyuncs.com', 'vpc' => ''],
+ ['regionId' => 'ap-southeast-6', 'regionName' => '菲律宾(马尼拉)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'apig.ap-southeast-6.aliyuncs.com', 'endpoint' => 'apig.ap-southeast-6.aliyuncs.com', 'vpc' => ''],
+ ['regionId' => 'ap-southeast-7', 'regionName' => '泰国(曼谷)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'apig.ap-southeast-7.aliyuncs.com', 'endpoint' => 'apig.ap-southeast-7.aliyuncs.com', 'vpc' => ''],
+ ['regionId' => 'cn-guangzhou', 'regionName' => '华南3(广州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'apig.cn-guangzhou.aliyuncs.com', 'endpoint' => 'apig.cn-guangzhou.aliyuncs.com', 'vpc' => ''],
+ ['regionId' => 'cn-heyuan', 'regionName' => '华南2(河源)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'apig.cn-heyuan.aliyuncs.com', 'endpoint' => 'apig.cn-heyuan.aliyuncs.com', 'vpc' => ''],
+ ['regionId' => 'cn-shenzhen', 'regionName' => '华南1(深圳)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'apig.cn-shenzhen.aliyuncs.com', 'endpoint' => 'apig.cn-shenzhen.aliyuncs.com', 'vpc' => 'apig-vpc.cn-shenzhen.aliyuncs.com'],
+ ['regionId' => 'cn-wulanchabu', 'regionName' => '华北6(乌兰察布)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'apig.cn-wulanchabu.aliyuncs.com', 'endpoint' => 'apig.cn-wulanchabu.aliyuncs.com', 'vpc' => 'apig-vpc.cn-wulanchabu.aliyuncs.com'],
+ ['regionId' => 'cn-beijing', 'regionName' => '华北2(北京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'apig.cn-beijing.aliyuncs.com', 'endpoint' => 'apig.cn-beijing.aliyuncs.com', 'vpc' => 'apig-vpc.cn-beijing.aliyuncs.com'],
+ ['regionId' => 'ap-northeast-2', 'regionName' => '韩国(首尔)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'apig.ap-northeast-2.aliyuncs.com', 'endpoint' => 'apig.ap-northeast-2.aliyuncs.com', 'vpc' => 'apig-vpc.ap-northeast-2.aliyuncs.com'],
+ ['regionId' => 'ap-northeast-1', 'regionName' => '日本(东京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'apig.ap-northeast-1.aliyuncs.com', 'endpoint' => 'apig.ap-northeast-1.aliyuncs.com', 'vpc' => 'apig-vpc.ap-northeast-1.aliyuncs.com'],
+ ['regionId' => 'cn-chengdu', 'regionName' => '西南1(成都)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'apig.cn-chengdu.aliyuncs.com', 'endpoint' => 'apig.cn-chengdu.aliyuncs.com', 'vpc' => 'apig-vpc.cn-chengdu.aliyuncs.com'],
+ ['regionId' => 'cn-qingdao', 'regionName' => '华北1(青岛)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'apig.cn-qingdao.aliyuncs.com', 'endpoint' => 'apig.cn-qingdao.aliyuncs.com', 'vpc' => 'apig-vpc.cn-qingdao.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai', 'regionName' => '华东2(上海)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'apig.cn-shanghai.aliyuncs.com', 'endpoint' => 'apig.cn-shanghai.aliyuncs.com', 'vpc' => 'apig-vpc.cn-shanghai.aliyuncs.com'],
+ ['regionId' => 'cn-hongkong', 'regionName' => '中国香港', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'apig.cn-hongkong.aliyuncs.com', 'endpoint' => 'apig.cn-hongkong.aliyuncs.com', 'vpc' => 'apig-vpc.cn-hongkong.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-1', 'regionName' => '新加坡', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'apig.ap-southeast-1.aliyuncs.com', 'endpoint' => 'apig.ap-southeast-1.aliyuncs.com', 'vpc' => 'apig-vpc.ap-southeast-1.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-3', 'regionName' => '马来西亚(吉隆坡)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'apig.ap-southeast-3.aliyuncs.com', 'endpoint' => 'apig.ap-southeast-3.aliyuncs.com', 'vpc' => 'apig-vpc.ap-southeast-3.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-5', 'regionName' => '印度尼西亚(雅加达)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'apig.ap-southeast-5.aliyuncs.com', 'endpoint' => 'apig.ap-southeast-5.aliyuncs.com', 'vpc' => 'apig-vpc.ap-southeast-5.aliyuncs.com'],
+ ['regionId' => 'cn-zhangjiakou', 'regionName' => '华北3(张家口)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'apig.cn-zhangjiakou.aliyuncs.com', 'endpoint' => 'apig.cn-zhangjiakou.aliyuncs.com', 'vpc' => 'apig-vpc.cn-zhangjiakou.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou', 'regionName' => '华东1(杭州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'apig.cn-hangzhou.aliyuncs.com', 'endpoint' => 'apig.cn-hangzhou.aliyuncs.com', 'vpc' => 'apig-vpc.cn-hangzhou.aliyuncs.com'],
+ ['regionId' => 'us-west-1', 'regionName' => '美国(硅谷)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'apig.us-west-1.aliyuncs.com', 'endpoint' => 'apig.us-west-1.aliyuncs.com', 'vpc' => 'apig-vpc.us-west-1.aliyuncs.com'],
+ ['regionId' => 'us-east-1', 'regionName' => '美国(弗吉尼亚)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'apig.us-east-1.aliyuncs.com', 'endpoint' => 'apig.us-east-1.aliyuncs.com', 'vpc' => 'apig-vpc.us-east-1.aliyuncs.com'],
+ ['regionId' => 'eu-central-1', 'regionName' => '德国(法兰克福)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'apig.eu-central-1.aliyuncs.com', 'endpoint' => 'apig.eu-central-1.aliyuncs.com', 'vpc' => 'apig-vpc.eu-central-1.aliyuncs.com'],
+ ['regionId' => 'eu-west-1', 'regionName' => '英国(伦敦)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'apig.eu-west-1.aliyuncs.com', 'endpoint' => 'apig.eu-west-1.aliyuncs.com', 'vpc' => 'apig-vpc.eu-west-1.aliyuncs.com'],
+ ['regionId' => 'me-east-1', 'regionName' => '阿联酋(迪拜)', 'areaId' => 'middleEast', 'areaName' => '中东', 'public' => 'apig.me-east-1.aliyuncs.com', 'endpoint' => 'apig.me-east-1.aliyuncs.com', 'vpc' => 'apig-vpc.me-east-1.aliyuncs.com'],
+ ['regionId' => 'me-central-1', 'regionName' => '沙特(利雅得)', 'areaId' => 'middleEast', 'areaName' => '中东', 'public' => 'apig.me-central-1.aliyuncs.com', 'endpoint' => 'apig.me-central-1.aliyuncs.com', 'vpc' => ''],
],
];