'1.0', 'info' => ['style' => 'ROA', 'product' => 'APIG', 'version' => '2024-03-27'], 'components' => [ 'schemas' => [ 'AgentServiceConfig' => [ 'type' => 'object', 'properties' => [ 'address' => ['type' => 'string', 'required' => true], 'dashScopeConfig' => [ 'type' => 'object', 'properties' => [ 'appCredentials' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'apiKey' => ['type' => 'string'], 'appId' => ['type' => 'string'], ], ], ], ], ], 'enableHealthCheck' => ['type' => 'boolean'], 'provider' => ['type' => 'string', 'required' => true], 'difyConfig' => [ 'type' => 'object', 'properties' => [ 'botType' => ['type' => 'string'], 'apiKey' => ['type' => 'string'], ], ], 'enableOutlierDetection' => ['type' => 'boolean'], 'customConfig' => [ 'type' => 'object', 'properties' => [ 'apiKey' => ['type' => 'string'], 'apiKeyGenerateMode' => ['type' => 'string'], ], ], 'protocols' => [ 'type' => 'array', 'required' => false, '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'], ], ], 'AiFallbackConfig' => [ 'type' => 'object', 'properties' => [ 'onlyRedirectUpstreamCode' => ['type' => 'boolean'], 'serviceConfigs' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'serviceId' => ['type' => 'string'], 'name' => ['type' => 'string'], 'targetModelName' => ['type' => 'string'], 'passThroughModelName' => ['type' => 'boolean'], ], ], ], ], ], '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'], ], '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'], ], 'searchEngineConfig' => ['$ref' => '#/components/schemas/AiNetworkConfigSearchEngine'], 'searchRewrite' => [ 'type' => 'object', 'properties' => [ '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'], ], ], ], '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'], ], ], ], 'riskConfig' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'type' => ['type' => 'string'], 'level' => ['type' => 'string'], 'consumerRules' => [ 'type' => 'object', 'properties' => [ 'pattern' => ['type' => 'string'], 'matchType' => ['type' => 'string'], ], ], ], ], ], ], ], 'AiServiceConfig' => [ 'type' => 'object', 'properties' => [ 'provider' => ['type' => 'string'], 'address' => ['type' => 'string'], 'enableHealthCheck' => ['type' => 'boolean'], 'paiEASServiceConfig' => [ 'type' => 'object', 'properties' => [ 'workspaceId' => ['type' => 'string'], 'serviceId' => ['type' => 'string'], 'serviceName' => ['type' => 'string'], 'endpointType' => ['type' => 'string'], ], ], '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'], 'geminiSafetySetting' => [ 'type' => 'object', 'additionalProperties' => ['type' => 'string'], ], 'vertexTokenRefreshAhead' => ['type' => 'integer', 'format' => 'int32'], ], ], 'protocols' => [ 'type' => 'array', 'items' => ['type' => 'string'], ], 'apiKeys' => [ 'type' => 'array', 'items' => ['type' => 'string'], ], 'compatibleProtocols' => [ 'type' => 'array', 'items' => ['type' => 'string'], ], ], ], 'AiStatisticsConfig' => [ 'type' => 'object', 'properties' => [ 'logRequestContent' => ['type' => 'boolean'], 'logResponseContent' => ['type' => 'boolean'], 'pathFieldConfigs' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'path' => ['type' => 'string'], 'fieldPaths' => [ 'type' => 'object', 'additionalProperties' => ['$ref' => '#/components/schemas/AiStatisticsPathField'], ], ], ], ], ], ], 'AiStatisticsPathField' => [ 'type' => 'object', 'properties' => [ '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'], ], 'globalRules' => [ 'type' => 'array', 'items' => ['$ref' => '#/components/schemas/AiTokenRateLimitConfigRule'], ], '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'], ], ], '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'], 'apikeySource' => [ 'type' => 'object', 'properties' => [ 'source' => ['type' => 'string'], 'value' => ['type' => 'string'], ], ], 'credentials' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'generateMode' => ['type' => 'string'], 'apikey' => ['type' => 'string'], ], ], ], ], ], 'ApiRouteConflictInfo' => [ 'type' => 'object', 'properties' => [ 'domainInfo' => [ 'type' => 'object', 'properties' => [ 'domainId' => ['type' => 'string'], 'name' => ['type' => 'string'], ], ], 'conflicts' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'resourceType' => ['type' => 'string'], 'resourceId' => ['type' => 'string'], 'resourceName' => ['type' => 'string'], 'environmentInfo' => [ 'type' => 'object', 'properties' => [ 'environmentId' => ['type' => 'string'], 'name' => ['type' => 'string'], ], ], 'details' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'level' => ['type' => 'string'], 'conflictingMatch' => [ 'type' => 'object', 'properties' => [ 'operationInfo' => [ 'type' => 'object', 'properties' => [ 'operationId' => ['type' => 'string'], 'name' => ['type' => 'string'], ], ], 'match' => ['$ref' => '#/components/schemas/HttpRouteMatch'], ], ], 'detectedMatch' => [ 'type' => 'object', 'properties' => [ 'operationInfo' => [ 'type' => 'object', 'properties' => [ 'operationId' => ['type' => 'string'], 'name' => ['type' => 'string'], ], ], 'match' => ['$ref' => '#/components/schemas/HttpRouteMatch'], ], ], ], ], ], 'routeInfo' => [ 'type' => 'object', 'properties' => [ 'routeId' => ['type' => 'string'], 'name' => ['type' => 'string'], ], ], ], ], ], ], ], 'Attachment' => [ 'type' => 'object', 'properties' => [ 'policyAttachmentId' => ['type' => 'string'], 'attachResourceId' => ['type' => 'string'], 'attachResourceType' => ['type' => 'string'], 'environmentId' => ['type' => 'string'], 'gatewayId' => ['type' => 'string'], 'attachResourceIds' => [ 'type' => 'array', 'items' => ['type' => 'string'], ], 'attachResourceParentIds' => [ 'type' => 'array', 'items' => ['type' => 'string'], ], ], ], 'AuthConfig' => [ 'type' => 'object', 'properties' => [ 'authType' => ['type' => 'string'], 'authMode' => ['type' => 'string'], ], ], 'AuthorizationResourceInfo' => [ 'type' => 'object', 'properties' => [ 'resourceId' => ['type' => 'string'], 'parentResourceId' => ['type' => 'string'], 'environmentId' => ['type' => 'string'], ], ], 'Backend' => [ 'type' => 'object', 'properties' => [ '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'], ], ], ], ], ], 'ConsumerGroupInfo' => [ 'type' => 'object', 'properties' => [ 'consumerGroupId' => ['type' => 'string'], 'name' => ['type' => 'string'], 'gatewayType' => ['type' => 'string'], ], ], 'ConsumerInfo' => [ 'type' => 'object', 'properties' => [ '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'], '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'], 'subDomainInfos' => [ 'type' => 'array', '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'], 'vpcInfo' => [ 'type' => 'object', 'properties' => [ 'vpcId' => ['type' => 'string'], 'name' => ['type' => 'string'], ], ], 'engineVersion' => ['type' => 'string'], 'gatewayEdition' => ['type' => 'string'], ], ], 'GatewayLogConfig' => [ 'type' => 'object', 'properties' => [ 'slsConfig' => [ 'type' => 'object', 'properties' => [ 'enable' => ['type' => 'boolean'], ], ], ], ], 'HiMarketAgentConfig' => [ 'type' => 'object', 'properties' => [ 'agentAPIConfig' => [ 'type' => 'object', 'properties' => [ 'agentProtocols' => [ 'type' => 'array', 'items' => ['type' => 'string'], ], 'routes' => [ 'type' => 'array', 'items' => ['$ref' => '#/components/schemas/HiMarketHttpRoute'], ], ], ], ], ], 'HiMarketApiKeyConfig' => [ 'type' => 'object', 'properties' => [ 'key' => ['type' => 'string'], 'source' => ['type' => 'string'], 'credentials' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'apiKey' => ['type' => 'string'], 'mode' => ['type' => 'string'], ], ], ], ], ], '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' => [ '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'], ], ], 'headers' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'name' => ['type' => 'string'], 'type' => ['type' => 'string'], 'value' => ['type' => 'string'], 'caseSensitive' => ['type' => 'boolean'], ], ], ], 'queryParams' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'name' => ['type' => 'string'], 'type' => ['type' => 'string'], 'value' => ['type' => 'string'], 'caseSensitive' => ['type' => 'boolean'], ], ], ], 'modelMatches' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'name' => ['type' => 'string'], 'type' => ['type' => 'string'], 'value' => ['type' => 'string'], 'caseSensitive' => ['type' => 'boolean'], ], ], ], ], ], 'builtin' => ['type' => 'boolean'], 'domains' => [ 'type' => 'array', 'items' => ['$ref' => '#/components/schemas/HiMarketDomain'], ], ], ], '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'], ], ], ], 'meta' => [ 'type' => 'object', 'properties' => [ 'protocol' => ['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'], ], ], ], ], ], 'HiMarketModelFeature' => [ 'type' => 'object', 'properties' => [ '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'], ], ], 'identityMapping' => [ 'type' => 'object', 'properties' => [ 'userIdField' => ['type' => 'string'], 'userNameField' => ['type' => 'string'], 'emailField' => ['type' => 'string'], 'customFields' => [ 'type' => 'object', 'additionalProperties' => ['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'], ], ], ], ], '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'], 'conditions' => [ 'type' => 'array', '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'], 'customDomainIds' => [ 'type' => 'array', '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'], 'observabilityRouteConfig' => [ 'type' => 'object', 'properties' => [ 'mode' => ['type' => 'string'], 'rateLimit' => ['type' => 'number', 'format' => 'float'], 'queueSize' => ['type' => 'integer', 'format' => 'int32'], ], ], ], ], ], 'policyConfigs' => [ 'type' => 'array', 'items' => ['$ref' => '#/components/schemas/HttpApiPolicyConfigs'], ], 'customDomainInfos' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'domainId' => ['type' => 'string'], 'name' => ['type' => 'string'], 'protocol' => ['type' => 'string'], ], ], ], 'envDomainInfos' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'domainId' => ['type' => 'string'], 'name' => ['type' => 'string'], 'protocol' => ['type' => 'string'], ], ], ], 'subDomains' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'domainId' => ['type' => 'string'], 'name' => ['type' => 'string'], 'protocol' => ['type' => 'string'], 'networkType' => ['type' => 'string'], ], ], ], 'builtinRouteNames' => [ 'type' => 'array', 'items' => ['type' => 'string'], ], ], ], 'HttpApiDomainInfo' => [ 'type' => 'object', 'properties' => [ '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'], ], ], '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' => [], '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'], ], ], 'HttpApiPolicyConfigs' => [ 'type' => 'object', 'properties' => [ 'type' => ['type' => 'string'], 'enable' => ['type' => 'boolean'], 'semanticRouterConfig' => [ 'type' => 'object', 'properties' => [ 'timeoutMillisecond' => ['type' => 'integer', 'format' => 'int32'], ], ], 'aiFallbackConfig' => [ '$ref' => '#/components/schemas/AiFallbackConfig', 'type' => 'object', 'properties' => [ 'serviceConfigs' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'serviceId' => ['type' => 'string'], 'name' => ['type' => 'string'], 'targetModelName' => ['type' => 'string'], 'passThroughModelName' => ['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'], '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'], 'pluginStatus' => [ 'type' => 'object', 'properties' => [ 'errorLogs' => [ 'type' => 'object', 'additionalProperties' => ['type' => 'string'], ], 'serviceHealthy' => ['type' => 'boolean'], 'pluginId' => ['type' => 'string'], ], ], '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' => [ '$ref' => '#/components/schemas/AiTokenRateLimitConfig', 'type' => 'object', 'properties' => [ 'rules' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'limitType' => ['type' => 'string'], 'matchKey' => ['type' => 'string'], 'matchType' => ['type' => 'string'], 'matchValue' => ['type' => 'string'], 'limitMode' => ['type' => 'string'], 'limitValue' => ['type' => 'string'], ], ], ], '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'], ], ], ], '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'], ], ], 'pluginStatus' => [ 'type' => 'object', 'properties' => [ 'errorLogs' => [ 'type' => 'object', 'additionalProperties' => ['type' => 'string'], ], 'serviceHealthy' => ['type' => 'boolean'], 'pluginId' => ['type' => 'string'], ], ], ], ], 'aiCacheConfig' => [ '$ref' => '#/components/schemas/AiCacheConfig', 'type' => 'object', 'properties' => [ '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'], ], ], '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' => [ 'type' => 'object', 'properties' => [ 'errorLogs' => [ 'type' => 'object', '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'], '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'], 'optionArgs' => [ 'type' => 'object', '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'], 'optionArgs' => [ 'type' => 'object', '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'], ], ], 'pluginStatus' => [ 'type' => 'object', 'properties' => [ 'errorLogs' => [ 'type' => 'object', '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'], ], ], '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' => [ 'type' => 'object', 'properties' => [ 'errorLogs' => [ 'type' => 'object', 'additionalProperties' => ['type' => 'string'], ], 'serviceHealthy' => ['type' => 'boolean'], 'pluginId' => ['type' => 'string'], ], ], ], ], 'aiStatisticsConfig' => [ '$ref' => '#/components/schemas/AiStatisticsConfig', 'type' => 'object', 'properties' => [ 'logRequestContent' => ['type' => 'boolean'], 'logResponseContent' => ['type' => 'boolean'], ], ], ], ], 'HttpApiPublishRevisionInfo' => [ 'type' => 'object', 'properties' => [ 'revisionId' => ['type' => 'string'], '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' => ['$ref' => '#/components/schemas/HttpApiDomainInfo'], ], 'customDomains' => [ 'type' => 'array', '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'], ], ], ], 'dnsConfigs' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'dnsList' => [ 'type' => 'array', 'items' => ['type' => 'string'], ], 'weight' => ['type' => 'integer', 'format' => 'int32'], 'match' => ['$ref' => '#/components/schemas/HttpApiBackendMatchConditions'], ], ], ], 'vipConfigs' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'endpoints' => [ 'type' => 'array', 'items' => ['type' => 'string'], ], 'weight' => ['type' => 'integer', 'format' => 'int32'], 'match' => ['$ref' => '#/components/schemas/HttpApiBackendMatchConditions'], ], ], ], 'cloudProductConfig' => [ 'type' => 'object', 'properties' => [ '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'], ], ], ], 'containerServiceConfigs' => [ 'type' => 'array', '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'], ], ], ], 'mseNacosConfigs' => [ 'type' => 'array', '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'], ], ], ], ], ], 'operations' => [ 'type' => 'array', 'items' => ['$ref' => '#/components/schemas/HttpApiOperationInfo'], ], 'createTimestamp' => ['type' => 'integer', 'format' => 'int64'], 'isCurrentVersion' => ['type' => 'boolean'], ], ], 'HttpApiRequestContract' => [ 'type' => 'object', 'properties' => [ 'headerParameters' => [ 'type' => 'array', 'items' => ['$ref' => '#/components/schemas/HttpApiParameter'], ], 'queryParameters' => [ 'type' => 'array', 'items' => ['$ref' => '#/components/schemas/HttpApiParameter'], ], 'pathParameters' => [ 'type' => 'array', 'items' => ['$ref' => '#/components/schemas/HttpApiParameter'], ], 'body' => [ 'type' => 'object', 'properties' => [ 'description' => ['type' => 'string'], 'example' => ['type' => 'string'], 'contentType' => ['type' => 'string'], 'jsonSchema' => ['type' => 'string'], ], ], ], ], 'HttpApiResponseContract' => [ 'type' => 'object', 'properties' => [ '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'], ], ], ], ], ], 'HttpApiVersionConfig' => [ 'type' => 'object', 'properties' => [ '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'], ], ], 'HttpApiVersionSetContract' => [ 'type' => 'object', 'properties' => [ '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'], 'path' => [ 'type' => 'object', 'properties' => [ 'type' => ['type' => 'string'], 'value' => ['type' => 'string'], ], ], 'headers' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'type' => ['type' => 'string'], 'name' => ['type' => 'string'], 'value' => ['type' => 'string'], ], ], ], 'methods' => [ 'type' => 'array', 'items' => ['type' => 'string'], ], 'queryParams' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'type' => ['type' => 'string'], 'name' => ['type' => 'string'], 'value' => ['type' => 'string'], ], ], ], ], ], 'JwtIdentityConfig' => [ 'type' => 'object', 'properties' => [ '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', 'required' => false], 'key' => ['type' => 'string', 'required' => false], 'prefix' => ['type' => 'string', 'required' => false], 'pass' => ['type' => 'boolean', 'required' => false], ], ], 'jwtPayloadConfig' => [ 'type' => 'object', 'properties' => [ '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], ], ], ], ], ], 'KMSConfig' => [ 'type' => 'object', 'properties' => [ 'kmsInstanceId' => ['type' => 'string'], 'kmsKeyId' => ['type' => 'string'], ], ], 'LabelDetail' => [ 'type' => 'object', 'properties' => [ 'key' => ['type' => 'string'], 'values' => [ 'type' => 'array', 'items' => ['type' => 'string'], ], ], ], 'ParentResourceInfo' => [ 'type' => 'object', 'properties' => [ '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'], ], ], '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'], 'attachableResourceTypes' => [ 'type' => 'array', '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'], ], ], 'PolicyInfo' => [ 'type' => 'object', 'properties' => [ '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'], ], ], 'ResourceInfo' => [ 'type' => 'object', 'properties' => [ 'resourceType' => ['type' => 'string'], 'resourceId' => ['type' => 'string'], 'resourceName' => ['type' => 'string'], 'resourceVersion' => ['type' => 'string'], ], ], 'ResourceStatistic' => [ 'type' => 'object', 'properties' => [ 'resourceType' => ['type' => 'string'], 'resourceCount' => ['type' => 'integer', 'format' => 'int32'], ], ], 'RiskCheckResults' => [ 'type' => 'object', 'properties' => [ 'gatewayId' => ['type' => 'string'], 'metadata' => [ 'type' => 'object', 'properties' => [ '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'], 'riskLevel' => [ 'type' => 'string', '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'], 'riskLevel' => [ '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'], ], ], ], ], ], ], 'Service' => [ 'type' => 'object', 'properties' => [ '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'], ], 'ports' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'port' => ['type' => 'integer', 'format' => 'int32'], 'name' => ['type' => 'string'], 'protocol' => ['type' => 'string'], ], ], ], 'unhealthyEndpoints' => [ 'type' => 'array', 'items' => ['type' => 'string'], ], 'outlierEndpoints' => [ 'type' => 'array', 'items' => ['type' => 'string'], ], 'labelDetails' => [ 'type' => 'array', 'items' => ['$ref' => '#/components/schemas/LabelDetail'], ], 'runtimeDetailStatus' => ['type' => 'string'], 'runtimeDetailErrorCode' => ['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'], ], ], ], ], ], ], ], ], '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'], ], ], 'ServiceInfo' => [ 'type' => 'object', 'properties' => [ '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'], ], ], ], ], ], ], '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'], ], ], 'SubDomainInfo' => [ 'type' => 'object', 'properties' => [ 'domainId' => ['type' => 'string'], 'name' => ['type' => 'string'], 'protocol' => ['type' => 'string'], 'networkType' => ['type' => 'string'], ], ], 'TlsCipherSuitesConfig' => [ 'type' => 'object', 'properties' => [ 'configType' => ['type' => 'string'], 'tlsCipherSuite' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'name' => ['type' => 'string'], 'supportVersions' => [ 'type' => 'array', 'items' => ['type' => 'string'], ], ], ], ], ], ], 'TransportCertificateInfo' => [ 'type' => 'object', 'properties' => [ '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' => [ 'AddGatewayQuotaRule' => [ 'path' => '/v1/gateways/{gatewayId}/quota-rules', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'gatewayId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'ruleName' => ['type' => 'string', 'required' => true], 'quotaDimension' => [ 'type' => 'string', 'required' => true, 'enum' => ['token', 'credit'], ], 'quotaLimit' => ['type' => 'integer', 'format' => 'int64', 'required' => true], 'windowAlignment' => ['type' => 'string', 'required' => false], 'periodType' => [ 'type' => 'string', 'required' => true, 'enum' => ['day', 'week', 'month'], ], 'periodMultiplier' => ['type' => 'integer', 'format' => 'int64', 'required' => false], 'timezone' => ['type' => 'string', 'required' => false], 'consumerGroupIds' => [ 'type' => 'array', 'deprecated' => true, 'required' => false, 'items' => ['type' => 'string', 'required' => false], ], '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], ], ], ], ], ], 'AddGatewaySecurityGroupRule' => [ 'path' => '/v1/gateways/{gatewayId}/security-group-rules', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'gatewayId', '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], ], ], ], ], ], 'BatchDeleteConsumerAuthorizationRule' => [ 'path' => '/v1/authorization-rules', 'methods' => ['delete'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], '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'], '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], ], ], ], 'CreateAiModelProvider' => [ 'path' => '/v1/ai-model-providers', 'methods' => ['post'], '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' => [ 'gatewayId' => ['type' => 'string', 'required' => true], 'provider' => ['type' => 'string', 'required' => true], 'displayName' => ['type' => 'string', 'required' => true], 'serviceIds' => [ 'type' => 'array', 'required' => false, 'items' => ['type' => 'string', 'required' => false], ], ], ], ], ], ], 'CreateAndAttachPolicy' => [ 'path' => '/v1/policies', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'name' => ['type' => 'string', 'required' => false], 'className' => ['type' => 'string', 'required' => true], 'config' => ['type' => 'string', 'required' => true], 'description' => ['type' => 'string', 'required' => false], 'attachResourceIds' => [ 'type' => 'array', 'required' => true, 'items' => ['type' => 'string', 'required' => false], ], 'attachResourceType' => ['type' => 'string', 'required' => true], 'environmentId' => ['type' => 'string', 'required' => false], 'gatewayId' => ['type' => 'string', 'required' => false], ], ], ], ], ], 'CreateConsumer' => [ 'path' => '/v1/consumers', 'methods' => ['post'], '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' => 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], ], ], ], ], ], 'CreateConsumerAuthorizationRule' => [ 'path' => '/v1/consumers/{consumerId}/authorization-rules', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'consumerId', 'in' => 'path', 'schema' => ['type' => 'string', '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], ], ], ], ], ], 'CreateConsumerAuthorizationRules' => [ 'path' => '/v1/authorization-rules', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], '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' => [ '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], ], ], ], ], ], ], ], ], 'CreateDomain' => [ 'path' => '/v1/domains', 'methods' => ['post'], '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], '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], ], ], ], ], ], 'CreateEnvironment' => [ 'path' => '/v1/environments', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => true, 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ '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], ], ], ], ], ], 'CreateGateway' => [ 'path' => '/v1/gateways', 'methods' => ['post'], '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' => 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], ], ], ], ], ], 'CreateHttpApi' => [ 'path' => '/v1/http-apis', 'methods' => ['post'], '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], '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], ], ], ], ], ], 'CreateHttpApiOperation' => [ 'path' => '/v1/http-apis/{httpApiId}/operations', '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', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'operations' => [ 'type' => 'array', 'required' => false, 'items' => ['$ref' => '#/components/schemas/HttpApiOperation', 'required' => false], ], ], ], ], ], ], 'CreateHttpApiRoute' => [ 'path' => '/v1/http-apis/{httpApiId}/routes', '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', 'schema' => [ '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' => [ 'type' => 'array', 'required' => false, 'items' => ['$ref' => '#/components/schemas/HttpApiDeployConfig', '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], ], ], ], ], ], ], 'CreateMcpServer' => [ 'path' => '/v1/mcp-servers', 'methods' => ['post'], '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' => [ 'gatewayId' => ['type' => 'string', 'required' => true], 'name' => ['type' => 'string', 'required' => true], 'description' => ['type' => 'string', 'required' => false], 'type' => [ 'type' => 'string', 'required' => true, 'enum' => ['RealMCP', 'AssemblyMCP'], ], '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], ], ], ], ], ], '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' => [ '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], ], ], ], ], ], ], ], 'CreatePluginAttachment' => [ 'path' => '/v1/plugin-attachments', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], '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], ], ], ], ], ], 'CreatePluginClass' => [ 'path' => '/v1/plugin-classes', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ '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], ], ], ], ], ], 'CreatePolicy' => [ 'path' => '/v2/policies', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], '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], ], ], ], ], ], 'CreatePolicyAttachment' => [ 'path' => '/v1/policy-attachments', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ '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'], ], ], ], ], ], ], 'CreateSecret' => [ 'path' => '/v1/secrets', 'methods' => ['post'], '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' => 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], ], ], ], ], ], 'CreateService' => [ 'path' => '/v1/services', 'methods' => ['post'], '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' => [ '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], 'modelProviderId' => ['type' => 'string', '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' => 'clientToken', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'CreateServiceVersion' => [ 'path' => '/v1/services/{serviceId}/versions', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'serviceId', '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], ], ], ], ], ], ], ], ], 'CreateSource' => [ 'path' => '/v1/sources', 'methods' => ['post'], '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' => [ 'gatewayId' => ['type' => 'string', 'required' => false], 'type' => ['type' => 'string', 'required' => false], 'k8sSourceConfig' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'clusterId' => ['type' => 'string', 'required' => false], 'authorizeSecurityGroupRules' => [ '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' => ['type' => 'string', 'required' => false], ], ], ], ], ], 'nacosSourceConfig' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'instanceId' => ['type' => 'string', 'required' => false], ], ], 'resourceGroupId' => ['type' => 'string', 'required' => false], ], ], ], ], ], 'DeleteConsumer' => [ 'path' => '/v1/consumers/{consumerId}', 'methods' => ['delete'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'consumerId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'DeleteConsumerAuthorizationRule' => [ 'path' => '/v1/consumers/{consumerId}/authorization-rules/{consumerAuthorizationRuleId}', 'methods' => ['delete'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'consumerAuthorizationRuleId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'consumerId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'DeleteDomain' => [ 'path' => '/v1/domains/{domainId}', 'methods' => ['delete'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'domainId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'DeleteEnvironment' => [ 'path' => '/v1/environments/{environmentId}', 'methods' => ['delete'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => true, 'parameters' => [ [ 'name' => 'environmentId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'DeleteGateway' => [ 'path' => '/v1/gateways/{gatewayId}', 'methods' => ['delete'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'gatewayId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'DeleteGatewayQuotaRule' => [ 'path' => '/v1/gateways/{gatewayId}/quota-rules/{ruleId}', 'methods' => ['delete'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'gatewayId', 'in' => 'path', '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' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'gatewayId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'securityGroupRuleId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'cascadingDelete', 'in' => 'query', 'schema' => ['type' => 'boolean', 'required' => false], ], ], ], 'DeleteHttpApi' => [ 'path' => '/v1/http-apis/{httpApiId}', 'methods' => ['delete'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'httpApiId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'DeleteHttpApiOperation' => [ 'path' => '/v1/http-apis/{httpApiId}/operations/{operationId}', 'methods' => ['delete'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], '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], ], ], ], 'DeleteHttpApiRoute' => [ 'path' => '/v1/http-apis/{httpApiId}/routes/{routeId}', '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', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'DeleteMcpServer' => [ 'path' => '/v1/mcp-servers/{mcpServerId}', 'methods' => ['delete'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'mcpServerId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'DeletePluginAttachment' => [ 'path' => '/v1/plugin-attachments/{pluginAttachmentId}', 'methods' => ['delete'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'pluginAttachmentId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'DeletePluginClass' => [ 'path' => '/v1/plugin-classes/{pluginClassId}', 'methods' => ['delete'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'pluginClassId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'DeletePolicy' => [ 'path' => '/v2/policies/{policyId}', 'methods' => ['delete'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'policyId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'DeletePolicyAttachment' => [ 'path' => '/v1/policy-attachments/{policyAttachmentId}', 'methods' => ['delete'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'policyAttachmentId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'DeleteSecret' => [ 'path' => '/v1/secrets/{secretId}', 'methods' => ['delete'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'secretId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'DeleteService' => [ 'path' => '/v1/services/{serviceId}', 'methods' => ['delete'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'serviceId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'DeleteServiceVersion' => [ 'path' => '/v1/services/{serviceId}/versions/{name}', 'methods' => ['delete'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'serviceId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'name', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'DeleteSource' => [ 'path' => '/v1/sources/{sourceId}', 'methods' => ['delete'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'sourceId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], ], ], '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', 'schema' => [ '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, 'required' => false, 'properties' => [ 'gatewayId' => ['type' => 'string', 'required' => false], 'routeIds' => [ 'type' => 'array', 'required' => false, 'items' => ['type' => 'string', 'required' => false], ], ], ], ], ], ], ], ], 'DeployMcpServer' => [ 'path' => '/v1/mcp-servers/{mcpServerId}/deploy', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'mcpServerId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'DescribeRegions' => [ 'path' => '/v1/regions', 'methods' => ['get', 'post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/x-www-form-urlencoded', 'application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'language', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'ExportHttpApi' => [ 'path' => '/v1/http-apis/{httpApiId}/export', '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', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'gatewayId' => ['type' => 'string', 'required' => false], 'operationIds' => [ 'type' => 'array', 'required' => false, 'items' => ['type' => 'string', 'required' => false], ], 'extensionConfig' => [ 'type' => 'object', 'required' => false, 'properties' => [ '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], ], ], ], ], ], ], ], 'GetConsumer' => [ 'path' => '/v1/consumers/{consumerId}', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'consumerId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'GetConsumerAuthorizationRule' => [ 'path' => '/v1/consumers/{consumerId}/authorization-rules/{consumerAuthorizationRuleId}', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'consumerAuthorizationRuleId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'consumerId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'GetDashboard' => [ 'path' => '/v1/gateways/{gatewayId}/dashboards', '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' => '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' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'filter', 'in' => 'query', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ '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], ], ], ], 'GetDomain' => [ 'path' => '/v1/domains/{domainId}', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'domainId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'withStatistics', 'in' => 'query', 'schema' => ['type' => 'boolean', 'required' => false], ], ], ], 'GetEnvironment' => [ 'path' => '/v1/environments/{environmentId}', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => true, 'parameters' => [ [ 'name' => 'environmentId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'withVpcInfo', 'in' => 'query', 'schema' => ['type' => 'boolean', 'required' => false], ], [ 'name' => 'withStatistics', 'in' => 'query', 'schema' => ['type' => 'boolean', 'required' => false], ], ], ], 'GetGateway' => [ 'path' => '/v1/gateways/{gatewayId}', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'gatewayId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'GetGatewayQuotaRule' => [ 'path' => '/v1/gateways/{gatewayId}/quota-rules/{ruleId}', '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' => 'ruleId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'withConsumers', 'in' => 'query', 'schema' => ['type' => 'boolean', 'required' => false], ], [ 'name' => 'consumerPageNumber', 'in' => 'query', 'schema' => ['type' => 'string', 'deprecated' => true, 'required' => false], ], [ 'name' => 'consumerPageSize', 'in' => 'query', 'schema' => ['type' => 'string', 'deprecated' => true, 'required' => false], ], ], ], 'GetGatewayQuotaRuleSubjectUsage' => [ 'path' => '/v1/gateways/{gatewayId}/quota-rules/{ruleId}/subjects/{subjectId}/usage', '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' => 'ruleId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'subjectId', '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], ], ], ], 'GetHttpApi' => [ 'path' => '/v1/http-apis/{httpApiId}', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'httpApiId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'GetHttpApiOperation' => [ 'path' => '/v1/http-apis/{httpApiId}/operations/{operationId}', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], '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], ], ], ], 'GetHttpApiRoute' => [ 'path' => '/v1/http-apis/{httpApiId}/routes/{routeId}', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], '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], ], ], ], 'GetMcpServer' => [ 'path' => '/v1/mcp-servers/{mcpServerId}', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'mcpServerId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'GetPluginAttachment' => [ 'path' => '/v1/plugin-attachments/{pluginAttachmentId}', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'pluginAttachmentId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'GetPluginClass' => [ 'path' => '/v1/plugin-classes/{pluginClassId}', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'pluginClassId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'GetPolicy' => [ 'path' => '/v2/policies/{policyId}', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'policyId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'GetPolicyAttachment' => [ 'path' => '/v1/policy-attachments/{policyAttachmentId}', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'policyAttachmentId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'GetResourceOverview' => [ 'path' => '/v1/overview/resources', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'gatewayType', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'GetSecret' => [ 'path' => '/v1/secrets/{secretId}', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'secretId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'GetSecretValue' => [ 'path' => '/v1/secrets/name/{name}/value', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'name', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'GetService' => [ 'path' => '/v1/services/{serviceId}', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'serviceId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'GetSource' => [ 'path' => '/v1/sources/{sourceId}', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'sourceId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'GetTraceConfig' => [ 'path' => '/v1/gateways/{gatewayId}/trace', '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' => 'acceptLanguage', 'in' => 'query', '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', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ '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'], ], 'withGatewayExtension' => ['type' => 'boolean', 'required' => false], 'targetHttpApiId' => ['type' => 'string', 'required' => false], 'resourceGroupId' => ['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], ], ], 'deployConfigs' => [ 'type' => 'array', 'required' => false, 'items' => ['$ref' => '#/components/schemas/HttpApiDeployConfig', 'required' => false], ], 'mcpRouteId' => ['type' => 'string', 'required' => false], 'gatewayId' => ['type' => 'string', 'required' => false], ], ], ], ], ], 'InstallPlugin' => [ 'path' => '/v1/plugins/', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], '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], ], ], ], ], ], ], 'ListConsumerAuthorizationRules' => [ 'path' => '/v1/consumers/{consumerId}/authorization-rules', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], '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' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], ], ], '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], ], [ 'name' => 'gatewayId', 'in' => 'query', '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], ], ], ], 'ListConsumers' => [ 'path' => '/v1/consumers', '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], ], ], ], 'ListDomains' => [ 'path' => '/v1/domains', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'nameLike', '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' => 'domainScope', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'resourceGroupId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'gatewayType', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'ListEnvironments' => [ 'path' => '/v1/environments', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => true, 'parameters' => [ [ 'name' => 'nameLike', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'aliasLike', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'gatewayId', 'in' => 'query', '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], ], [ 'name' => 'pageSize', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'resourceGroupId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'gatewayType', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'ListExternalServices' => [ 'path' => '/v1/gateways/{gatewayId}/external-services', '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' => '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], ], ], ], 'ListGatewayFeatures' => [ 'path' => '/v1/gateways/{gatewayId}/gateway-features', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'gatewayId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'ListGatewayQuotaRules' => [ 'path' => '/v1/gateways/{gatewayId}/quota-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' => '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' => 'maxResults', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'nextToken', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], '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' => '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' => 'array', 'required' => false, 'items' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'key' => ['type' => 'string', 'required' => false], 'value' => ['type' => 'string', 'required' => false], ], ], 'maxItems' => 20, ], ], ], ], 'ListHttpApiOperations' => [ 'path' => '/v1/http-apis/{httpApiId}/operations', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], '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], ], [ '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], ], ], ], 'ListHttpApiRoutes' => [ 'path' => '/v1/http-apis/{httpApiId}/routes', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'httpApiId', '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' => '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], ], ], ], '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], ], [ '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' => 'gatewayType', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'ListMcpServers' => [ 'path' => '/v1/mcp-servers', 'methods' => ['get'], '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', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'ListPluginAttachments' => [ 'path' => '/v1/plugin-attachments', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ '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' => 'pluginId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ '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' => 'attachResourceTypes', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'withParentResource', 'in' => 'query', 'schema' => ['type' => 'boolean', 'required' => false], ], ], ], 'ListPluginClasses' => [ 'path' => '/v1/plugin-classes', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'nameLike', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'aliasLike', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'type', 'in' => 'query', '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], ], ], ], 'ListPlugins' => [ 'path' => '/v1/plugins', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ '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], ], ], ], 'ListPolicies' => [ 'path' => '/v1/policies', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ '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], ], ], ], 'ListPolicyClasses' => [ 'path' => '/v1/policy-classes', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'type', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'direction', 'in' => 'query', '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], ], [ 'name' => 'pageSize', 'in' => 'query', '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], ], ], ], 'ListSecretReferences' => [ 'path' => '/v1/secrets/{secretId}/references', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], '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' => 'secretId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'ListSecrets' => [ 'path' => '/v1/secrets', '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], ], ], ], 'ListServices' => [ 'path' => '/v1/services', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], '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' => 'name', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'sourceType', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'sourceTypes', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'gatewayId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'resourceGroupId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'ListSslCerts' => [ 'path' => '/v1/ssl/certs', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ '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], ], ], ], 'ListTagResources' => [ 'path' => '/v1/tags', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ResourceType', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'ResourceId', 'in' => 'query', 'style' => 'json', 'schema' => [ 'type' => 'array', 'required' => false, 'items' => ['type' => 'string', 'required' => false], ], ], [ 'name' => 'Tag', '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], ], ], ], ], [ 'name' => 'NextToken', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'ListZones' => [ 'path' => '/v1/zones', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'gatewayEdition', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'QueryConsumerAuthorizationRules' => [ 'path' => '/v1/authorization-rules', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], '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' => 'principalType', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'consumerGroupId', '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' => 'consumerNameLike', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'resourceTypes', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'RemoveConsumerAuthorizationRule' => [ 'path' => '/v1/authorization-rules/{consumerAuthorizationRuleId}', 'methods' => ['delete'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'consumerAuthorizationRuleId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'ResetGatewayQuotaRule' => [ 'path' => '/v1/gateways/{gatewayId}/quota-rules/{ruleId}/reset', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'gatewayId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'ruleId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ '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], ], ], ], ], ], 'RestartGateway' => [ 'path' => '/v1/gateways/{gatewayId}/restart', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'gatewayId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'SyncMCPServers' => [ 'path' => '/v1/mcp-servers/sync-mcp-server', 'methods' => ['post'], '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' => [ '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' => [ 'type' => 'array', 'required' => false, 'items' => [ '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], ], ], ], ], ], ], ], ], 'TagResources' => [ 'path' => '/v1/tags', 'methods' => ['post'], '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' => [ 'resourceType' => ['type' => 'string', 'required' => false], 'resourceId' => [ 'type' => 'array', 'required' => false, 'items' => ['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], ], ], ], ], ], ], ], ], 'UnDeployMcpServer' => [ 'path' => '/v1/mcp-servers/{mcpServerId}/undeploy', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], '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' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'httpApiId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'routeId' => ['type' => 'string', 'required' => false], 'environmentId' => ['type' => 'string', 'required' => false], 'operationId' => ['type' => 'string', 'required' => false], 'gatewayId' => ['type' => 'string', 'required' => false], ], ], ], ], ], 'UninstallPlugin' => [ 'path' => '/v1/plugins/{pluginId}', 'methods' => ['delete'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'pluginId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'UntagResources' => [ 'path' => '/v1/tags', 'methods' => ['delete'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ResourceType', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'ResourceId', 'in' => 'query', 'style' => 'json', 'schema' => [ 'type' => 'array', 'required' => false, 'items' => ['type' => 'string', 'required' => false], ], ], [ 'name' => 'TagKey', 'in' => 'query', 'style' => 'json', 'schema' => [ 'type' => 'array', 'required' => false, 'items' => ['type' => 'string', 'required' => false], ], ], [ 'name' => 'All', 'in' => 'query', 'schema' => ['type' => 'boolean', 'required' => false], ], ], ], 'UpdateAndAttachPolicy' => [ 'path' => '/v1/policies/{policyId}', 'methods' => ['put'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'policyId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'name' => ['type' => 'string', 'required' => false], 'description' => ['type' => 'string', 'required' => false], 'config' => ['type' => 'string', 'required' => true], 'attachResourceIds' => [ 'type' => 'array', 'required' => true, 'items' => ['type' => 'string', 'required' => false], ], 'attachResourceType' => ['type' => 'string', 'required' => true], 'environmentId' => ['type' => 'string', 'required' => false], 'gatewayId' => ['type' => 'string', 'required' => false], ], ], ], ], ], 'UpdateConsumer' => [ 'path' => '/v1/consumers/{consumerId}', 'methods' => ['put'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'consumerId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ '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], ], ], ], ], ], 'UpdateConsumerAuthorizationRule' => [ 'path' => '/v1/consumers/{consumerId}/authorization-rules/{consumerAuthorizationRuleId}', 'methods' => ['put'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'consumerId', 'in' => 'path', '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' => 'consumerAuthorizationRuleId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'UpdateDomain' => [ 'path' => '/v1/domains/{domainId}', 'methods' => ['put'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ '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' => 'domainId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'UpdateEnvironment' => [ 'path' => '/v1/environments/{environmentId}', 'methods' => ['put'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => true, 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'alias' => ['type' => 'string', 'required' => true], 'description' => ['type' => 'string', 'required' => false], ], ], ], [ 'name' => 'environmentId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'UpdateGatewayFeature' => [ 'path' => '/v1/gateways/{gatewayId}/gateway-features/{name}', 'methods' => ['put'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'gatewayId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'name', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'value' => ['type' => 'string', 'required' => false], ], ], ], ], ], 'UpdateGatewayName' => [ 'path' => '/v1/gateways/{gatewayId}/name', 'methods' => ['put'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => true, 'parameters' => [ [ 'name' => 'gatewayId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'name', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'UpdateGatewayQuotaRule' => [ 'path' => '/v1/gateways/{gatewayId}/quota-rules/{ruleId}', 'methods' => ['put'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'gatewayId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'ruleId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ '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], ], ], ], ], ], ], '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' => 'gatewayId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'ruleId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ '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' => [ [ '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' => '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], ], ], ], ], ], 'UpdateHttpApiOperation' => [ 'path' => '/v1/http-apis/{httpApiId}/operations/{operationId}', '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' => 'operationId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'operation' => ['$ref' => '#/components/schemas/HttpApiOperation', 'required' => false], ], ], ], ], ], 'UpdateHttpApiRoute' => [ 'path' => '/v1/http-apis/{httpApiId}/routes/{routeId}', 'methods' => ['put'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], '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', 'schema' => [ '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], ], ], ], ], ], ], 'UpdateMcpServer' => [ 'path' => '/v1/mcp-servers/{mcpServerId}', 'methods' => ['put'], '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' => [ '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' => 'mcpServerId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'UpdatePluginAttachment' => [ 'path' => '/v1/plugin-attachments/{pluginAttachmentId}', 'methods' => ['put'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'pluginAttachmentId', 'in' => 'path', '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], ], ], ], ], ], 'UpdatePolicy' => [ 'path' => '/v2/policies/{policyId}', 'methods' => ['put'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'policyId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ '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], ], ], ], ], ], 'UpdateSecret' => [ 'path' => '/v1/secrets/{secretId}', 'methods' => ['put'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'secretId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'secretData' => ['type' => 'string', 'required' => false], ], ], ], ], ], 'UpdateService' => [ 'path' => '/v1/services/{serviceId}', 'methods' => ['put'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'serviceId', '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], 'modelProviderId' => ['type' => 'string', '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], ], ], ], ], ], ], ], 'UpdateServiceVersion' => [ 'path' => '/v1/services/{serviceId}/versions/{name}', 'methods' => ['put'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'serviceId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'name', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ '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], ], ], ], ], ], ], ], ], 'UpgradeGateway' => [ 'path' => '/v1/gateways/{gatewayId}/upgrade', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ '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], ], ], ], ], 'endpoints' => [ ['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' => ''], ], ];