summaryrefslogtreecommitdiff
path: root/data/openapiexplorer/2024-11-30/api-docs.php
diff options
context:
space:
mode:
Diffstat (limited to 'data/openapiexplorer/2024-11-30/api-docs.php')
-rw-r--r--data/openapiexplorer/2024-11-30/api-docs.php1093
1 files changed, 430 insertions, 663 deletions
diff --git a/data/openapiexplorer/2024-11-30/api-docs.php b/data/openapiexplorer/2024-11-30/api-docs.php
index aeddabd..455d173 100644
--- a/data/openapiexplorer/2024-11-30/api-docs.php
+++ b/data/openapiexplorer/2024-11-30/api-docs.php
@@ -1,33 +1,21 @@
<?php return [
'version' => '1.0',
- 'info' => [
- 'style' => 'ROA',
- 'product' => 'OpenAPIExplorer',
- 'version' => '2024-11-30',
- ],
+ 'info' => ['style' => 'ROA', 'product' => 'OpenAPIExplorer', 'version' => '2024-11-30'],
'components' => [
'schemas' => [],
],
'apis' => [
'ApiMcpServerValidateHcl' => [
'path' => '/terraform/validate',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'parameters' => [
[
'name' => 'body',
@@ -37,10 +25,7 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'code' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'code' => ['type' => 'string', 'required' => false],
],
],
],
@@ -48,23 +33,15 @@
],
'CreateApiMcpServer' => [
'path' => '/apimcpserver',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'parameters' => [
[
'name' => 'body',
@@ -74,21 +51,12 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'clientToken' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'description' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'clientToken' => ['type' => 'string', 'required' => false],
+ 'description' => ['type' => 'string', 'required' => false],
'language' => [
'type' => 'string',
'required' => false,
- 'enum' => [
- 'EN_US',
- 'ZH_CN',
- ],
+ 'enum' => ['EN_US', 'ZH_CN'],
],
'apis' => [
'type' => 'array',
@@ -97,21 +65,12 @@
'type' => 'object',
'required' => true,
'properties' => [
- 'product' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'apiVersion' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'product' => ['type' => 'string', 'required' => true],
+ 'apiVersion' => ['type' => 'string', 'required' => true],
'selectors' => [
'type' => 'array',
'required' => true,
- 'items' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'items' => ['type' => 'string', 'required' => true],
],
],
],
@@ -123,30 +82,13 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'product' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'apiVersion' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'apiName' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'apiOverrideJson' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'executeCliCommand' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- 'enableOutputSchema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'product' => ['type' => 'string', 'required' => false],
+ 'apiVersion' => ['type' => 'string', 'required' => false],
+ 'apiName' => ['type' => 'string', 'required' => false],
+ 'apiOverrideJson' => ['type' => 'string', 'required' => false],
+ 'executeCliCommand' => ['type' => 'boolean', 'required' => false],
+ 'enableOutputSchema' => ['type' => 'boolean', 'required' => false],
+ 'toolAlias' => ['type' => 'string', 'required' => false],
'constParameters' => [
'type' => 'array',
'required' => false,
@@ -154,14 +96,8 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'key' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'value' => [
- 'type' => 'any',
- 'required' => false,
- ],
+ 'key' => ['type' => 'string', 'required' => false],
+ 'value' => ['type' => 'any', 'required' => false],
],
],
],
@@ -175,18 +111,9 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'name' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'description' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'content' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => ['type' => 'string', 'required' => false],
+ 'description' => ['type' => 'string', 'required' => false],
+ 'content' => ['type' => 'string', 'required' => false],
'arguments' => [
'type' => 'array',
'required' => false,
@@ -194,69 +121,32 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'name' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'description' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'required' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'name' => ['type' => 'string', 'required' => false],
+ 'description' => ['type' => 'string', 'required' => false],
+ 'required' => ['type' => 'boolean', 'required' => false],
],
],
],
],
],
],
- 'name' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => ['type' => 'string', 'required' => true],
'systemTools' => [
'type' => 'array',
'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- 'oauthClientId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'instructions' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'enableAssumeRole' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- 'assumeRoleName' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'assumeRoleExtraPolicy' => [
- 'type' => 'string',
- 'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
],
+ 'oauthClientId' => ['type' => 'string', 'required' => false],
+ 'instructions' => ['type' => 'string', 'required' => false],
+ 'enableAssumeRole' => ['type' => 'boolean', 'required' => false],
+ 'assumeRoleName' => ['type' => 'string', 'required' => false],
+ 'assumeRoleExtraPolicy' => ['type' => 'string', 'required' => false],
'publicAccess' => [
'type' => 'string',
'required' => false,
- 'enum' => [
- 'on',
- 'off',
- 'follow',
- ],
- ],
- 'enableCustomVpcWhitelist' => [
- 'type' => 'boolean',
- 'required' => false,
+ 'enum' => ['on', 'off', 'follow'],
],
+ 'enableCustomVpcWhitelist' => ['type' => 'boolean', 'required' => false],
'terraformTools' => [
'type' => 'array',
'required' => false,
@@ -264,30 +154,14 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'code' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'name' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'description' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'async' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'code' => ['type' => 'string', 'required' => false],
+ 'name' => ['type' => 'string', 'required' => false],
+ 'description' => ['type' => 'string', 'required' => false],
+ 'async' => ['type' => 'boolean', 'required' => false],
'destroyPolicy' => [
'type' => 'string',
'required' => false,
- 'enum' => [
- 'NEVER',
- 'ALWAYS',
- 'ON_FAILURE',
- ],
+ 'enum' => ['NEVER', 'ALWAYS', 'ON_FAILURE'],
],
],
],
@@ -295,105 +169,129 @@
'vpcWhitelists' => [
'type' => 'array',
'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'items' => ['type' => 'string', 'required' => false],
],
],
],
],
],
],
- 'DeleteApiMcpServer' => [
- 'path' => '/apimcpserver',
- 'methods' => [
- 'delete',
+ 'CreateApiMcpServerCore' => [
+ 'path' => '/apimcpservercore',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
- 'schemes' => [
- 'https',
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'parameters' => [
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'clientToken' => ['type' => 'string', 'required' => false],
+ 'oauthClientId' => ['type' => 'string', 'required' => false],
+ 'vpcWhitelists' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
+ ],
+ 'enableAssumeRole' => ['type' => 'boolean', 'required' => false],
+ 'assumeRoleOverridePolicy' => ['type' => 'string', 'required' => false],
+ 'assumeRoleName' => ['type' => 'string', 'required' => false],
+ 'publicAccessType' => ['type' => 'string', 'required' => false],
+ 'enableCustomVpcWhitelist' => ['type' => 'boolean', 'required' => false],
+ ],
+ ],
+ ],
],
+ ],
+ 'DeleteApiMcpServer' => [
+ 'path' => '/apimcpserver',
+ 'methods' => ['delete'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'parameters' => [
+ [
+ 'name' => 'clientToken',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'id',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
],
- 'produces' => [
- 'application/json',
+ ],
+ 'DeleteApiMcpServerCore' => [
+ 'path' => '/apimcpservercore',
+ 'methods' => ['delete'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'parameters' => [
[
'name' => 'clientToken',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'id',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
'GenerateCLICommand' => [
'path' => '/api/cli/makeCode',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'parameters' => [
[
'name' => 'product',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'apiVersion',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'api',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'regionId',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'apiParams',
@@ -403,429 +301,400 @@
'type' => 'object',
'deprecated' => true,
'required' => false,
- 'additionalProperties' => [
- 'type' => 'any',
- ],
+ 'additionalProperties' => ['type' => 'any'],
],
],
[
'name' => 'jsonApiParams',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'aggregatePagination',
'in' => 'formData',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
],
],
'GetApiDefinition' => [
'path' => '/api/definition',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'parameters' => [
[
'name' => 'product',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'apiVersion',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'api',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
'GetApiMcpServer' => [
'path' => '/apimcpserver',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'parameters' => [
+ [
+ 'name' => 'id',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
],
- 'produces' => [
- 'application/json',
+ ],
+ 'GetApiMcpServerCore' => [
+ 'path' => '/apimcpservercore',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'parameters' => [
[
'name' => 'id',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
'GetApiMcpServerUserConfig' => [
'path' => '/userconfig/get',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'parameters' => [],
+ ],
+ 'GetCodeSample' => [
+ 'path' => '/api/product/makeCode',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'Anonymous' => [],
+ ],
],
- 'produces' => [
- 'application/json',
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'parameters' => [
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'callType' => [
+ 'type' => 'string',
+ 'required' => false,
+ 'enum' => ['typed', 'generic'],
+ ],
+ 'product' => ['type' => 'string', 'required' => true],
+ 'apiVersion' => ['type' => 'string', 'required' => false],
+ 'apiName' => ['type' => 'string', 'required' => true],
+ 'regionId' => ['type' => 'string', 'required' => false],
+ 'language' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'enum' => ['java', 'java-async', 'python', 'typescript', 'go', 'php', 'csharp', 'cpp', 'swift', 'nodejs'],
+ ],
+ 'params' => ['type' => 'string', 'required' => false],
+ ],
+ ],
+ ],
],
- 'parameters' => [],
],
'GetErrorCodeSolutions' => [
'path' => '/getErrorCodeSolutions',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'errorCode',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'errorMessage',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'product',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'acceptLanguage',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'GetOwnRequestLog' => [
'path' => '/getOwnRequestLog',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- 'application/x-www-form-urlencoded',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json', 'application/x-www-form-urlencoded'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'logRequestId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
'GetProductEndpoints' => [
'path' => '/product/endpoints',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'parameters' => [
[
'name' => 'product',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
'GetRequestLog' => [
'path' => '/getRequestLog',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- 'application/x-www-form-urlencoded',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json', 'application/x-www-form-urlencoded'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'logRequestId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'ListApiDefinitions' => [
- 'path' => '/api/definitions',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'GetSdkDependencies' => [
+ 'path' => '/api/sdk/dependencies',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
- 'AK' => [],
+ 'Anonymous' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'parameters' => [
[
- 'name' => 'product',
+ 'name' => 'callType',
'in' => 'query',
'schema' => [
'type' => 'string',
- 'required' => true,
+ 'required' => false,
+ 'enum' => ['typed', 'generic'],
],
],
[
- 'name' => 'apiVersion',
+ 'name' => 'product',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'version',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'language',
'in' => 'query',
'schema' => [
'type' => 'string',
'required' => true,
+ 'enum' => ['java', 'java-async', 'python', 'typescript', 'go', 'php', 'csharp', 'cpp', 'swift', 'nodejs'],
],
],
],
],
- 'ListApiMcpServerSystemTools' => [
- 'path' => '/mcpSystemTools',
- 'methods' => [
- 'get',
+ 'ListApiDefinitions' => [
+ 'path' => '/api/definitions',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
- 'schemes' => [
- 'https',
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'parameters' => [
+ [
+ 'name' => 'product',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'apiVersion',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
],
+ ],
+ 'ListApiMcpServerCores' => [
+ 'path' => '/apimcpservercores',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'parameters' => [
+ [
+ 'name' => 'id',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'nextToken',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'maxResults',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ ],
+ [
+ 'name' => 'skip',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ ],
],
- 'produces' => [
- 'application/json',
+ ],
+ 'ListApiMcpServerSystemTools' => [
+ 'path' => '/mcpSystemTools',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'parameters' => [
[
'name' => 'maxResults',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'minimum' => '0',
- 'maximum' => '100',
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '0', 'maximum' => '100'],
],
[
'name' => 'skip',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'minimum' => '0',
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '0'],
],
[
'name' => 'nextToken',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'ListApiMcpServers' => [
'path' => '/apimcpservers',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'parameters' => [
[
'name' => 'id',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'nextToken',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'maxResults',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'minimum' => '0',
- 'exclusiveMinimum' => true,
- 'maximum' => '100',
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '0', 'exclusiveMinimum' => true, 'maximum' => '100'],
],
[
'name' => 'skip',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'minimum' => '0',
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '0'],
],
[
'name' => 'description',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'language',
@@ -833,81 +702,71 @@
'schema' => [
'type' => 'string',
'required' => false,
- 'enum' => [
- 'EN_US',
- 'ZH_CN',
- ],
+ 'enum' => ['EN_US', 'ZH_CN'],
],
],
[
'name' => 'createTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'updateTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'sourceType',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'keyword',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'UpdateApiMcpServer' => [
- 'path' => '/apimcpserver',
- 'methods' => [
- 'patch',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListProducts' => [
+ 'path' => '/listProducts',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'parameters' => [
+ [
+ 'name' => 'filter',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
],
- 'produces' => [
- 'application/json',
+ ],
+ 'UpdateApiMcpServer' => [
+ 'path' => '/apimcpserver',
+ 'methods' => ['patch'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'parameters' => [
[
'name' => 'clientToken',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'id',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -917,10 +776,7 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'description' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'description' => ['type' => 'string', 'required' => false],
'apis' => [
'type' => 'array',
'required' => false,
@@ -928,21 +784,12 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'product' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'apiVersion' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'product' => ['type' => 'string', 'required' => false],
+ 'apiVersion' => ['type' => 'string', 'required' => false],
'selectors' => [
'type' => 'array',
'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'items' => ['type' => 'string', 'required' => false],
],
],
],
@@ -954,30 +801,13 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'product' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'apiVersion' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'apiName' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'apiOverrideJson' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'executeCliCommand' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- 'enableOutputSchema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'product' => ['type' => 'string', 'required' => false],
+ 'apiVersion' => ['type' => 'string', 'required' => false],
+ 'apiName' => ['type' => 'string', 'required' => false],
+ 'apiOverrideJson' => ['type' => 'string', 'required' => false],
+ 'executeCliCommand' => ['type' => 'boolean', 'required' => false],
+ 'enableOutputSchema' => ['type' => 'boolean', 'required' => false],
+ 'toolAlias' => ['type' => 'string', 'required' => false],
'constParameters' => [
'type' => 'array',
'required' => false,
@@ -985,14 +815,8 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'key' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'value' => [
- 'type' => 'any',
- 'required' => false,
- ],
+ 'key' => ['type' => 'string', 'required' => false],
+ 'value' => ['type' => 'any', 'required' => false],
],
],
],
@@ -1006,18 +830,9 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'name' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'description' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'content' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => ['type' => 'string', 'required' => false],
+ 'description' => ['type' => 'string', 'required' => false],
+ 'content' => ['type' => 'string', 'required' => false],
'arguments' => [
'type' => 'array',
'required' => false,
@@ -1025,18 +840,9 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'name' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'description' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'required' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'name' => ['type' => 'string', 'required' => false],
+ 'description' => ['type' => 'string', 'required' => false],
+ 'required' => ['type' => 'boolean', 'required' => false],
],
],
],
@@ -1046,52 +852,24 @@
'language' => [
'type' => 'string',
'required' => false,
- 'enum' => [
- 'EN_US',
- 'ZH_CN',
- ],
+ 'enum' => ['EN_US', 'ZH_CN'],
],
'systemTools' => [
'type' => 'array',
'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- 'oauthClientId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'instructions' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'enableAssumeRole' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- 'assumeRoleName' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'assumeRoleExtraPolicy' => [
- 'type' => 'string',
- 'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
],
+ 'oauthClientId' => ['type' => 'string', 'required' => false],
+ 'instructions' => ['type' => 'string', 'required' => false],
+ 'enableAssumeRole' => ['type' => 'boolean', 'required' => false],
+ 'assumeRoleName' => ['type' => 'string', 'required' => false],
+ 'assumeRoleExtraPolicy' => ['type' => 'string', 'required' => false],
'publicAccess' => [
'type' => 'string',
'required' => false,
- 'enum' => [
- 'on',
- 'off',
- 'follow',
- ],
- ],
- 'enableCustomVpcWhitelist' => [
- 'type' => 'boolean',
- 'required' => false,
+ 'enum' => ['on', 'off', 'follow'],
],
+ 'enableCustomVpcWhitelist' => ['type' => 'boolean', 'required' => false],
'terraformTools' => [
'type' => 'array',
'required' => false,
@@ -1099,30 +877,14 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'code' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'name' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'description' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'async' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'code' => ['type' => 'string', 'required' => false],
+ 'name' => ['type' => 'string', 'required' => false],
+ 'description' => ['type' => 'string', 'required' => false],
+ 'async' => ['type' => 'boolean', 'required' => false],
'destroyPolicy' => [
'type' => 'string',
'required' => false,
- 'enum' => [
- 'NEVER',
- 'ALWAYS',
- 'ON_FAILURE',
- ],
+ 'enum' => ['NEVER', 'ALWAYS', 'ON_FAILURE'],
],
],
],
@@ -1130,37 +892,36 @@
'vpcWhitelists' => [
'type' => 'array',
'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'items' => ['type' => 'string', 'required' => false],
],
],
],
],
],
],
- 'UpdateApiMcpServerUserConfig' => [
- 'path' => '/userconfig/update',
- 'methods' => [
- 'patch',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'UpdateApiMcpServerCore' => [
+ 'path' => '/apimcpservercore',
+ 'methods' => ['patch'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'parameters' => [
[
+ 'name' => 'clientToken',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'id',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
'name' => 'body',
'in' => 'body',
'style' => 'json',
@@ -1168,17 +929,47 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'enablePublicAccess' => [
- 'type' => 'boolean',
+ 'oauthClientId' => ['type' => 'string', 'required' => false],
+ 'vpcWhitelists' => [
+ 'type' => 'array',
'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
],
+ 'enableAssumeRole' => ['type' => 'boolean', 'required' => false],
+ 'assumeRoleOverridePolicy' => ['type' => 'string', 'required' => false],
+ 'assumeRoleName' => ['type' => 'string', 'required' => false],
+ 'publicAccessType' => ['type' => 'string', 'required' => false],
+ 'enableCustomVpcWhitelist' => ['type' => 'boolean', 'required' => false],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'UpdateApiMcpServerUserConfig' => [
+ 'path' => '/userconfig/update',
+ 'methods' => ['patch'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'parameters' => [
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'enablePublicAccess' => ['type' => 'boolean', 'required' => false],
'vpcWhitelists' => [
'type' => 'array',
'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'items' => ['type' => 'string', 'required' => false],
],
],
],
@@ -1187,32 +978,8 @@
],
],
'endpoints' => [
- [
- 'regionId' => 'cn-hangzhou',
- 'regionName' => '华东1(杭州)',
- 'areaId' => 'asiaPacific',
- 'areaName' => '亚太',
- 'public' => 'openapi-mcp.cn-hangzhou.aliyuncs.com',
- 'endpoint' => 'openapi-mcp.cn-hangzhou.aliyuncs.com',
- 'vpc' => '',
- ],
- [
- 'regionId' => 'ap-southeast-1',
- 'regionName' => '新加坡',
- 'areaId' => 'asiaPacific',
- 'areaName' => '亚太',
- 'public' => 'openapi-mcp.ap-southeast-1.aliyuncs.com',
- 'endpoint' => 'openapi-mcp.ap-southeast-1.aliyuncs.com',
- 'vpc' => '',
- ],
- [
- 'regionId' => 'public',
- 'regionName' => '公网',
- 'areaId' => 'other',
- 'areaName' => '其它',
- 'public' => 'openapiexplorer.aliyuncs.com',
- 'endpoint' => 'openapiexplorer.aliyuncs.com',
- 'vpc' => '',
- ],
+ ['regionId' => 'cn-hangzhou', 'regionName' => '华东1(杭州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'openapi-mcp.cn-hangzhou.aliyuncs.com', 'endpoint' => 'openapi-mcp.cn-hangzhou.aliyuncs.com', 'vpc' => ''],
+ ['regionId' => 'ap-southeast-1', 'regionName' => '新加坡', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'openapi-mcp.ap-southeast-1.aliyuncs.com', 'endpoint' => 'openapi-mcp.ap-southeast-1.aliyuncs.com', 'vpc' => ''],
+ ['regionId' => 'public', 'regionName' => '公网', 'areaId' => 'other', 'areaName' => '其它', 'public' => 'openapiexplorer.aliyuncs.com', 'endpoint' => 'openapiexplorer.aliyuncs.com', 'vpc' => ''],
],
];