diff options
Diffstat (limited to 'data/zh_cn/ecs-workbench/2025-11-11')
| -rw-r--r-- | data/zh_cn/ecs-workbench/2025-11-11/api-docs.php | 124 |
1 files changed, 27 insertions, 97 deletions
diff --git a/data/zh_cn/ecs-workbench/2025-11-11/api-docs.php b/data/zh_cn/ecs-workbench/2025-11-11/api-docs.php index eec9d72..d99917c 100644 --- a/data/zh_cn/ecs-workbench/2025-11-11/api-docs.php +++ b/data/zh_cn/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' => '系统配置', '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', @@ -69,9 +50,7 @@ ."\n" .'- false:不启用。', 'type' => 'boolean', - 'enumValueTitles' => [ - 'true/false' => 'true/false', - ], + 'enumValueTitles' => ['true/false' => 'true/false'], 'example' => 'true', ], ], @@ -82,34 +61,21 @@ ], '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"}]', 'title' => '查询终端配置', ], 'ModifyTerminalSettings' => [ 'summary' => '本接口用于修改Workbench终端配置,支持修改免密功能开关等配置。', 'description' => '修改Workbench终端配置', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -122,9 +88,7 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '232258', - 'abilityTreeNodes' => [ - 'FEATUREecs3YSCYT', - ], + 'abilityTreeNodes' => ['FEATUREecs3YSCYT'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], @@ -138,17 +102,11 @@ 'description' => '免密登录配置', 'type' => 'object', 'properties' => [ - 'Enabled' => [ - 'title' => '免密功能开关', - 'description' => '是否启用免密登录功能,取值范围:'."\n" - ."\n" - .'- true:启用。'."\n" - ."\n" - .'- false:不启用。', - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], + 'Enabled' => ['title' => '免密功能开关', 'description' => '是否启用免密登录功能,取值范围:'."\n" + ."\n" + .'- true:启用。'."\n" + ."\n" + .'- false:不启用。', 'type' => 'boolean', 'required' => false, 'example' => 'true'], ], 'required' => true, ], @@ -159,59 +117,31 @@ '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"}]', 'title' => '修改终端配置', ], ], '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'], ], ]; |
