diff options
| author | Zhineng Li <im@zhineng.li> | 2026-07-12 17:11:17 +0800 |
|---|---|---|
| committer | Zhineng Li <im@zhineng.li> | 2026-07-12 17:11:17 +0800 |
| commit | 1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634 (patch) | |
| tree | 5f0857666365b7e40cdaa3733ebe1f3ba9e13c67 /data/en_us/ecs-workbench/2025-11-11 | |
| parent | 7347bac4ab7e136157fc94777e6cf87ef9e08599 (diff) | |
| download | afterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.tar.gz afterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.zip | |
update APIs 20260712
Diffstat (limited to 'data/en_us/ecs-workbench/2025-11-11')
| -rw-r--r-- | data/en_us/ecs-workbench/2025-11-11/api-docs.php | 116 |
1 files changed, 23 insertions, 93 deletions
diff --git a/data/en_us/ecs-workbench/2025-11-11/api-docs.php b/data/en_us/ecs-workbench/2025-11-11/api-docs.php index 4b8ab69..4ae7480 100644 --- a/data/en_us/ecs-workbench/2025-11-11/api-docs.php +++ b/data/en_us/ecs-workbench/2025-11-11/api-docs.php @@ -1,19 +1,12 @@ <?php return [ 'version' => '1.0', - 'info' => [ - 'style' => 'RPC', - 'product' => 'ecs-workbench', - 'version' => '2025-11-11', - ], + 'info' => ['style' => 'RPC', 'product' => 'ecs-workbench', 'version' => '2025-11-11'], 'directories' => [ [ 'id' => 357414, 'title' => null, 'type' => 'directory', - 'children' => [ - 'DescribeTerminalSettings', - 'ModifyTerminalSettings', - ], + 'children' => ['DescribeTerminalSettings', 'ModifyTerminalSettings'], ], ], 'components' => [ @@ -23,13 +16,8 @@ 'DescribeTerminalSettings' => [ 'summary' => '查询Workbench终端配置', 'description' => '查询Workbench终端配置', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -42,9 +30,7 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '232258', - 'abilityTreeNodes' => [ - 'FEATUREecs3YSCYT', - ], + 'abilityTreeNodes' => ['FEATUREecs3YSCYT'], ], 'parameters' => [], 'responses' => [ @@ -52,12 +38,7 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求ID', - 'description' => '请求ID', - 'type' => 'string', - 'example' => '47348885-C929-489A-93D7-B2E99D50D77B', - ], + 'RequestId' => ['title' => '请求ID', 'description' => '请求ID', 'type' => 'string', 'example' => '47348885-C929-489A-93D7-B2E99D50D77B'], 'PasswordlessLoginConfig' => [ 'description' => '', 'type' => 'object', @@ -65,9 +46,7 @@ 'Enabled' => [ 'description' => '', 'type' => 'boolean', - 'enumValueTitles' => [ - 'true/false' => 'true/false', - ], + 'enumValueTitles' => ['true/false' => 'true/false'], 'example' => 'true', ], ], @@ -78,33 +57,20 @@ ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'Forbidden.Unauthorized', - 'errorMessage' => 'You are not authorized to perform this operation.', - ], + ['errorCode' => 'Forbidden.Unauthorized', 'errorMessage' => 'You are not authorized to perform this operation.'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"47348885-C929-489A-93D7-B2E99D50D77B\\",\\n \\"PasswordlessLoginConfig\\": {\\n \\"Enabled\\": true\\n }\\n}","type":"json"}]', ], 'ModifyTerminalSettings' => [ 'summary' => '修改Workbench终端配置', 'description' => '修改Workbench终端配置', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -117,9 +83,7 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '232258', - 'abilityTreeNodes' => [ - 'FEATUREecs3YSCYT', - ], + 'abilityTreeNodes' => ['FEATUREecs3YSCYT'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], @@ -133,13 +97,7 @@ 'description' => '免密登录配置', 'type' => 'object', 'properties' => [ - 'Enabled' => [ - 'title' => '免密功能开关', - 'description' => '免密功能开关', - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], + 'Enabled' => ['title' => '免密功能开关', 'description' => '免密功能开关', 'type' => 'boolean', 'required' => false, 'example' => 'true'], ], 'required' => true, ], @@ -150,58 +108,30 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求ID', - 'description' => '请求ID', - 'type' => 'string', - 'example' => '47348885-C929-489A-93D7-B2E99D50D77B', - ], + 'RequestId' => ['title' => '请求ID', 'description' => '请求ID', 'type' => 'string', 'example' => '47348885-C929-489A-93D7-B2E99D50D77B'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'MissingParameter.PasswordlessLoginConfig', - 'errorMessage' => 'The parameter PasswordlessLoginConfig is missing.', - ], - [ - 'errorCode' => 'MissingParameter.PasswordlessLoginConfig.Enabled', - 'errorMessage' => 'The parameter PasswordlessLoginConfig.Enabled is missing.', - ], + ['errorCode' => 'MissingParameter.PasswordlessLoginConfig', 'errorMessage' => 'The parameter PasswordlessLoginConfig is missing.'], + ['errorCode' => 'MissingParameter.PasswordlessLoginConfig.Enabled', 'errorMessage' => 'The parameter PasswordlessLoginConfig.Enabled is missing.'], ], 403 => [ - [ - 'errorCode' => 'Forbidden.Unauthorized', - 'errorMessage' => 'You are not authorized to perform this operation.', - ], + ['errorCode' => 'Forbidden.Unauthorized', 'errorMessage' => 'You are not authorized to perform this operation.'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"47348885-C929-489A-93D7-B2E99D50D77B\\"\\n}","type":"json"}]', ], ], 'endpoints' => [ - [ - 'regionId' => 'cn-hangzhou', - 'endpoint' => 'ecs-workbench.cn-hangzhou.aliyuncs.com', - ], - [ - 'regionId' => 'cn-beijing', - 'endpoint' => 'ecs-workbench.cn-beijing.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-1', - 'endpoint' => 'ecs-workbench.ap-southeast-1.aliyuncs.com', - ], + ['regionId' => 'cn-hangzhou', 'endpoint' => 'ecs-workbench.cn-hangzhou.aliyuncs.com'], + ['regionId' => 'cn-beijing', 'endpoint' => 'ecs-workbench.cn-beijing.aliyuncs.com'], + ['regionId' => 'ap-southeast-1', 'endpoint' => 'ecs-workbench.ap-southeast-1.aliyuncs.com'], ], ]; |
