diff options
Diffstat (limited to 'data/en_us/idaas-doraemon/2021-05-20/api-docs.php')
| -rw-r--r-- | data/en_us/idaas-doraemon/2021-05-20/api-docs.php | 3867 |
1 files changed, 1842 insertions, 2025 deletions
diff --git a/data/en_us/idaas-doraemon/2021-05-20/api-docs.php b/data/en_us/idaas-doraemon/2021-05-20/api-docs.php index 836101e..ca7fea0 100644 --- a/data/en_us/idaas-doraemon/2021-05-20/api-docs.php +++ b/data/en_us/idaas-doraemon/2021-05-20/api-docs.php @@ -1,230 +1,41 @@ <?php return [ 'version' => '1.0', - 'info' => [ - 'style' => 'RPC', - 'product' => 'idaas-doraemon', - 'version' => '2021-05-20', - ], + 'info' => ['style' => 'RPC', 'product' => 'idaas-doraemon', 'version' => '2021-05-20'], 'directories' => [ [ - 'id' => 91754, - 'title' => null, + 'children' => ['FetchAccessToken'], 'type' => 'directory', - 'children' => [ - 'FetchAccessToken', - ], + 'title' => 'Application authorization', ], [ - 'id' => 91756, - 'title' => null, + 'children' => ['CreateAuthenticatorRegistration', 'CreateUserAuthenticateOptions', 'UpdateAuthenticatorAttribute', 'GetAuthenticator', 'ListAuthenticators', 'ListAuthenticatorOpsLogs', 'RegisterAuthenticator', 'VerifyUserAuthentication', 'DeregisterAuthenticator'], 'type' => 'directory', - 'children' => [ - 'CreateAuthenticatorRegistration', - 'CreateUserAuthenticateOptions', - 'UpdateAuthenticatorAttribute', - 'GetAuthenticator', - 'ListAuthenticators', - 'ListAuthenticatorOpsLogs', - 'RegisterAuthenticator', - 'VerifyUserAuthentication', - 'DeregisterAuthenticator', - ], + 'title' => 'Authenticator management', ], [ - 'id' => 91766, - 'title' => null, + 'children' => ['ServiceInvoke'], 'type' => 'directory', - 'children' => [ - 'ServiceInvoke', - ], + 'title' => 'Phone number verification', ], [ - 'id' => 91768, - 'title' => null, + 'children' => ['ListPwnedPasswords'], 'type' => 'directory', - 'children' => [ - 'ListPwnedPasswords', - ], + 'title' => 'Password leak detection', ], [ - 'id' => 362610, - 'title' => null, + 'children' => ['VerifyIdToken', 'ListCostUnitOrders', 'ListOrderConsumeStatisticRecords', 'QuerySmsReports'], 'type' => 'directory', - 'children' => [ - 'VerifyIdToken', - 'ListCostUnitOrders', - 'ListOrderConsumeStatisticRecords', - 'QuerySmsReports', - ], + 'title' => 'Others', ], ], 'components' => [ 'schemas' => [], ], 'apis' => [ - 'FetchAccessToken' => [ - 'summary' => '获取access_token', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREidaasCRU1S2', - ], - ], - 'parameters' => [ - [ - 'name' => 'MobileExtendParamsJson', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'eyJhdHRhY2htZW50IjoicGxhdGZvcm0iLCJ1c2VyVmVyaWZpY2F0aW9uIjoicmVxdWlyZWQifQ==', - ], - ], - [ - 'name' => 'MobileExtendParamsJsonSign', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'a3984bc27776bb6f65f82276f75d6a12d56e1b41e98ed6975d852b14309b8a20', - ], - ], - [ - 'name' => 'ServerExtendParamsJson', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'eyJhdHRhY2htZW50IjoicGxhdGZvcm0iLCJ1c2VyVmVyaWZpY2F0aW9uIjoicmVxdWlyZWQifQ==', - ], - ], - [ - 'name' => 'ApplicationExternalId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'secAuthApp', - ], - ], - [ - 'name' => 'XClientIp', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '124.127.214.94', - ], - ], - [ - 'name' => 'UserId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '6ba923abf6749536b7fd31c6a31360fboOFZQ8WbzmG', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'BD908DED-849D-5FDB-9C9B-52B1D3F9DC41', - ], - 'Message' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Success', - ], - 'Code' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Operation.Success', - ], - 'Success' => [ - 'description' => '', - 'type' => 'boolean', - 'example' => 'True', - ], - 'Data' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Access_token' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'eyciOi...jV_PTsxgaNA', - ], - 'Token_type' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Bearer', - ], - 'Scope' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'openid', - ], - 'Expires_in' => [ - 'description' => '', - 'type' => 'string', - 'example' => '7200', - ], - 'Refresh_token' => [ - 'description' => '', - 'type' => 'string', - 'example' => '7200', - ], - 'Id_token' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'NiwiZW...wcmlzZUlk', - ], - ], - ], - ], - ], - ], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BD908DED-849D-5FDB-9C9B-52B1D3F9DC41\\",\\n \\"Message\\": \\"Success\\",\\n \\"Code\\": \\"Operation.Success\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"Access_token\\": \\"eyciOi...jV_PTsxgaNA\\",\\n \\"Token_type\\": \\"Bearer\\",\\n \\"Scope\\": \\"openid\\",\\n \\"Expires_in\\": \\"7200\\",\\n \\"Refresh_token\\": \\"7200\\",\\n \\"Id_token\\": \\"NiwiZW...wcmlzZUlk\\"\\n }\\n}","type":"json"}]', - ], 'CreateAuthenticatorRegistration' => [ - 'summary' => '创建认证器请求', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'summary' => 'Initializes the creation of an authenticator.', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -236,9 +47,7 @@ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREidaasCRU1S2', - ], + 'abilityTreeNodes' => ['FEATUREidaasCRU1S2'], 'autoTest' => false, 'notSupportAutoTestReason' => '需要配合移动端SDK动态参数进行测试', 'tenantRelevance' => 'publicInformation', @@ -247,106 +56,47 @@ [ 'name' => 'ApplicationExternalId', 'in' => 'query', - 'schema' => [ - 'title' => '应用外部Id', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '11122223333', - 'maxLength' => 64, - ], + 'schema' => ['title' => '', 'description' => 'The external ID of the application.', 'type' => 'string', 'required' => true, 'example' => '11122223333', 'maxLength' => 64], ], [ 'name' => 'AuthenticatorType', 'in' => 'query', - 'schema' => [ - 'title' => '认证器类型', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'webauthn', - 'maxLength' => 32, - ], + 'schema' => ['title' => '', 'description' => 'The type of the authenticator.', 'type' => 'string', 'required' => true, 'example' => 'webauthn', 'maxLength' => 32], ], [ 'name' => 'UserId', 'in' => 'query', - 'schema' => [ - 'title' => '用户id', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'user-11122223333', - 'maxLength' => 64, - ], + 'schema' => ['title' => '', 'description' => 'The ID of the user.', 'type' => 'string', 'required' => true, 'example' => 'user-11122223333', 'maxLength' => 64], ], [ 'name' => 'UserName', 'in' => 'query', - 'schema' => [ - 'title' => '用户姓名', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'ZhangSan', - 'maxLength' => 64, - ], + 'schema' => ['title' => '', 'description' => 'The username.', 'type' => 'string', 'required' => false, 'example' => 'ZhangSan', 'maxLength' => 64], ], [ 'name' => 'UserDisplayName', 'in' => 'query', - 'schema' => [ - 'title' => '用户展示名', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '张三', - 'maxLength' => 64, - ], + 'schema' => ['title' => '', 'description' => 'The display name of the user.', 'type' => 'string', 'required' => false, 'example' => '张三', 'maxLength' => 64], ], [ 'name' => 'ClientExtendParamsJson', 'in' => 'query', - 'schema' => [ - 'title' => '客户端SDK生成认证上下文', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '由具体认证方式决定', - ], + 'schema' => ['title' => '', 'description' => 'The authentication context generated by the client SDK.', 'type' => 'string', 'required' => false, 'example' => '由具体认证方式决定'], ], [ 'name' => 'ClientExtendParamsJsonSign', 'in' => 'query', - 'schema' => [ - 'title' => '客户端SDK生成认证上下文签名信息', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '由具体认证方式决定', - ], + 'schema' => ['title' => '', 'description' => 'The signature of the authentication context generated by the client SDK.', 'type' => 'string', 'required' => false, 'example' => '由具体认证方式决定'], ], [ 'name' => 'ServerExtendParamsJson', 'in' => 'query', - 'schema' => [ - 'title' => '服务端配置项,决定认证要求属性', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '由具体认证方式决定', - ], + 'schema' => ['title' => '', 'description' => 'The server-side configuration items that determine the authentication requirement properties.', 'type' => 'string', 'required' => false, 'example' => '由具体认证方式决定'], ], [ 'name' => 'RegistrationContext', 'in' => 'query', - 'schema' => [ - 'title' => '注册上下文', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '注册上下文', - ], + 'schema' => ['title' => '', 'description' => 'The registration context.', 'type' => 'string', 'example' => '注册上下文', 'required' => false], ], ], 'responses' => [ @@ -354,35 +104,42 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'DA0A9BF3-029D-5968-B876-0DF49777B22D', - ], - 'ChallengeBase64' => [ - 'title' => '防重放挑战码', - 'description' => '', - 'type' => 'string', - ], - 'Options' => [ - 'title' => '创建认证器的Options', - 'description' => '', - 'type' => 'string', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'DA0A9BF3-029D-5968-B876-0DF49777B22D', 'title' => ''], + 'ChallengeBase64' => ['title' => '', 'description' => 'The Base64-encoded challenge code used to prevent replay attacks.', 'type' => 'string', 'example' => ''], + 'Options' => ['title' => '', 'description' => 'The options for creating the authenticator.', 'type' => 'string', 'example' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DA0A9BF3-029D-5968-B876-0DF49777B22D\\",\\n \\"ChallengeBase64\\": \\"\\",\\n \\"Options\\": \\"\\"\\n}","type":"json"}]', - ], - 'CreateUserAuthenticateOptions' => [ - 'summary' => '创建用户认证请求', - 'methods' => [ - 'post', + 'title' => 'Initialize authenticator creation', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'idaas-doraemon:CreateAuthenticatorRegistration', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IDaaSAuth', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'schemes' => [ - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateAuthenticatorRegistration'], + ], ], + ], + 'CreateUserAuthenticateOptions' => [ + 'summary' => 'Initializes authenticator verification.', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -394,9 +151,7 @@ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREidaasCRU1S2', - ], + 'abilityTreeNodes' => ['FEATUREidaasCRU1S2'], 'autoTest' => false, 'notSupportAutoTestReason' => '需要配置移动端SDK动态参数才能调通', 'tenantRelevance' => 'publicInformation', @@ -405,83 +160,37 @@ [ 'name' => 'ApplicationExternalId', 'in' => 'query', - 'schema' => [ - 'title' => '应用外部Id', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '11122223333', - 'maxLength' => 64, - ], + 'schema' => ['title' => '', 'description' => 'The external ID of the application.', 'type' => 'string', 'required' => true, 'example' => '11122223333', 'maxLength' => 64], ], [ 'name' => 'AuthenticatorType', 'in' => 'query', - 'schema' => [ - 'title' => '认证器类型', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'webauthn', - 'maxLength' => 32, - ], + 'schema' => ['title' => '', 'description' => 'The type of the authenticator.', 'type' => 'string', 'required' => true, 'example' => 'webauthn', 'maxLength' => 32], ], [ 'name' => 'UserId', 'in' => 'query', - 'schema' => [ - 'title' => '用户id', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'user-11122223333', - 'maxLength' => 64, - ], + 'schema' => ['title' => '', 'description' => 'The ID of the user.', 'type' => 'string', 'required' => true, 'example' => 'user-11122223333', 'maxLength' => 64], ], [ 'name' => 'BindHashBase64', 'in' => 'query', - 'schema' => [ - 'title' => '操作hash,用来和认证绑定', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '1111222', - 'maxLength' => 64, - ], + 'schema' => ['title' => '', 'description' => 'The operation hash used to bind with the authentication.', 'type' => 'string', 'required' => false, 'example' => '1111222', 'maxLength' => 64], ], [ 'name' => 'ClientExtendParamsJson', 'in' => 'query', - 'schema' => [ - 'title' => '客户端SDK生成认证上下文', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '由具体认证方式决定', - ], + 'schema' => ['title' => '', 'description' => 'The authentication context generated by the client SDK.', 'type' => 'string', 'required' => false, 'example' => '由具体认证方式决定'], ], [ 'name' => 'ClientExtendParamsJsonSign', 'in' => 'query', - 'schema' => [ - 'title' => '客户端SDK生成认证上下文签名信息', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '由具体认证方式决定', - ], + 'schema' => ['title' => '', 'description' => 'The signature of the authentication context generated by the client SDK.', 'type' => 'string', 'required' => false, 'example' => '由具体认证方式决定'], ], [ 'name' => 'ServerExtendParamsJson', 'in' => 'query', - 'schema' => [ - 'title' => '服务端配置项,决定认证要求属性', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '由具体认证方式决定', - ], + 'schema' => ['title' => '', 'description' => 'The server-side configuration item that determines the authentication requirement properties.', 'type' => 'string', 'required' => false, 'example' => '由具体认证方式决定'], ], ], 'responses' => [ @@ -489,38 +198,42 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'D0F570B0-89CE-07F2-B41E-F97E089E13C6', - ], - 'ChallengeBase64' => [ - 'title' => '防重放挑战码', - 'description' => '', - 'type' => 'string', - 'example' => '2343246776', - ], - 'Options' => [ - 'title' => '创建认证的Options,内容是JSON', - 'description' => '', - 'type' => 'string', - 'example' => '{\\"subscribeEvent\\":false,\\"installAgent\\":false}', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'D0F570B0-89CE-07F2-B41E-F97E089E13C6', 'title' => ''], + 'ChallengeBase64' => ['title' => '', 'description' => 'The anti-replay challenge code.', 'type' => 'string', 'example' => '2343246776'], + 'Options' => ['title' => '', 'description' => 'The options for creating the authentication. The value is in JSON format.', 'type' => 'string', 'example' => '{\\"subscribeEvent\\":false,\\"installAgent\\":false}'], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D0F570B0-89CE-07F2-B41E-F97E089E13C6\\",\\n \\"ChallengeBase64\\": \\"2343246776\\",\\n \\"Options\\": \\"{\\\\\\\\\\\\\\"subscribeEvent\\\\\\\\\\\\\\":false,\\\\\\\\\\\\\\"installAgent\\\\\\\\\\\\\\":false}\\"\\n}","type":"json"}]', - ], - 'UpdateAuthenticatorAttribute' => [ - 'summary' => '更新认证器名字', - 'methods' => [ - 'get', - 'post', + 'title' => 'Initialize authenticator verification', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'idaas-doraemon:CreateUserAuthenticateOptions', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IDaaSAuth', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'schemes' => [ - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateUserAuthenticateOptions'], + ], ], + ], + 'DeregisterAuthenticator' => [ + 'summary' => 'Unregisters an authenticator.', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -529,64 +242,26 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREidaasCRU1S2', - ], - 'autoTest' => false, - 'notSupportAutoTestReason' => '需要移动端SDK动态参数进行调试', - 'tenantRelevance' => 'publicInformation', + 'abilityTreeNodes' => ['FEATUREidaasCRU1S2'], ], 'parameters' => [ [ 'name' => 'ApplicationExternalId', 'in' => 'query', - 'schema' => [ - 'title' => '应用外部Id', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '11122223333', - 'maxLength' => 64, - ], + 'schema' => ['title' => '', 'description' => 'The external ID of the application.', 'type' => 'string', 'required' => true, 'example' => '11122223333', 'maxLength' => 64], ], [ 'name' => 'UserId', 'in' => 'query', - 'schema' => [ - 'title' => '用户id', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'user-11122223333', - 'maxLength' => 64, - ], - ], - [ - 'name' => 'AuthenticatorName', - 'in' => 'query', - 'schema' => [ - 'title' => '认证器名字', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'TOTP-DefaultName', - 'maxLength' => 64, - ], + 'schema' => ['title' => '', 'description' => 'The user ID.', 'type' => 'string', 'required' => true, 'example' => 'user-11122223333', 'maxLength' => 64], ], [ 'name' => 'AuthenticatorUuid', 'in' => 'query', - 'schema' => [ - 'title' => '认证器uuid', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'c810731ad3af06e45171395abf19cf9cb00E7i97PhE', - 'maxLength' => 64, - ], + 'schema' => ['title' => '', 'description' => 'The UUID of the authenticator.', 'type' => 'string', 'required' => true, 'example' => 'a00712a4e56196755059356c290793031xHdUrCPXUS'], ], ], 'responses' => [ @@ -594,25 +269,40 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'D0F570B0-89CE-07F2-B41E-F97E089E13C6', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'D0F570B0-89CE-07F2-B41E-F97E089E13C6', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D0F570B0-89CE-07F2-B41E-F97E089E13C6\\"\\n}","type":"json"}]', - ], - 'GetAuthenticator' => [ - 'summary' => '查询单个认证器', - 'methods' => [ - 'post', + 'title' => 'Unregister an authenticator', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'idaas-doraemon:DeregisterAuthenticator', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IDaaSAuth', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'schemes' => [ - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeregisterAuthenticator'], + ], ], + ], + 'FetchAccessToken' => [ + 'summary' => 'Obtains a token for application API authorized access, which is used for subsequent authenticator-related API calls.', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -624,139 +314,96 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREidaasCRU1S2', - ], + 'abilityTreeNodes' => ['FEATUREidaasCRU1S2'], ], 'parameters' => [ [ + 'name' => 'MobileExtendParamsJson', + 'in' => 'query', + 'schema' => ['description' => 'The client extension JSON parameter. The value is a Base64-encoded JSON string.', 'type' => 'string', 'required' => true, 'example' => 'eyJhdHRhY2htZW50IjoicGxhdGZvcm0iLCJ1c2VyVmVyaWZpY2F0aW9uIjoicmVxdWlyZWQifQ==', 'title' => ''], + ], + [ + 'name' => 'MobileExtendParamsJsonSign', + 'in' => 'query', + 'schema' => ['description' => 'The value generated by signing MobileExtendParamsJson with the application secret. The signing method is HmacSHA256 + Hex.', 'type' => 'string', 'required' => true, 'example' => 'a3984bc27776bb6f65f82276f75d6a12d56e1b41e98ed6975d852b14309b8a20', 'title' => ''], + ], + [ + 'name' => 'ServerExtendParamsJson', + 'in' => 'query', + 'schema' => ['description' => 'The server extension JSON parameter. The value is a Base64-encoded JSON string.', 'type' => 'string', 'required' => false, 'example' => 'eyJhdHRhY2htZW50IjoicGxhdGZvcm0iLCJ1c2VyVmVyaWZpY2F0aW9uIjoicmVxdWlyZWQifQ==', 'title' => ''], + ], + [ 'name' => 'ApplicationExternalId', 'in' => 'query', - 'schema' => [ - 'title' => '应用外部Id', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '11122223333', - 'maxLength' => 64, - ], + 'schema' => ['description' => 'The external ID of the application.', 'type' => 'string', 'required' => true, 'example' => 'secAuthApp', 'title' => ''], ], [ - 'name' => 'UserId', + 'name' => 'XClientIp', 'in' => 'query', - 'schema' => [ - 'title' => '用户ID', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '1', - 'maxLength' => 64, - ], + 'schema' => ['description' => 'The client IP address.', 'type' => 'string', 'required' => false, 'example' => '124.127.214.94', 'title' => ''], ], [ - 'name' => 'AuthenticatorUuid', + 'name' => 'UserId', 'in' => 'query', - 'schema' => [ - 'title' => '认证器uuid', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '1331311', - 'maxLength' => 64, - ], + 'schema' => ['description' => 'The user identifier.', 'type' => 'string', 'required' => false, 'example' => '6ba923abf6749536b7fd31c6a31360fboOFZQ8WbzmG', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => '', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '123131312313', - ], - 'Authenticator' => [ - 'description' => '', + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'BD908DED-849D-5FDB-9C9B-52B1D3F9DC41', 'title' => ''], + 'Message' => ['description' => 'The message returned for the request.', 'type' => 'string', 'example' => 'Success', 'title' => ''], + 'Code' => ['description' => 'The status code returned for the request.', 'type' => 'string', 'example' => 'Operation.Success', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the operation was successful. A value of **true** indicates success.', 'type' => 'boolean', 'example' => 'True', 'title' => ''], + 'Data' => [ + 'description' => 'The data details.', 'type' => 'object', 'properties' => [ - 'AuthenticatorUuid' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - 'CredentialId' => [ - 'title' => '创建认证器的Options', - 'description' => '', - 'type' => 'string', - 'example' => '1313', - ], - 'Type' => [ - 'title' => '认证器类型', - 'description' => '', - 'type' => 'string', - 'example' => 'TOTP', - ], - 'AuthenticatorName' => [ - 'title' => '认证器名字', - 'description' => '', - 'type' => 'string', - 'example' => 'ceshi', - ], - 'RegisterTime' => [ - 'title' => '注册时间', - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1231313123', - ], - 'LastVerifyTime' => [ - 'title' => '最后验证时间', - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '123123', - ], - 'RegisterSourceIp' => [ - 'title' => '用户注册IP', - 'description' => '', - 'type' => 'string', - 'example' => '127.0.0.1', - ], - 'LastVerifySourceIp' => [ - 'title' => '用户最后签名IP', - 'description' => '', - 'type' => 'string', - 'example' => '127.0.0.1', - ], - 'LastVerifyUserAgent' => [ - 'title' => '用户最后签名userAgent', - 'description' => '', - 'type' => 'string', - 'example' => '123123', - ], - 'CustomAuthenticator' => [ - 'description' => '', - 'type' => 'string', - 'example' => '123123', - ], + 'Access_token' => ['description' => 'The access token.', 'type' => 'string', 'example' => 'eyciOi...jV_PTsxgaNA', 'title' => ''], + 'Token_type' => ['description' => 'The token type.', 'type' => 'string', 'example' => 'Bearer', 'title' => ''], + 'Scope' => ['description' => 'The access scope.', 'type' => 'string', 'example' => 'openid', 'title' => ''], + 'Expires_in' => ['description' => 'The expiration time.', 'type' => 'string', 'example' => '7200', 'title' => ''], + 'Refresh_token' => ['description' => 'The refresh token.', 'type' => 'string', 'example' => '7200', 'title' => ''], + 'Id_token' => ['description' => 'The identity token.', 'type' => 'string', 'example' => 'NiwiZW...wcmlzZUlk', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"123131312313\\",\\n \\"Authenticator\\": {\\n \\"AuthenticatorUuid\\": \\"你好!3132\\",\\n \\"CredentialId\\": \\"1313\\",\\n \\"Type\\": \\"TOTP\\",\\n \\"AuthenticatorName\\": \\"ceshi\\",\\n \\"RegisterTime\\": 1231313123,\\n \\"LastVerifyTime\\": 123123,\\n \\"RegisterSourceIp\\": \\"127.0.0.1\\",\\n \\"LastVerifySourceIp\\": \\"127.0.0.1\\",\\n \\"LastVerifyUserAgent\\": \\"123123\\",\\n \\"CustomAuthenticator\\": \\"123123\\"\\n }\\n}","type":"json"}]', - ], - 'ListAuthenticators' => [ - 'summary' => '列表查询认证器', - 'methods' => [ - 'get', - 'post', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BD908DED-849D-5FDB-9C9B-52B1D3F9DC41\\",\\n \\"Message\\": \\"Success\\",\\n \\"Code\\": \\"Operation.Success\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"Access_token\\": \\"eyciOi...jV_PTsxgaNA\\",\\n \\"Token_type\\": \\"Bearer\\",\\n \\"Scope\\": \\"openid\\",\\n \\"Expires_in\\": \\"7200\\",\\n \\"Refresh_token\\": \\"7200\\",\\n \\"Id_token\\": \\"NiwiZW...wcmlzZUlk\\"\\n }\\n}","type":"json"}]', + 'title' => 'Obtain an application API authorized access token', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'idaas-doraemon:FetchAccessToken', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IDaaSAuth', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'schemes' => [ - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'FetchAccessToken'], + ], ], + ], + 'GetAuthenticator' => [ + 'summary' => 'Retrieves the details of an authenticator.', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -765,175 +412,85 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREidaasCRU1S2', - ], + 'abilityTreeNodes' => ['FEATUREidaasCRU1S2'], ], 'parameters' => [ [ 'name' => 'ApplicationExternalId', 'in' => 'query', - 'schema' => [ - 'title' => '应用外部Id', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '11122223333', - 'maxLength' => 64, - ], + 'schema' => ['title' => '', 'description' => 'The external ID of the application.', 'type' => 'string', 'required' => true, 'example' => '11122223333', 'maxLength' => 64], ], [ 'name' => 'UserId', 'in' => 'query', - 'schema' => [ - 'title' => '用户id', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'user-11122223333', - 'maxLength' => 64, - ], - ], - [ - 'name' => 'AuthenticatorType', - 'in' => 'query', - 'schema' => [ - 'title' => '认证器类型', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'TOTP', - ], + 'schema' => ['title' => '', 'description' => 'The user ID.', 'type' => 'string', 'required' => true, 'example' => '1', 'maxLength' => 64], ], [ - 'name' => 'PageNumber', - 'in' => 'query', - 'schema' => [ - 'title' => '当前开始读取的位置,不设置时默认为1', - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', - ], - ], - [ - 'name' => 'PageSize', + 'name' => 'AuthenticatorUuid', 'in' => 'query', - 'schema' => [ - 'title' => '本次读取的最大数据记录数量,不指定时使用默认值', - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '5', - ], + 'schema' => ['title' => '', 'description' => 'The UUID of the authenticator.', 'type' => 'string', 'required' => true, 'maxLength' => 64, 'example' => '1331311'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '531FA210-6F3D-5368-9AE2-AD7B9D1D5CAA', - ], - 'PageNumber' => [ - 'title' => '读取到的位置', - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'TotalCount' => [ - 'title' => '查询结果数据总数', - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '13', - ], - 'PageSize' => [ - 'title' => '每页记录数量', - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '5', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '123131312313', 'title' => ''], 'Authenticator' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'ApplicationExternalId' => [ - 'title' => '应用ID', - 'description' => '', - 'type' => 'string', - 'example' => 'webauth_demo', - ], - 'AuthenticatorUuid' => [ - 'title' => '认证器uuid', - 'description' => '', - 'type' => 'string', - 'example' => '0fcd5fce3fdc42052633a65eb242f10aZ8nzoQMpV3m', - ], - 'CredentialId' => [ - 'title' => '身份认证ID', - 'description' => '', - 'type' => 'string', - 'example' => 'scimcred-00skzv5noh34r5aoci76', - ], - 'Type' => [ - 'title' => '认证器类型', - 'description' => '', - 'type' => 'string', - 'example' => 'TOTP', - ], - 'AuthenticatorName' => [ - 'title' => '身份认证对应的认证器名称', - 'description' => '', - 'type' => 'string', - 'example' => 'TOTP-DefaultName', - ], - 'RegisterTime' => [ - 'title' => '创建时间', - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1342800000000', - ], - 'LastVerifyTime' => [ - 'title' => '最后验证时间,如果新注册则为注册时间', - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '123123', - ], - ], + 'description' => 'The authenticator object.', + 'type' => 'object', + 'properties' => [ + 'AuthenticatorUuid' => ['description' => 'The UUID of the authenticator.', 'type' => 'string', 'example' => '你好!3132', 'title' => ''], + 'CredentialId' => ['title' => '', 'description' => 'The options used to create the authenticator.', 'type' => 'string', 'example' => '1313'], + 'Type' => ['title' => '', 'description' => 'The type of the authenticator.', 'type' => 'string', 'example' => 'TOTP'], + 'AuthenticatorName' => ['title' => '', 'description' => 'The name of the authenticator.', 'type' => 'string', 'example' => 'ceshi'], + 'RegisterTime' => ['title' => '', 'description' => 'The registration time.', 'type' => 'integer', 'format' => 'int64', 'example' => '1231313123'], + 'LastVerifyTime' => ['title' => '', 'description' => 'The last verification time.', 'type' => 'integer', 'format' => 'int64', 'example' => '123123'], + 'RegisterSourceIp' => ['title' => '', 'description' => 'The IP address used for user registration.', 'type' => 'string', 'example' => '127.0.0.1'], + 'LastVerifySourceIp' => ['title' => '', 'description' => 'The IP address used for the last signing operation.', 'type' => 'string', 'example' => '127.0.0.1'], + 'LastVerifyUserAgent' => ['title' => '', 'description' => 'The user agent used for the last signing operation.', 'type' => 'string', 'example' => '123123'], + 'CustomAuthenticator' => ['description' => 'The authenticator.', 'type' => 'string', 'example' => '123123', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"531FA210-6F3D-5368-9AE2-AD7B9D1D5CAA\\",\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 13,\\n \\"PageSize\\": 5,\\n \\"Authenticator\\": [\\n {\\n \\"ApplicationExternalId\\": \\"webauth_demo\\",\\n \\"AuthenticatorUuid\\": \\"0fcd5fce3fdc42052633a65eb242f10aZ8nzoQMpV3m\\",\\n \\"CredentialId\\": \\"scimcred-00skzv5noh34r5aoci76\\",\\n \\"Type\\": \\"TOTP\\",\\n \\"AuthenticatorName\\": \\"TOTP-DefaultName\\",\\n \\"RegisterTime\\": 1342800000000,\\n \\"LastVerifyTime\\": 123123\\n }\\n ]\\n}","type":"json"}]', - ], - 'ListAuthenticatorOpsLogs' => [ - 'summary' => '列表查询认证器操作日志', - 'methods' => [ - 'get', - 'post', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"123131312313\\",\\n \\"Authenticator\\": {\\n \\"AuthenticatorUuid\\": \\"你好!3132\\",\\n \\"CredentialId\\": \\"1313\\",\\n \\"Type\\": \\"TOTP\\",\\n \\"AuthenticatorName\\": \\"ceshi\\",\\n \\"RegisterTime\\": 1231313123,\\n \\"LastVerifyTime\\": 123123,\\n \\"RegisterSourceIp\\": \\"127.0.0.1\\",\\n \\"LastVerifySourceIp\\": \\"127.0.0.1\\",\\n \\"LastVerifyUserAgent\\": \\"123123\\",\\n \\"CustomAuthenticator\\": \\"123123\\"\\n }\\n}","type":"json"}]', + 'title' => 'Retrieve authenticator details', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'idaas-doraemon:GetAuthenticator', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IDaaSAuth', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'schemes' => [ - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetAuthenticator'], + ], ], + ], + 'ListAuthenticatorOpsLogs' => [ + 'summary' => 'Queries the operation logs of an authenticator.', + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -945,389 +502,261 @@ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREidaasCRU1S2', - ], + 'abilityTreeNodes' => ['FEATUREidaasCRU1S2'], ], 'parameters' => [ [ 'name' => 'ApplicationExternalId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'webauth_demo', - ], + 'schema' => ['description' => 'The external ID of the application.', 'type' => 'string', 'required' => true, 'example' => 'webauth_demo', 'title' => ''], ], [ 'name' => 'UserId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'wsnidfr', - ], + 'schema' => ['description' => 'The user identifier.', 'type' => 'string', 'required' => false, 'example' => 'wsnidfr', 'title' => ''], ], [ 'name' => 'AuthenticatorUuid', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'c810731ad3af06e45171395abf19cf9cb00E7i97PhE', - ], + 'schema' => ['description' => 'The unique identifier of the authenticator.', 'type' => 'string', 'required' => false, 'example' => 'c810731ad3af06e45171395abf19cf9cb00E7i97PhE', 'title' => ''], ], [ 'name' => 'AuthenticatorType', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'webauthn', - ], + 'schema' => ['description' => 'The type of the authenticator.', 'type' => 'string', 'required' => false, 'example' => 'webauthn', 'title' => ''], ], [ 'name' => 'FromTime', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1647232996712', - ], + 'schema' => ['description' => 'The start time of the query range.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1647232996712', 'title' => ''], ], [ 'name' => 'ToTime', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1647232996812', - ], + 'schema' => ['description' => 'The end time of the query range.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1647232996812', 'title' => ''], ], [ 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', - 'default' => '1', - ], + 'schema' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int64', 'default' => '1', 'required' => false, 'example' => '1', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '10', - 'default' => '20', - ], + 'schema' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int64', 'default' => '20', 'required' => false, 'example' => '10', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '', + 'description' => 'The response parameters.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '39FF2C8B-73E7-5BA5-AC25-20EEAC37BAB0', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '39FF2C8B-73E7-5BA5-AC25-20EEAC37BAB0', 'title' => ''], 'AuthenticationLogContent' => [ - 'description' => '', + 'description' => 'The collection of log entries.', 'type' => 'array', 'items' => [ - 'description' => '', + 'description' => 'The log entry.', 'type' => 'object', 'properties' => [ - 'TenantId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'ed0222867189ad2bacfa746843d4b9692mlWC9sU3zl', - ], - 'AliUid' => [ - 'description' => '', - 'type' => 'string', - 'example' => '1218758215717204', - ], - 'ApplicationUuid' => [ - 'description' => '', - 'type' => 'string', - 'example' => '2bba0564edce2ff90c544dc623d1c1f5iPpCGAqTioA', - ], - 'ApplicationExternalId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'webauth_demo', - ], - 'UserId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '3b323', - ], - 'AuthenticatorUuid' => [ - 'description' => '', - 'type' => 'string', - 'example' => '0fcd5fce3fdc42052633a65eb242f10aZ8nzoQMpV3m', - ], - 'AuthenticatorName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'TOTP-DefaultName', - ], - 'CredentialId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'scimcred-00t3zfhiy2ylzvm2i287', - ], - 'AuthenticatorType' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'TOTP', - ], - 'OperationAction' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'ListTagResources', - ], - 'ChallengeBase64' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'exfa', - ], - 'OperationTime' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1647309893086', - ], - 'UserAgent' => [ - 'description' => '', - 'type' => 'string', - 'example' => '10.13.1.56', - ], - 'UserSourceIp' => [ - 'description' => '', - 'type' => 'string', - 'example' => '10.13.1.56', - ], - 'RawContext' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - 'OperationResult' => [ - 'description' => '', - 'type' => 'boolean', - 'example' => 'True', - ], - 'ErrorCode' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Failed', - ], - 'ErrorMessage' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'user not exist, alipayId=2088022534411015', - ], - 'LogParams' => [ - 'description' => '', - 'type' => 'string', - 'example' => '1', - ], + 'TenantId' => ['description' => 'The tenant ID.', 'type' => 'string', 'example' => 'ed0222867189ad2bacfa746843d4b9692mlWC9sU3zl', 'title' => ''], + 'AliUid' => ['description' => 'The Alibaba Cloud account ID.', 'type' => 'string', 'example' => '1218758215717204', 'title' => ''], + 'ApplicationUuid' => ['description' => 'The UUID of the application.', 'type' => 'string', 'example' => '2bba0564edce2ff90c544dc623d1c1f5iPpCGAqTioA', 'title' => ''], + 'ApplicationExternalId' => ['description' => 'The external ID of the application.', 'type' => 'string', 'example' => 'webauth_demo', 'title' => ''], + 'UserId' => ['description' => 'The user identifier.', 'type' => 'string', 'example' => '3b323', 'title' => ''], + 'AuthenticatorUuid' => ['description' => 'The UUID of the authenticator.', 'type' => 'string', 'example' => '0fcd5fce3fdc42052633a65eb242f10aZ8nzoQMpV3m', 'title' => ''], + 'AuthenticatorName' => ['description' => 'The name of the authenticator.', 'type' => 'string', 'example' => 'TOTP-DefaultName', 'title' => ''], + 'CredentialId' => ['description' => 'The credential ID.', 'type' => 'string', 'example' => 'scimcred-00t3zfhiy2ylzvm2i287', 'title' => ''], + 'AuthenticatorType' => ['description' => 'The type of the authenticator.', 'type' => 'string', 'example' => 'TOTP', 'title' => ''], + 'OperationAction' => ['description' => 'The operation action.', 'type' => 'string', 'example' => 'ListTagResources', 'title' => ''], + 'ChallengeBase64' => ['description' => 'The Base64-encoded anti-replay challenge code.', 'type' => 'string', 'example' => 'exfa', 'title' => ''], + 'OperationTime' => ['description' => 'The timestamp of the operation.', 'type' => 'integer', 'format' => 'int64', 'example' => '1647309893086', 'title' => ''], + 'UserAgent' => ['description' => 'The user agent.', 'type' => 'string', 'example' => '10.13.1.56', 'title' => ''], + 'UserSourceIp' => ['description' => 'The source IP address of the user.', 'type' => 'string', 'example' => '10.13.1.56', 'title' => ''], + 'RawContext' => ['description' => 'The raw log text.', 'type' => 'string', 'example' => '登录成功', 'title' => ''], + 'OperationResult' => ['description' => 'Indicates whether the operation was successful.', 'type' => 'boolean', 'example' => 'True', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'Failed', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'user not exist, alipayId=2088022534411015', 'title' => ''], + 'LogParams' => ['description' => 'The log parameters.', 'type' => 'string', 'example' => '1', 'title' => ''], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], - 'TotalCount' => [ - 'title' => '返回列表长度', - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '3', - ], - 'PageNumber' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'PageSize' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], + 'TotalCount' => ['title' => '', 'description' => 'The total number of entries returned.', 'type' => 'integer', 'format' => 'int64', 'example' => '3'], + 'PageNumber' => ['description' => 'The current page number.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'PageSize' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"39FF2C8B-73E7-5BA5-AC25-20EEAC37BAB0\\",\\n \\"AuthenticationLogContent\\": [\\n {\\n \\"TenantId\\": \\"ed0222867189ad2bacfa746843d4b9692mlWC9sU3zl\\",\\n \\"AliUid\\": \\"1218758215717204\\",\\n \\"ApplicationUuid\\": \\"2bba0564edce2ff90c544dc623d1c1f5iPpCGAqTioA\\",\\n \\"ApplicationExternalId\\": \\"webauth_demo\\",\\n \\"UserId\\": \\"3b323\\",\\n \\"AuthenticatorUuid\\": \\"0fcd5fce3fdc42052633a65eb242f10aZ8nzoQMpV3m\\",\\n \\"AuthenticatorName\\": \\"TOTP-DefaultName\\",\\n \\"CredentialId\\": \\"scimcred-00t3zfhiy2ylzvm2i287\\",\\n \\"AuthenticatorType\\": \\"TOTP\\",\\n \\"OperationAction\\": \\"ListTagResources\\",\\n \\"ChallengeBase64\\": \\"exfa\\",\\n \\"OperationTime\\": 1647309893086,\\n \\"UserAgent\\": \\"10.13.1.56\\",\\n \\"UserSourceIp\\": \\"10.13.1.56\\",\\n \\"RawContext\\": \\"登录成功\\",\\n \\"OperationResult\\": true,\\n \\"ErrorCode\\": \\"Failed\\",\\n \\"ErrorMessage\\": \\"user not exist, alipayId=2088022534411015\\",\\n \\"LogParams\\": \\"1\\"\\n }\\n ],\\n \\"TotalCount\\": 3,\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10\\n}","type":"json"}]', - ], - 'RegisterAuthenticator' => [ - 'summary' => '注册认证器', - 'methods' => [ - 'post', + 'title' => 'Authenticator operation logs', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'idaas-doraemon:ListAuthenticatorOpsLogs', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IDaaSAuth', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'schemes' => [ - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListAuthenticatorOpsLogs'], + ], ], + ], + 'ListAuthenticators' => [ + 'summary' => 'Retrieves all authenticators.', + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREidaasCRU1S2', - ], + 'abilityTreeNodes' => ['FEATUREidaasCRU1S2'], ], 'parameters' => [ [ 'name' => 'ApplicationExternalId', 'in' => 'query', - 'schema' => [ - 'title' => '应用外部Id', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '11122223333', - 'maxLength' => 64, - ], + 'schema' => ['title' => '', 'description' => 'The external ID of the application.', 'type' => 'string', 'required' => true, 'example' => '11122223333', 'maxLength' => 64], ], [ - 'name' => 'AuthenticatorType', + 'name' => 'UserId', 'in' => 'query', - 'schema' => [ - 'title' => '认证器类型', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'webauthn', - 'maxLength' => 32, - ], + 'schema' => ['title' => '', 'description' => 'The user ID.', 'type' => 'string', 'required' => true, 'example' => 'user-11122223333', 'maxLength' => 64], ], [ - 'name' => 'UserId', + 'name' => 'AuthenticatorType', 'in' => 'query', - 'schema' => [ - 'title' => '用户id', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'user-11122223333', - 'maxLength' => 64, - ], + 'schema' => ['title' => '', 'description' => 'The type of the authenticator.', 'type' => 'string', 'required' => false, 'example' => 'TOTP'], ], [ - 'name' => 'AuthenticatorName', + 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'title' => '认证器名字', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'ZhangSan\'s authenticator', - 'maxLength' => 64, - ], + 'schema' => ['title' => '', 'description' => 'The page number to return. Default value: 1.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'], ], [ - 'name' => 'RegistrationContext', + 'name' => 'PageSize', 'in' => 'query', + 'schema' => ['title' => '', 'description' => 'The maximum number of records to return per page. If not specified, the default value is used.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '5'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'title' => '注册上下文', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '{}', - 'maxLength' => 3096, + 'description' => 'The response parameters.', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '531FA210-6F3D-5368-9AE2-AD7B9D1D5CAA', 'title' => ''], + 'PageNumber' => ['title' => '', 'description' => 'The page number returned.', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'TotalCount' => ['title' => '', 'description' => 'The total number of records in the query result.', 'type' => 'integer', 'format' => 'int64', 'example' => '13'], + 'PageSize' => ['title' => '', 'description' => 'The number of records per page.', 'type' => 'integer', 'format' => 'int64', 'example' => '5'], + 'Authenticator' => [ + 'description' => 'The authenticators.', + 'type' => 'array', + 'items' => [ + 'description' => 'The authenticator object.', + 'type' => 'object', + 'properties' => [ + 'ApplicationExternalId' => ['title' => '', 'description' => 'The application ID.', 'type' => 'string', 'example' => 'webauth_demo'], + 'AuthenticatorUuid' => ['title' => '', 'description' => 'The UUID of the authenticator.', 'type' => 'string', 'example' => '0fcd5fce3fdc42052633a65eb242f10aZ8nzoQMpV3m'], + 'CredentialId' => ['title' => '', 'description' => 'The credential ID.', 'type' => 'string', 'example' => 'scimcred-00skzv5noh34r5aoci76'], + 'Type' => ['title' => '', 'description' => 'The type of the authenticator.', 'type' => 'string', 'example' => 'TOTP'], + 'AuthenticatorName' => ['title' => '', 'description' => 'The name of the authenticator associated with the credential.', 'type' => 'string', 'example' => 'TOTP-DefaultName'], + 'RegisterTime' => ['title' => '', 'description' => 'The time when the authenticator was created.', 'type' => 'integer', 'format' => 'int64', 'example' => '1342800000000'], + 'LastVerifyTime' => ['title' => '', 'description' => 'The time of the last verification. If the authenticator is newly registered, this value is the registration time.', 'type' => 'integer', 'format' => 'int64', 'example' => '123123'], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', ], ], - [ - 'name' => 'RequireChallengeBase64', - 'in' => 'query', - 'schema' => [ - 'title' => '会话绑定的challenge base64标识', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'AAAAdda', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"531FA210-6F3D-5368-9AE2-AD7B9D1D5CAA\\",\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 13,\\n \\"PageSize\\": 5,\\n \\"Authenticator\\": [\\n {\\n \\"ApplicationExternalId\\": \\"webauth_demo\\",\\n \\"AuthenticatorUuid\\": \\"0fcd5fce3fdc42052633a65eb242f10aZ8nzoQMpV3m\\",\\n \\"CredentialId\\": \\"scimcred-00skzv5noh34r5aoci76\\",\\n \\"Type\\": \\"TOTP\\",\\n \\"AuthenticatorName\\": \\"TOTP-DefaultName\\",\\n \\"RegisterTime\\": 1342800000000,\\n \\"LastVerifyTime\\": 123123\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'List authenticators', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'idaas-doraemon:ListAuthenticators', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IDaaSAuth', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListAuthenticators'], + ], + ], + ], + 'ListCostUnitOrders' => [ + 'summary' => 'Performs a paged query of orders and their compute unit (CU) usage information, sorted by creation time in descending order. Paging is supported.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'ClientExtendParamsJson', - 'in' => 'query', - 'schema' => [ - 'title' => '客户端SDK生成认证上下文', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '由具体认证方式决定', - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREidaasCRU1S2'], + ], + 'parameters' => [ [ - 'name' => 'ClientExtendParamsJsonSign', + 'name' => 'BeginDate', 'in' => 'query', - 'schema' => [ - 'title' => '客户端SDK生成认证上下文签名信息', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '由具体认证方式决定', - ], + 'schema' => ['title' => '', 'description' => 'The start of the creation time range.', 'type' => 'string', 'required' => false, 'example' => '2021-11-16'], ], [ - 'name' => 'ServerExtendParamsJson', + 'name' => 'FinalDate', 'in' => 'query', - 'schema' => [ - 'title' => '服务端配置项,决定认证要求属性', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '由具体认证方式决定', - ], + 'schema' => ['title' => '', 'description' => 'The end of the creation time range.', 'type' => 'string', 'required' => false, 'example' => '2021-12-04 00'], ], [ - 'name' => 'UserSourceIp', + 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'title' => '用户端来源IP地址,用于审计', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '127.0.0.1', - ], + 'schema' => ['title' => '', 'description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'default' => '0', 'required' => false, 'example' => '1'], ], [ - 'name' => 'LogParams', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'title' => '用户自定义记录审计日志信息', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '123123', - ], + 'schema' => ['title' => '', 'description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'default' => '0', 'required' => false, 'example' => '10'], ], ], 'responses' => [ @@ -1335,308 +764,417 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '23123', - ], - 'AuthenticatorUuid' => [ - 'title' => '认证器UUID', - 'description' => '', - 'type' => 'string', - 'example' => '123123123', - ], - 'EtasResponseSting' => [ - 'title' => '仅IFAA认证器注册返回', - 'description' => '', - 'type' => 'string', + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'A82621A5-715C-5486-80E9-9262EE43BA55', 'title' => ''], + 'TotalPages' => ['description' => 'The total number of pages.', 'type' => 'integer', 'format' => 'int64', 'example' => '2', 'title' => ''], + 'TotalElements' => ['description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int64', 'example' => '12', 'title' => ''], + 'PageSize' => ['description' => 'The page size.', 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => ''], + 'Items' => [ + 'description' => 'The list of returned records.', + 'type' => 'array', + 'items' => [ + 'description' => 'The record details.', + 'type' => 'object', + 'properties' => [ + 'AliOrderCode' => ['title' => '', 'description' => 'The Alibaba Cloud order ID.', 'type' => 'string', 'example' => '215222637610732'], + 'AliOrderInstanceId' => ['title' => '', 'description' => 'The Alibaba Cloud order instance name.', 'type' => 'string', 'example' => 'idaas_auth_public_cn-pl32pciy101'], + 'TotalCostUnit' => ['title' => '', 'description' => 'The total CU value, in milli-CUs. The actual purchased CU value multiplied by 1000.', 'type' => 'integer', 'format' => 'int64', 'example' => '100000'], + 'UsedCostUnit' => ['title' => '', 'description' => 'The used CU value, in milli-CUs. The actual used CU value multiplied by 1000.', 'type' => 'integer', 'format' => 'int64', 'example' => '100'], + 'OrderStatus' => ['title' => '', 'description' => 'The order status. Valid values:'."\n" + .'- VALID: valid.'."\n" + .'- REFUND: refunded.'."\n" + .'- EXPIRED: expired.', 'type' => 'string', 'example' => 'VALID'], + 'CreateTime' => ['title' => '', 'description' => 'The creation time.', 'type' => 'integer', 'format' => 'int64', 'example' => '1646028448000'], + 'ExpiredTime' => ['title' => '', 'description' => 'The expiration time.', 'type' => 'integer', 'format' => 'int64', 'example' => '1923321600000'], + 'RefundTime' => ['title' => '', 'description' => 'The refund time, in millisecond-level UNIX timestamp. This parameter is returned only when the order has been refunded.', 'type' => 'integer', 'format' => 'int64', 'example' => '1923321600000'], + 'Exhausted' => ['type' => 'boolean', 'description' => '', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"23123\\",\\n \\"AuthenticatorUuid\\": \\"123123123\\",\\n \\"EtasResponseSting\\": \\"\\"\\n}","type":"json"}]', - ], - 'VerifyUserAuthentication' => [ - 'summary' => '认证用户', - 'methods' => [ - 'post', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A82621A5-715C-5486-80E9-9262EE43BA55\\",\\n \\"TotalPages\\": 2,\\n \\"TotalElements\\": 12,\\n \\"PageSize\\": 10,\\n \\"Items\\": [\\n {\\n \\"AliOrderCode\\": \\"215222637610732\\",\\n \\"AliOrderInstanceId\\": \\"idaas_auth_public_cn-pl32pciy101\\",\\n \\"TotalCostUnit\\": 100000,\\n \\"UsedCostUnit\\": 100,\\n \\"OrderStatus\\": \\"VALID\\",\\n \\"CreateTime\\": 1646028448000,\\n \\"ExpiredTime\\": 1923321600000,\\n \\"RefundTime\\": 1923321600000,\\n \\"Exhausted\\": false\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'List orders and CU usage', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'idaas-doraemon:ListCostUnitOrders', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IDaaSAuth', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'schemes' => [ - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListCostUnitOrders'], + ], ], + ], + 'ListOrderConsumeStatisticRecords' => [ + 'summary' => 'Queries daily usage statistics records for an order by using paging. Results are sorted by statistical date in ascending order. The maximum date range is 31 days. If the specified range exceeds 31 days, the system counts 31 days backward from the maximum date. Statistics are generated on a T+1 basis, and the previous day\'s usage is available before 12:00 of the current day.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '91635', - 'abilityTreeNodes' => [ - 'FEATUREidaasCRU1S2', - ], - 'autoTest' => false, - 'notSupportAutoTestReason' => '需要配合移动端SDK动态参数进行', - 'tenantRelevance' => 'publicInformation', + 'abilityTreeNodes' => ['FEATUREidaasCRU1S2'], ], 'parameters' => [ [ - 'name' => 'ApplicationExternalId', + 'name' => 'AliOrderCode', 'in' => 'query', - 'schema' => [ - 'title' => '应用外部Id', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '11122223333', - 'maxLength' => 64, - ], + 'schema' => ['title' => '', 'description' => 'The Alibaba Cloud order ID.', 'type' => 'string', 'required' => false, 'example' => '211283925690732'], ], [ - 'name' => 'AuthenticatorType', + 'name' => 'StatisticTimeMin', 'in' => 'query', - 'schema' => [ - 'title' => '认证器类型', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'webauthn', - 'maxLength' => 32, - ], + 'schema' => ['title' => '', 'description' => 'The minimum statistical date.', 'type' => 'string', 'required' => false, 'example' => '2022-05-31'], ], [ - 'name' => 'UserId', + 'name' => 'StatisticTimeMax', 'in' => 'query', - 'schema' => [ - 'title' => '用户id', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'user-11122223333', - 'maxLength' => 64, - ], + 'schema' => ['title' => '', 'description' => 'The maximum statistical date. Default value: yesterday.', 'type' => 'string', 'required' => false, 'example' => '2022-05-31'], ], [ - 'name' => 'AuthenticationContext', + 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'title' => '认证上下文,由AuthenticatorType决定格式', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '{}', - ], + 'schema' => ['title' => '', 'description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], [ - 'name' => 'RequireChallengeBase64', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'title' => '会话绑定的challenge base64标识', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'AAAAdda', - ], + 'schema' => ['title' => '', 'description' => 'The number of records per page.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'], ], [ - 'name' => 'RequireBindHashBase64', + 'name' => 'ApplicationExternalId', 'in' => 'query', - 'schema' => [ - 'title' => '认证绑定的操作hash base64标识', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'AAAAdda', - ], + 'schema' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], ], [ - 'name' => 'ClientExtendParamsJson', + 'name' => 'ServiceCode', 'in' => 'query', + 'schema' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'title' => '客户端SDK生成认证上下文', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '1655384783875'], + 'TotalPages' => ['title' => '', 'description' => 'The total number of pages.', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'TotalElements' => ['title' => '', 'description' => 'The total number of records.', 'type' => 'integer', 'format' => 'int64', 'example' => '100'], + 'PageSize' => ['title' => '', 'description' => 'The number of records per page.', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'Items' => [ + 'title' => '', + 'description' => 'The list of data items.', + 'type' => 'array', + 'items' => [ + 'title' => '', + 'description' => 'The details of the data item.', + 'type' => 'object', + 'properties' => [ + 'AliOrderCode' => ['title' => '', 'description' => 'The Alibaba Cloud order ID.', 'type' => 'string', 'example' => '23567876823'], + 'StatisticTime' => ['title' => '', 'description' => 'The statistical date. The value is a UNIX timestamp accurate to seconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1655388050'], + 'ApplicationExternalId' => ['title' => '', 'description' => 'The external application identifier.', 'type' => 'string', 'example' => 'sms_auth'], + 'ServiceCode' => ['title' => '', 'description' => 'The service code.', 'type' => 'string', 'example' => 'SMS'], + 'UnitPrice' => ['title' => '', 'description' => 'The unit price.', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'ChargedCount' => ['title' => '', 'description' => 'The billable count.', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'TotalPrice' => ['title' => '', 'description' => 'The total price.', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + ], + 'example' => '', + ], + 'example' => '', + ], + ], 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '由具体认证方式决定', + 'title' => '', + 'example' => '', ], ], - [ - 'name' => 'ClientExtendParamsJsonSign', - 'in' => 'query', - 'schema' => [ - 'title' => '客户端SDK生成认证上下文签名信息', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '由具体认证方式决定', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1655384783875\\",\\n \\"TotalPages\\": 10,\\n \\"TotalElements\\": 100,\\n \\"PageSize\\": 10,\\n \\"Items\\": [\\n {\\n \\"AliOrderCode\\": \\"23567876823\\",\\n \\"StatisticTime\\": 1655388050,\\n \\"ApplicationExternalId\\": \\"sms_auth\\",\\n \\"ServiceCode\\": \\"SMS\\",\\n \\"UnitPrice\\": 10,\\n \\"ChargedCount\\": 1,\\n \\"TotalPrice\\": 10\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'Query daily usage statistics records for an order', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'idaas-doraemon:ListOrderConsumeStatisticRecords', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IDaaSAuth', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListOrderConsumeStatisticRecords'], + ], + ], + ], + 'ListPwnedPasswords' => [ + 'summary' => 'Detects password leaks.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'ServerExtendParamsJson', + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREidaasCRU1S2'], + ], + 'parameters' => [ + [ + 'name' => 'PrefixHexPasswordSha1Hash', 'in' => 'query', + 'schema' => ['description' => 'The first six characters of the SHA1 hash value of the password.', 'type' => 'string', 'required' => true, 'example' => '000000', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'title' => '服务端配置项,决定认证要求属性', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '由具体认证方式决定', + 'title' => '', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => '', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'D0F570B0-89CE-07F2-B41E-F97E089E13C6'], + 'PageNumber' => ['description' => 'The current page number.', 'type' => 'integer', 'format' => 'int64', 'example' => '2', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of entries returned.', 'type' => 'integer', 'format' => 'int64', 'example' => '80', 'title' => ''], + 'PageSize' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => ''], + 'PwnedPasswordInfos' => [ + 'description' => 'The collection of leaked passwords.', + 'type' => 'array', + 'items' => [ + 'description' => 'The leaked password object.', + 'type' => 'object', + 'properties' => [ + 'HexPasswordSha1Hash' => ['description' => 'The SHA1 hash value of the password.', 'type' => 'string', 'example' => '0000', 'title' => ''], + 'PwnedCount' => ['description' => 'The number of times the password has been leaked.', 'type' => 'integer', 'format' => 'int64', 'example' => '84', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'example' => '', ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D0F570B0-89CE-07F2-B41E-F97E089E13C6\\",\\n \\"PageNumber\\": 2,\\n \\"TotalCount\\": 80,\\n \\"PageSize\\": 10,\\n \\"PwnedPasswordInfos\\": [\\n {\\n \\"HexPasswordSha1Hash\\": \\"0000\\",\\n \\"PwnedCount\\": 84\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'Detect password leaks', + 'changeSet' => [], + 'ramActions' => [ [ - 'name' => 'UserSourceIp', - 'in' => 'query', - 'schema' => [ - 'title' => '用户端来源IP地址,用于审计', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '127.0.0.1', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'idaas-doraemon:ListPwnedPasswords', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IDaaSAuth', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '2000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListPwnedPasswords'], + ], + ], + ], + 'QuerySmsReports' => [ + 'summary' => 'Queries SMS delivery receipts.', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'LogTag', + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREidaasCRU1S2'], + ], + 'parameters' => [ + [ + 'name' => 'AppId', 'in' => 'query', - 'schema' => [ - 'title' => '用户自定义记录审计日志标签', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'login', - ], + 'schema' => ['description' => 'The application ID.', 'type' => 'string', 'required' => false, 'example' => 'doraemon_xxxxx', 'title' => ''], ], [ - 'name' => 'LogParams', + 'name' => 'EventId', 'in' => 'query', - 'schema' => [ - 'title' => '用户自定义记录审计日志信息', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '123123', - ], + 'schema' => ['description' => 'The event ID.', 'type' => 'string', 'required' => false, 'example' => 'eventId_xxxxxx', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '', + 'title' => '', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '83ED3BC7-B36E-53B5-83D4-152CF2088DB9', - ], - 'VerifyResult' => [ - 'title' => '认证结果,true or false', - 'description' => '', - 'type' => 'boolean', - 'example' => 'true', - ], - 'AuthenticateResultInfo' => [ - 'title' => '认证结果', - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'UserId' => [ - 'title' => '认证通过的用户Id', - 'description' => '', - 'type' => 'string', - 'example' => '3b32', - ], - 'CredentialId' => [ - 'title' => '认证使用的凭据Id', - 'description' => '', - 'type' => 'string', - 'example' => 'scimcred-000vfaknfwlp8kesl520', - ], - 'BindHashBase64' => [ - 'title' => '这次认证绑定的操作hash', - 'description' => '', - 'type' => 'string', - 'example' => '10e8c224555bba8bfb780badebc4a08cc1Z6LmC6Hp9', + 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '4581B16-xxxxx'], + 'TotalElements' => ['description' => 'The number of receipts.', 'type' => 'integer', 'format' => 'int64', 'example' => '15', 'title' => ''], + 'SmsReports' => [ + 'description' => 'The query results of the report data.', + 'type' => 'array', + 'items' => [ + 'description' => 'The query results of the report data.', + 'type' => 'object', + 'properties' => [ + 'Tid' => ['description' => 'The task ID.', 'type' => 'string', 'example' => '3514', 'title' => ''], + 'Mobile' => ['description' => 'The mobile phone number.', 'type' => 'string', 'example' => '156xxxxxxxx', 'title' => ''], + 'Code' => ['description' => 'The error code.', 'type' => 'string', 'example' => '0', 'title' => ''], + 'Stat' => ['description' => 'The SMS status.', 'type' => 'string', 'example' => 'DELIVRD', 'title' => ''], + 'Sn' => ['description' => 'The extension number.', 'type' => 'string', 'example' => '"d36xxxxx3573772f159f616ebJ8KGPBg7Hr::appId::123456::Bird"', 'title' => ''], + 'TenantId' => ['description' => 'The tenant ID.', 'type' => 'string', 'example' => 'd36a370f33f037233573772f15xxxxxx', 'title' => ''], + 'AppId' => ['description' => 'The application ID.', 'type' => 'string', 'example' => 'appid', 'title' => ''], + 'EventId' => ['description' => 'The event ID.', 'type' => 'string', 'example' => 'event_xxxx', 'title' => ''], + 'Time' => ['description' => 'The receipt time.', 'type' => 'string', 'example' => '20220823171446', 'title' => ''], + 'ChargedCount' => ['type' => 'integer', 'format' => 'int32', 'description' => '', 'title' => '', 'example' => ''], ], + 'title' => '', + 'example' => '', ], - ], - 'EtasSDKString' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'zmtdjb', - ], - 'IdToken' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'qacdfhigvbcvb', + 'title' => '', + 'example' => '', ], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"83ED3BC7-B36E-53B5-83D4-152CF2088DB9\\",\\n \\"VerifyResult\\": true,\\n \\"AuthenticateResultInfo\\": {\\n \\"UserId\\": \\"3b32\\",\\n \\"CredentialId\\": \\"scimcred-000vfaknfwlp8kesl520\\",\\n \\"BindHashBase64\\": \\"10e8c224555bba8bfb780badebc4a08cc1Z6LmC6Hp9\\"\\n },\\n \\"EtasSDKString\\": \\"zmtdjb\\",\\n \\"IdToken\\": \\"qacdfhigvbcvb\\"\\n}","type":"json"}]', - ], - 'DeregisterAuthenticator' => [ - 'summary' => '删除认证器', - 'methods' => [ - 'post', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4581B16-xxxxx\\",\\n \\"TotalElements\\": 15,\\n \\"SmsReports\\": [\\n {\\n \\"Tid\\": \\"3514\\",\\n \\"Mobile\\": \\"156xxxxxxxx\\",\\n \\"Code\\": \\"0\\",\\n \\"Stat\\": \\"DELIVRD\\",\\n \\"Sn\\": \\"\\\\\\"d36xxxxx3573772f159f616ebJ8KGPBg7Hr::appId::123456::Bird\\\\\\"\\",\\n \\"TenantId\\": \\"d36a370f33f037233573772f15xxxxxx\\",\\n \\"AppId\\": \\"appid\\",\\n \\"EventId\\": \\"event_xxxx\\",\\n \\"Time\\": \\"20220823171446\\",\\n \\"ChargedCount\\": 0\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'Query SMS delivery receipts', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'idaas-doraemon:QuerySmsReports', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IDaaSAuth', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'schemes' => [ - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QuerySmsReports'], + ], ], + ], + 'RegisterAuthenticator' => [ + 'summary' => 'Registers an authenticator.', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREidaasCRU1S2', - ], + 'abilityTreeNodes' => ['FEATUREidaasCRU1S2'], ], 'parameters' => [ [ 'name' => 'ApplicationExternalId', 'in' => 'query', - 'schema' => [ - 'title' => '应用外部Id', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '11122223333', - 'maxLength' => 64, - ], + 'schema' => ['title' => '', 'description' => 'The external ID of the application.', 'type' => 'string', 'required' => true, 'example' => '11122223333', 'maxLength' => 64], + ], + [ + 'name' => 'AuthenticatorType', + 'in' => 'query', + 'schema' => ['title' => '', 'description' => 'The type of the authenticator.', 'type' => 'string', 'required' => true, 'example' => 'webauthn', 'maxLength' => 32], ], [ 'name' => 'UserId', 'in' => 'query', - 'schema' => [ - 'title' => '用户id', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'user-11122223333', - 'maxLength' => 64, - ], + 'schema' => ['title' => '', 'description' => 'The ID of the user.', 'type' => 'string', 'required' => true, 'example' => 'user-11122223333', 'maxLength' => 64], ], [ - 'name' => 'AuthenticatorUuid', + 'name' => 'AuthenticatorName', 'in' => 'query', - 'schema' => [ - 'title' => '认证器uuid', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'a00712a4e56196755059356c290793031xHdUrCPXUS', - ], + 'schema' => ['title' => '', 'description' => 'The name of the authenticator.', 'type' => 'string', 'required' => false, 'example' => 'ZhangSan\'s authenticator', 'maxLength' => 64], + ], + [ + 'name' => 'RegistrationContext', + 'in' => 'query', + 'schema' => ['title' => '', 'description' => 'The registration context.', 'type' => 'string', 'required' => true, 'example' => '{}', 'maxLength' => 3096], + ], + [ + 'name' => 'RequireChallengeBase64', + 'in' => 'query', + 'schema' => ['title' => '', 'description' => 'The Base64-encoded challenge identifier bound to the session.', 'type' => 'string', 'required' => false, 'example' => 'AAAAdda'], + ], + [ + 'name' => 'ClientExtendParamsJson', + 'in' => 'query', + 'schema' => ['title' => '', 'description' => 'The authentication context generated by the client SDK.', 'type' => 'string', 'required' => false, 'example' => '由具体认证方式决定'], + ], + [ + 'name' => 'ClientExtendParamsJsonSign', + 'in' => 'query', + 'schema' => ['title' => '', 'description' => 'The signature of the authentication context generated by the client SDK.', 'type' => 'string', 'required' => false, 'example' => '由具体认证方式决定'], + ], + [ + 'name' => 'ServerExtendParamsJson', + 'in' => 'query', + 'schema' => ['title' => '', 'description' => 'The server-side configuration item that determines the authentication requirement properties.', 'type' => 'string', 'required' => false, 'example' => '由具体认证方式决定'], + ], + [ + 'name' => 'UserSourceIp', + 'in' => 'query', + 'schema' => ['title' => '', 'description' => 'The source IP address of the user, used for auditing.', 'type' => 'string', 'required' => false, 'example' => '127.0.0.1'], + ], + [ + 'name' => 'LogParams', + 'in' => 'query', + 'schema' => ['title' => '', 'description' => 'The custom audit log information defined by the user.', 'type' => 'string', 'required' => false, 'example' => '123123'], ], ], 'responses' => [ @@ -1644,26 +1182,42 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'D0F570B0-89CE-07F2-B41E-F97E089E13C6', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '23123', 'title' => ''], + 'AuthenticatorUuid' => ['title' => '', 'description' => 'The UUID of the authenticator.', 'type' => 'string', 'example' => '123123123'], + 'EtasResponseSting' => ['title' => '', 'description' => 'The response string returned only for IFAA authenticator registration.', 'type' => 'string', 'example' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D0F570B0-89CE-07F2-B41E-F97E089E13C6\\"\\n}","type":"json"}]', - ], - 'ServiceInvoke' => [ - 'summary' => '认证接口', - 'methods' => [ - 'post', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"23123\\",\\n \\"AuthenticatorUuid\\": \\"123123123\\",\\n \\"EtasResponseSting\\": \\"\\"\\n}","type":"json"}]', + 'title' => 'Register an authenticator', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'idaas-doraemon:RegisterAuthenticator', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IDaaSAuth', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RegisterAuthenticator'], + ], ], + ], + 'ServiceInvoke' => [ + 'summary' => 'Determines the authentication method based on ServiceCode and Action.', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1675,148 +1229,96 @@ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREidaasCRU1S2', - ], + 'abilityTreeNodes' => ['FEATUREidaasCRU1S2'], ], 'parameters' => [ [ 'name' => 'MobileExtendParamsJson', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'eyJhdHRhY2htZW50IjoicGxhdGZvcm0iLCJ1c2VyVmVyaWZpY2F0aW9uIjoicmVxdWlyZWQifQ==', - ], + 'schema' => ['description' => 'The parameters generated by the mobile SDK.', 'type' => 'string', 'required' => false, 'example' => 'eyJhdHRhY2htZW50IjoicGxhdGZvcm0iLCJ1c2VyVmVyaWZpY2F0aW9uIjoicmVxdWlyZWQifQ==', 'title' => ''], ], [ 'name' => 'MobileExtendParamsJsonSign', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'ba6f5596f00102cb1a7d971f8390b7ccb28e6bc4e8694d051f9299ccc69e1186', - ], + 'schema' => ['description' => 'The parameters generated by the mobile SDK.', 'type' => 'string', 'required' => false, 'example' => 'ba6f5596f00102cb1a7d971f8390b7ccb28e6bc4e8694d051f9299ccc69e1186', 'title' => ''], ], [ 'name' => 'ServerExtendParamsJson', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'eyJhdHRhY2htZW50IjoicGxhdGZvcm0iLCJ1c2VyVmVyaWZpY2F0aW9uIjoicmVxdWlyZWQifQ==', - ], + 'schema' => ['description' => 'The server-side configuration parameters.', 'type' => 'string', 'required' => false, 'example' => 'eyJhdHRhY2htZW50IjoicGxhdGZvcm0iLCJ1c2VyVmVyaWZpY2F0aW9uIjoicmVxdWlyZWQifQ==', 'title' => ''], ], [ 'name' => 'ServiceCode', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'IFAA', - ], + 'schema' => ['description' => 'The authentication method.', 'type' => 'string', 'required' => true, 'example' => 'IFAA', 'title' => ''], ], [ 'name' => 'DoraemonAction', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'SimpleAuthInit', - ], + 'schema' => ['description' => 'The operation type.', 'type' => 'string', 'required' => true, 'example' => 'SimpleAuthInit', 'title' => ''], ], [ 'name' => 'ApplicationExternalId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'A0000003', - ], + 'schema' => ['description' => 'The external ID of the application.', 'type' => 'string', 'required' => true, 'example' => 'A0000003', 'title' => ''], ], [ 'name' => 'TestModel', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'Specifies whether to enable test mode. This parameter does not take effect in the production environment.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], [ 'name' => 'XClientIp', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '127.0.0.1', - ], + 'schema' => ['description' => 'The client IP address.', 'type' => 'string', 'required' => false, 'example' => '127.0.0.1', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', + 'title' => '', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'F8F63CAB-A96C-5017-AFB0-324593223817', - ], - 'Data' => [ - 'description' => '', - 'type' => 'string', - 'example' => '"{\\"ifaa\\"{\\"code\\":0,\\"message\\":\\"eyJo....BWUFBQUFBIn19\\"},\\"version\\":\\"1.0.0\\",\\"transaction\\":{\\"id\\":\\"sIFAA-ios\\",\\"type\\":\\"sIFAA-ios\\",\\"payload\\":\\"\\"},\\"action\\":\\"request/auth\\"}" }', - ], - 'Message' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Operation.Failure.ApiInvoke.ServiceInArrears', - ], - 'Code' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Operation.Success', - ], - 'Success' => [ - 'description' => '', - 'type' => 'boolean', - 'example' => 'true', - ], - 'IdToken' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'qacdfhigvbcvb', - ], - 'EventId' => [ - 'type' => 'string', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'F8F63CAB-A96C-5017-AFB0-324593223817', 'title' => ''], + 'Data' => ['description' => 'The result returned based on the authentication method used.', 'type' => 'string', 'example' => '"{\\"ifaa\\"{\\"code\\":0,\\"message\\":\\"eyJo....BWUFBQUFBIn19\\"},\\"version\\":\\"1.0.0\\",\\"transaction\\":{\\"id\\":\\"sIFAA-ios\\",\\"type\\":\\"sIFAA-ios\\",\\"payload\\":\\"\\"},\\"action\\":\\"request/auth\\"}" }', 'title' => ''], + 'Message' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Operation.Failure.ApiInvoke.ServiceInArrears', 'title' => ''], + 'Code' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'Operation.Success', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'IdToken' => ['description' => 'The identity token.', 'type' => 'string', 'example' => 'qacdfhigvbcvb', 'title' => ''], + 'EventId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"F8F63CAB-A96C-5017-AFB0-324593223817\\",\\n \\"Data\\": \\"\\\\\\"{\\\\\\\\\\\\\\"ifaa\\\\\\\\\\\\\\"{\\\\\\\\\\\\\\"code\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"message\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"eyJo....BWUFBQUFBIn19\\\\\\\\\\\\\\"},\\\\\\\\\\\\\\"version\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"1.0.0\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"transaction\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"id\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"sIFAA-ios\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"type\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"sIFAA-ios\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"payload\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\"},\\\\\\\\\\\\\\"action\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"request/auth\\\\\\\\\\\\\\"}\\\\\\" }\\",\\n \\"Message\\": \\"Operation.Failure.ApiInvoke.ServiceInArrears\\",\\n \\"Code\\": \\"Operation.Success\\",\\n \\"Success\\": true,\\n \\"IdToken\\": \\"qacdfhigvbcvb\\",\\n \\"EventId\\": \\"\\"\\n}","errorExample":""},{"type":"xml","example":"<ServiceInvokeResponse>\\n <Success>true</Success>\\n <Code>Operation.Success</Code>\\n <Message>Operation.Success</Message>\\n <RequestId>337848D2-FF8A-4EDD-BD4D-1B9BC80E58B6</RequestId>\\n <Data>{\\"ifaa\\"{\\"code\\":0,\\"message\\":\\"eyJo....BWUFBQUFBIn19\\"},\\"version\\":\\"1.0.0\\",\\"transaction\\":{\\"id\\":\\"sIFAA-ios\\",\\"type\\":\\"sIFAA-ios\\",\\"payload\\":\\"\\"},\\"action\\":\\"request/auth\\"}</Data>\\n</ServiceInvokeResponse>","errorExample":""}]', - ], - 'ListPwnedPasswords' => [ - 'summary' => '弱密码检测', - 'methods' => [ - 'get', - 'post', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F8F63CAB-A96C-5017-AFB0-324593223817\\",\\n \\"Data\\": \\"\\\\\\"{\\\\\\\\\\\\\\"ifaa\\\\\\\\\\\\\\"{\\\\\\\\\\\\\\"code\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"message\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"eyJo....BWUFBQUFBIn19\\\\\\\\\\\\\\"},\\\\\\\\\\\\\\"version\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"1.0.0\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"transaction\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"id\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"sIFAA-ios\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"type\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"sIFAA-ios\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"payload\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\"},\\\\\\\\\\\\\\"action\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"request/auth\\\\\\\\\\\\\\"}\\\\\\" }\\",\\n \\"Message\\": \\"Operation.Failure.ApiInvoke.ServiceInArrears\\",\\n \\"Code\\": \\"Operation.Success\\",\\n \\"Success\\": true,\\n \\"IdToken\\": \\"qacdfhigvbcvb\\",\\n \\"EventId\\": \\"\\"\\n}","type":"json"}]', + 'title' => 'Authenticate service', + 'description' => 'Before using this operation, make sure that you fully understand the [billing method](https://help.aliyun.com/document_detail/262147.html?spm=5176.b80817263.help.dexternal.30c1549awhmdq6) and [pricing](https://help.aliyun.com/document_detail/262147.html?spm=5176.b80817263.help.dexternal.30c1549awhmdq6) of the security authentication service.', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'idaas-doraemon:ServiceInvoke', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IDaaSAuth', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ServiceInvoke'], + ], ], + ], + 'UpdateAuthenticatorAttribute' => [ + 'summary' => 'Updates the name of an authenticator.', + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -1825,93 +1327,75 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREidaasCRU1S2', - ], + 'abilityTreeNodes' => ['FEATUREidaasCRU1S2'], + 'autoTest' => false, + 'notSupportAutoTestReason' => '需要移动端SDK动态参数进行调试', + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'PrefixHexPasswordSha1Hash', + 'name' => 'ApplicationExternalId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '000000', - ], + 'schema' => ['title' => '', 'description' => 'The external ID of the application.', 'type' => 'string', 'required' => true, 'example' => '11122223333', 'maxLength' => 64], + ], + [ + 'name' => 'UserId', + 'in' => 'query', + 'schema' => ['title' => '', 'description' => 'The user ID.', 'type' => 'string', 'required' => true, 'example' => 'user-11122223333', 'maxLength' => 64], + ], + [ + 'name' => 'AuthenticatorName', + 'in' => 'query', + 'schema' => ['title' => '', 'description' => 'The name of the authenticator.', 'type' => 'string', 'required' => true, 'maxLength' => 64, 'example' => 'TOTP-DefaultName'], + ], + [ + 'name' => 'AuthenticatorUuid', + 'in' => 'query', + 'schema' => ['title' => '', 'description' => 'The UUID of the authenticator.', 'type' => 'string', 'required' => true, 'maxLength' => 64, 'example' => 'c810731ad3af06e45171395abf19cf9cb00E7i97PhE'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'Id of the request', - 'type' => 'string', - 'example' => 'D0F570B0-89CE-07F2-B41E-F97E089E13C6', - ], - 'PageNumber' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2', - ], - 'TotalCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '80', - ], - 'PageSize' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'PwnedPasswordInfos' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'HexPasswordSha1Hash' => [ - 'description' => '', - 'type' => 'string', - 'example' => '0000', - ], - 'PwnedCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '84', - ], - ], - ], - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'D0F570B0-89CE-07F2-B41E-F97E089E13C6', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"D0F570B0-89CE-07F2-B41E-F97E089E13C6\\",\\n \\"PageNumber\\": 2,\\n \\"TotalCount\\": 80,\\n \\"PageSize\\": 10,\\n \\"PwnedPasswordInfos\\": [\\n {\\n \\"HexPasswordSha1Hash\\": \\"0000\\",\\n \\"PwnedCount\\": 84\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<ListPwnedPasswordsResponse>\\n <RequestId>D0F570B0-89CE-07F2-B41E-F97E089E13C6</RequestId>\\n <PageNumber>2</PageNumber>\\n <TotalCount>80</TotalCount>\\n <PageSize>10</PageSize>\\n <PwnedPasswordInfos>\\n <HexPasswordSha1Hash>0000</HexPasswordSha1Hash>\\n <PwnedCount>84</PwnedCount>\\n </PwnedPasswordInfos>\\n</ListPwnedPasswordsResponse>","errorExample":""}]', - ], - 'VerifyIdToken' => [ - 'summary' => '验证id_token', - 'methods' => [ - 'get', - 'post', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D0F570B0-89CE-07F2-B41E-F97E089E13C6\\"\\n}","type":"json"}]', + 'title' => 'Update authenticator information', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'idaas-doraemon:UpdateAuthenticatorAttribute', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IDaaSAuth', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateAuthenticatorAttribute'], + ], ], + ], + 'VerifyIdToken' => [ + 'summary' => 'Verifies an IdToken. After phone number verification or IFAA authentication succeeds, the obtained IdToken must be verified by calling this operation.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1923,785 +1407,1118 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREidaasCRU1S2', - ], + 'abilityTreeNodes' => ['FEATUREidaasCRU1S2'], ], 'parameters' => [ [ 'name' => 'JwtIdToken', 'in' => 'query', - 'schema' => [ - 'description' => 'jwtIdToken', - 'type' => 'string', - 'required' => false, - 'example' => 'eyJraWQiOiIzNj', - ], + 'schema' => ['description' => 'The JWT ID token.', 'type' => 'string', 'required' => false, 'example' => 'eyJraWQiOiIzNj', 'title' => ''], ], [ 'name' => 'ApplicationExternalId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'webauth_demo', - ], + 'schema' => ['description' => 'The external ID of the application.', 'type' => 'string', 'required' => false, 'example' => 'webauth_demo', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '', + 'title' => '', + 'description' => 'The response.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'F620E712-F325-520D-BE1A-E2421B062F57', - ], - 'UserId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '123456', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'F620E712-F325-520D-BE1A-E2421B062F57', 'title' => ''], + 'UserId' => ['description' => 'The user ID.', 'type' => 'string', 'example' => '123456', 'title' => ''], ], + 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F620E712-F325-520D-BE1A-E2421B062F57\\",\\n \\"UserId\\": \\"123456\\"\\n}","type":"json"}]', - ], - 'ListCostUnitOrders' => [ - 'summary' => '查询按量计费订单列表', - 'methods' => [ - 'get', - 'post', + 'title' => 'Verify idToken', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'idaas-doraemon:VerifyIdToken', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IDaaSAuth', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'VerifyIdToken'], + ], ], + ], + 'VerifyUserAuthentication' => [ + 'summary' => 'Verifies an authenticator.', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREidaasCRU1S2', - ], + 'abilityTreeCode' => '91635', + 'abilityTreeNodes' => ['FEATUREidaasCRU1S2'], + 'autoTest' => false, + 'notSupportAutoTestReason' => '需要配合移动端SDK动态参数进行', + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'BeginDate', + 'name' => 'ApplicationExternalId', 'in' => 'query', - 'schema' => [ - 'title' => '开始创建时间', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '2021-11-16', - ], + 'schema' => ['title' => '', 'description' => 'The external ID of the application.', 'type' => 'string', 'required' => true, 'example' => '11122223333', 'maxLength' => 64], ], [ - 'name' => 'FinalDate', + 'name' => 'AuthenticatorType', 'in' => 'query', - 'schema' => [ - 'title' => '结束创建时间', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '2021-12-04 00', - ], + 'schema' => ['title' => '', 'description' => 'The type of the authenticator.', 'type' => 'string', 'required' => true, 'example' => 'webauthn', 'maxLength' => 32], ], [ - 'name' => 'PageNumber', + 'name' => 'UserId', 'in' => 'query', - 'schema' => [ - 'title' => '第几页', - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - 'default' => '0', - ], + 'schema' => ['title' => '', 'description' => 'The user ID.', 'type' => 'string', 'required' => true, 'example' => 'user-11122223333', 'maxLength' => 64], ], [ - 'name' => 'PageSize', + 'name' => 'AuthenticationContext', 'in' => 'query', - 'schema' => [ - 'title' => '每页大小', - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - 'default' => '0', - ], + 'schema' => ['title' => '', 'description' => 'The authentication context. The format is determined by AuthenticatorType.', 'type' => 'string', 'required' => true, 'example' => '{}'], + ], + [ + 'name' => 'RequireChallengeBase64', + 'in' => 'query', + 'schema' => ['title' => '', 'description' => 'The Base64-encoded challenge identifier bound to the session.', 'type' => 'string', 'required' => false, 'example' => 'AAAAdda'], + ], + [ + 'name' => 'RequireBindHashBase64', + 'in' => 'query', + 'schema' => ['title' => '', 'description' => 'The Base64-encoded operation hash identifier bound to the authentication.', 'type' => 'string', 'required' => false, 'example' => 'AAAAdda'], + ], + [ + 'name' => 'ClientExtendParamsJson', + 'in' => 'query', + 'schema' => ['title' => '', 'description' => 'The authentication context generated by the client SDK.', 'type' => 'string', 'required' => false, 'example' => '由具体认证方式决定'], + ], + [ + 'name' => 'ClientExtendParamsJsonSign', + 'in' => 'query', + 'schema' => ['title' => '', 'description' => 'The signature information of the authentication context generated by the client SDK.', 'type' => 'string', 'required' => false, 'example' => '由具体认证方式决定'], + ], + [ + 'name' => 'ServerExtendParamsJson', + 'in' => 'query', + 'schema' => ['title' => '', 'description' => 'The server-side configuration item that determines the authentication requirement properties.', 'type' => 'string', 'required' => false, 'example' => '由具体认证方式决定'], + ], + [ + 'name' => 'UserSourceIp', + 'in' => 'query', + 'schema' => ['title' => '', 'description' => 'The source IP address of the user client, used for auditing.', 'type' => 'string', 'required' => false, 'example' => '127.0.0.1'], + ], + [ + 'name' => 'LogTag', + 'in' => 'query', + 'schema' => ['title' => '', 'description' => 'The custom audit log tag defined by the user.', 'type' => 'string', 'required' => false, 'example' => 'login'], + ], + [ + 'name' => 'LogParams', + 'in' => 'query', + 'schema' => ['title' => '', 'description' => 'The custom audit log information defined by the user.', 'type' => 'string', 'required' => false, 'example' => '123123'], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'description' => 'The response object.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'A82621A5-715C-5486-80E9-9262EE43BA55', - ], - 'TotalPages' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2', - ], - 'TotalElements' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12', - ], - 'PageSize' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'Items' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'AliOrderCode' => [ - 'title' => '阿里云订单编号', - 'description' => '', - 'type' => 'string', - 'example' => '215222637610732', - ], - 'AliOrderInstanceId' => [ - 'title' => '阿里云订单实例名称', - 'description' => '', - 'type' => 'string', - 'example' => 'idaas_auth_public_cn-pl32pciy101', - ], - 'TotalCostUnit' => [ - 'title' => '总计 CU 值,单位厘,实际购买 CU 乘以 1000', - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100000', - ], - 'UsedCostUnit' => [ - 'title' => '已用 CU 值,单位厘,实际使用 CU 乘以 1000', - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100', - ], - 'OrderStatus' => [ - 'title' => '订单状态。VALID:有效、REFUND:退款、EXPIRED:过期', - 'description' => '', - 'type' => 'string', - 'example' => 'VALID', - ], - 'CreateTime' => [ - 'title' => '创建时间', - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1646028448000', - ], - 'ExpiredTime' => [ - 'title' => '过期时间', - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1923321600000', - ], - 'RefundTime' => [ - 'title' => '退款时间,毫秒时间戳,退款时才有值', - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1923321600000', - ], - 'Exhausted' => [ - 'type' => 'boolean', - ], - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '83ED3BC7-B36E-53B5-83D4-152CF2088DB9', 'title' => ''], + 'VerifyResult' => ['title' => '', 'description' => 'The verification result. Valid values: true and false.', 'type' => 'boolean', 'example' => 'true'], + 'AuthenticateResultInfo' => [ + 'title' => '', + 'description' => 'The authentication result.', + 'type' => 'object', + 'properties' => [ + 'UserId' => ['title' => '', 'description' => 'The user ID that passed the authentication.', 'type' => 'string', 'example' => '3b32'], + 'CredentialId' => ['title' => '', 'description' => 'The credential ID used for the authentication.', 'type' => 'string', 'example' => 'scimcred-000vfaknfwlp8kesl520'], + 'BindHashBase64' => ['title' => '', 'description' => 'The operation hash bound to this authentication.', 'type' => 'string', 'example' => '10e8c224555bba8bfb780badebc4a08cc1Z6LmC6Hp9'], ], + 'example' => '', ], + 'EtasSDKString' => ['description' => 'The MD5 value of the generated SDK string.', 'type' => 'string', 'example' => 'zmtdjb', 'title' => ''], + 'IdToken' => ['description' => 'The identity token.', 'type' => 'string', 'example' => 'qacdfhigvbcvb', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"83ED3BC7-B36E-53B5-83D4-152CF2088DB9\\",\\n \\"VerifyResult\\": true,\\n \\"AuthenticateResultInfo\\": {\\n \\"UserId\\": \\"3b32\\",\\n \\"CredentialId\\": \\"scimcred-000vfaknfwlp8kesl520\\",\\n \\"BindHashBase64\\": \\"10e8c224555bba8bfb780badebc4a08cc1Z6LmC6Hp9\\"\\n },\\n \\"EtasSDKString\\": \\"zmtdjb\\",\\n \\"IdToken\\": \\"qacdfhigvbcvb\\"\\n}","type":"json"}]', + 'title' => 'Verify authenticator', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'idaas-doraemon:VerifyUserAuthentication', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IDaaSAuth', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A82621A5-715C-5486-80E9-9262EE43BA55\\",\\n \\"TotalPages\\": 2,\\n \\"TotalElements\\": 12,\\n \\"PageSize\\": 10,\\n \\"Items\\": [\\n {\\n \\"AliOrderCode\\": \\"215222637610732\\",\\n \\"AliOrderInstanceId\\": \\"idaas_auth_public_cn-pl32pciy101\\",\\n \\"TotalCostUnit\\": 100000,\\n \\"UsedCostUnit\\": 100,\\n \\"OrderStatus\\": \\"VALID\\",\\n \\"CreateTime\\": 1646028448000,\\n \\"ExpiredTime\\": 1923321600000,\\n \\"RefundTime\\": 1923321600000,\\n \\"Exhausted\\": true\\n }\\n ]\\n}","type":"json"}]', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'VerifyUserAuthentication'], + ], + ], ], - 'ListOrderConsumeStatisticRecords' => [ - 'summary' => '查询用量消费统计记录列表', - 'methods' => [ - 'get', - 'post', + ], + 'endpoints' => [ + ['regionId' => 'ap-northeast-1', 'regionName' => 'Japan (Tokyo)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'idaas-doraemon.aliyuncs.com', 'endpoint' => 'idaas-doraemon.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'ap-southeast-1', 'regionName' => 'Singapore', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'idaas-doraemon.aliyuncs.com', 'endpoint' => 'idaas-doraemon.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'ap-southeast-2', 'regionName' => 'Australia (Sydney) Closed', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'idaas-doraemon.aliyuncs.com', 'endpoint' => 'idaas-doraemon.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'ap-southeast-3', 'regionName' => 'Malaysia (Kuala Lumpur)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'idaas-doraemon.aliyuncs.com', 'endpoint' => 'idaas-doraemon.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'ap-southeast-5', 'regionName' => 'Indonesia (Jakarta)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'idaas-doraemon.aliyuncs.com', 'endpoint' => 'idaas-doraemon.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-beijing', 'regionName' => 'China (Beijing)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'idaas-doraemon.aliyuncs.com', 'endpoint' => 'idaas-doraemon.aliyuncs.com', 'vpc' => 'idaas-doraemon-vpc.cn-beijing.aliyuncs.com'], + ['regionId' => 'cn-chengdu', 'regionName' => 'China (Chengdu)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'idaas-doraemon.aliyuncs.com', 'endpoint' => 'idaas-doraemon.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-hangzhou', 'regionName' => 'China (Hangzhou)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'idaas-doraemon.aliyuncs.com', 'endpoint' => 'idaas-doraemon.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-hongkong', 'regionName' => 'China (Hong Kong)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'idaas-doraemon.aliyuncs.com', 'endpoint' => 'idaas-doraemon.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-huhehaote', 'regionName' => 'China (Hohhot)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'idaas-doraemon.aliyuncs.com', 'endpoint' => 'idaas-doraemon.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-qingdao', 'regionName' => 'China (Qingdao)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'idaas-doraemon.aliyuncs.com', 'endpoint' => 'idaas-doraemon.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-shanghai', 'regionName' => 'China (Shanghai)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'idaas-doraemon.aliyuncs.com', 'endpoint' => 'idaas-doraemon.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-shenzhen', 'regionName' => 'China (Shenzhen)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'idaas-doraemon.aliyuncs.com', 'endpoint' => 'idaas-doraemon.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-wulanchabu', 'regionName' => 'China (Ulanqab)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'idaas-doraemon.aliyuncs.com', 'endpoint' => 'idaas-doraemon.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-zhangjiakou', 'regionName' => 'China (Zhangjiakou)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'idaas-doraemon.aliyuncs.com', 'endpoint' => 'idaas-doraemon.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'us-west-1', 'regionName' => 'US (Silicon Valley)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'idaas-doraemon.aliyuncs.com', 'endpoint' => 'idaas-doraemon.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'us-east-1', 'regionName' => 'US (Virginia)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'idaas-doraemon.aliyuncs.com', 'endpoint' => 'idaas-doraemon.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'eu-west-1', 'regionName' => 'UK (London)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'idaas-doraemon.aliyuncs.com', 'endpoint' => 'idaas-doraemon.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'eu-central-1', 'regionName' => 'Germany (Frankfurt)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'idaas-doraemon.aliyuncs.com', 'endpoint' => 'idaas-doraemon.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'me-east-1', 'regionName' => 'UAE (Dubai)', 'areaId' => 'middleEast', 'areaName' => 'Middle East', 'public' => 'idaas-doraemon.aliyuncs.com', 'endpoint' => 'idaas-doraemon.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'ap-south-1', 'regionName' => 'India (Mumbai) Closed', 'areaId' => 'middleEast', 'areaName' => 'Middle East', 'public' => 'idaas-doraemon.aliyuncs.com', 'endpoint' => 'idaas-doraemon.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-shenzhen-finance-1', 'regionName' => 'China South 1 Finance', 'areaId' => 'industryCloud', 'areaName' => 'Industry Cloud', 'public' => 'idaas-doraemon.aliyuncs.com', 'endpoint' => 'idaas-doraemon.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-shanghai-finance-1', 'regionName' => 'China East 2 Finance', 'areaId' => 'industryCloud', 'areaName' => 'Industry Cloud', 'public' => 'idaas-doraemon.aliyuncs.com', 'endpoint' => 'idaas-doraemon.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-north-2-gov-1', 'regionName' => 'Beijing Government Cloud', 'areaId' => 'industryCloud', 'areaName' => 'Industry Cloud', 'public' => 'idaas-doraemon.aliyuncs.com', 'endpoint' => 'idaas-doraemon.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-hangzhou-finance', 'regionName' => 'China East 1 Finance', 'areaId' => 'industryCloud', 'areaName' => 'Industry Cloud', 'public' => 'idaas-doraemon.aliyuncs.com', 'endpoint' => 'idaas-doraemon.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-beijing-finance-1', 'regionName' => 'China North 2 Finance (Preview)', 'areaId' => 'industryCloud', 'areaName' => 'Industry Cloud', 'public' => 'idaas-doraemon.aliyuncs.com', 'endpoint' => 'idaas-doraemon.aliyuncs.com', 'vpc' => ''], + ], + 'errorCodes' => [], + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListAuthenticatorOpsLogs'], + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListCostUnitOrders'], + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListAuthenticators'], + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListOrderConsumeStatisticRecords'], + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateUserAuthenticateOptions'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'VerifyIdToken'], + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'VerifyUserAuthentication'], + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QuerySmsReports'], + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetAuthenticator'], + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateAuthenticatorAttribute'], + ['threshold' => '2000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListPwnedPasswords'], + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RegisterAuthenticator'], + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'FetchAccessToken'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ServiceInvoke'], + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateAuthenticatorRegistration'], + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeregisterAuthenticator'], + ], + ], + 'ram' => [ + 'productCode' => 'IDaaSAuth', + 'productName' => 'Identity as a Service', + 'ramCodes' => ['idaas-doraemon'], + 'ramLevel' => 'RESOURCE', + 'ramConditions' => [], + 'ramActions' => [ + [ + 'apiName' => 'ListServiceCodes', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'idaas-doraemon:ListServiceCodes', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IDaaSAuth', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'DisableApplication', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'idaas-doraemon:DisableApplication', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IDaaSAuth', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'GetApplicationSmsSign', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'idaas-doraemon:GetApplicationSmsSign', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IDaaSAuth', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ + [ + 'apiName' => 'DeleteLinkman', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'idaas-doraemon:DeleteLinkman', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IDaaSAuth', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'RegisterAuthenticator', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'idaas-doraemon:RegisterAuthenticator', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IDaaSAuth', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GenerateUploadAuth', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'idaas-doraemon:GenerateUploadAuth', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IDaaSAuth', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateUserAuthenticateOptions', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'idaas-doraemon:CreateUserAuthenticateOptions', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IDaaSAuth', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetApplicationKey', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'idaas-doraemon:GetApplicationKey', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IDaaSAuth', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListApplications', + 'description' => '', 'operationType' => 'list', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREidaasCRU1S2', + 'ramAction' => [ + 'action' => 'idaas-doraemon:ListApplications', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IDaaSAuth', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'parameters' => [ - [ - 'name' => 'AliOrderCode', - 'in' => 'query', - 'schema' => [ - 'title' => '阿里订单编号', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '211283925690732', + [ + 'apiName' => 'CreateAuthenticatorRegistration', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'idaas-doraemon:CreateAuthenticatorRegistration', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IDaaSAuth', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'StatisticTimeMin', - 'in' => 'query', - 'schema' => [ - 'title' => '统计时间最小值', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '2022-05-31', + ], + [ + 'apiName' => 'ListCostUnitOrders', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'idaas-doraemon:ListCostUnitOrders', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IDaaSAuth', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'StatisticTimeMax', - 'in' => 'query', - 'schema' => [ - 'title' => '统计时间最大值', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '2022-05-31', + ], + [ + 'apiName' => 'UpdateLinkman', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'idaas-doraemon:UpdateLinkman', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IDaaSAuth', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'PageNumber', - 'in' => 'query', - 'schema' => [ - 'title' => '页码', - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', + ], + [ + 'apiName' => 'VerifyUserAuthentication', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'idaas-doraemon:VerifyUserAuthentication', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IDaaSAuth', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'title' => '每页记录数', - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', + ], + [ + 'apiName' => 'GetTotalRemainingCostUnit', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'idaas-doraemon:GetTotalRemainingCostUnit', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IDaaSAuth', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'ApplicationExternalId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, + ], + [ + 'apiName' => 'QuerySmsUps', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'idaas-doraemon:QuerySmsUps', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IDaaSAuth', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'ServiceCode', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, + ], + [ + 'apiName' => 'GetApplicationStatistical', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'idaas-doraemon:GetApplicationStatistical', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IDaaSAuth', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => '请求 ID', - 'description' => '', - 'type' => 'string', - 'example' => '1655384783875', - ], - 'TotalPages' => [ - 'title' => '总页数', - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'TotalElements' => [ - 'title' => '总记录数', - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100', - ], - 'PageSize' => [ - 'title' => '每页记录数', - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'Items' => [ - 'title' => '数据项列表', - 'description' => '', - 'type' => 'array', - 'items' => [ - 'title' => '数据项详情', - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'AliOrderCode' => [ - 'title' => '阿里云订单编号', - 'description' => '', - 'type' => 'string', - 'example' => '23567876823', - ], - 'StatisticTime' => [ - 'title' => '统计日期,时间戳,精确到秒', - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1655388050', - ], - 'ApplicationExternalId' => [ - 'title' => '应用外部标志', - 'description' => '', - 'type' => 'string', - 'example' => 'sms_auth', - ], - 'ServiceCode' => [ - 'title' => '服务码', - 'description' => '', - 'type' => 'string', - 'example' => 'SMS', - ], - 'UnitPrice' => [ - 'title' => '单价', - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'ChargedCount' => [ - 'title' => '计费数目', - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'TotalPrice' => [ - 'title' => '总价', - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - ], - ], - ], - ], + [ + 'apiName' => 'CreateSmsSign', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'idaas-doraemon:CreateSmsSign', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IDaaSAuth', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1655384783875\\",\\n \\"TotalPages\\": 10,\\n \\"TotalElements\\": 100,\\n \\"PageSize\\": 10,\\n \\"Items\\": [\\n {\\n \\"AliOrderCode\\": \\"23567876823\\",\\n \\"StatisticTime\\": 1655388050,\\n \\"ApplicationExternalId\\": \\"sms_auth\\",\\n \\"ServiceCode\\": \\"SMS\\",\\n \\"UnitPrice\\": 10,\\n \\"ChargedCount\\": 1,\\n \\"TotalPrice\\": 10\\n }\\n ]\\n}","type":"json"}]', - ], - 'QuerySmsReports' => [ - 'summary' => '短信回执查询', - 'methods' => [ - 'get', + [ + 'apiName' => 'RefreshSmsSignApplicationStatus', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'idaas-doraemon:RefreshSmsSignApplicationStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IDaaSAuth', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'CreateApplicationSms', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'idaas-doraemon:CreateApplicationSms', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IDaaSAuth', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'UpdateAuthenticatorAttribute', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'idaas-doraemon:UpdateAuthenticatorAttribute', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IDaaSAuth', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ + [ + 'apiName' => 'DeleteSmsTemplateWithThirdApplication', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'idaas-doraemon:DeleteSmsTemplateWithThirdApplication', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IDaaSAuth', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetFeeWarningPolicy', + 'description' => '', 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREidaasCRU1S2', + 'ramAction' => [ + 'action' => 'idaas-doraemon:GetFeeWarningPolicy', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IDaaSAuth', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'parameters' => [ - [ - 'name' => 'AppId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'doraemon_xxxxx', + [ + 'apiName' => 'QuerySmsReports', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'idaas-doraemon:QuerySmsReports', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IDaaSAuth', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'EventId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'eventId_xxxxxx', + ], + [ + 'apiName' => 'GetAuthenticator', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'idaas-doraemon:GetAuthenticator', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IDaaSAuth', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => '4581B16-xxxxx', - ], - 'TotalElements' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '15', - ], - 'SmsReports' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Tid' => [ - 'description' => '', - 'type' => 'string', - 'example' => '3514', - ], - 'Mobile' => [ - 'description' => '', - 'type' => 'string', - 'example' => '156xxxxxxxx', - ], - 'Code' => [ - 'description' => '', - 'type' => 'string', - 'example' => '0', - ], - 'Stat' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'DELIVRD', - ], - 'Sn' => [ - 'description' => '', - 'type' => 'string', - 'example' => '"d36xxxxx3573772f159f616ebJ8KGPBg7Hr::appId::123456::Bird"', - ], - 'TenantId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'd36a370f33f037233573772f15xxxxxx', - ], - 'AppId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'appid', - ], - 'EventId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'event_xxxx', - ], - 'Time' => [ - 'description' => '', - 'type' => 'string', - 'example' => '20220823171446', - ], - 'ChargedCount' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - ], - ], - ], - ], + [ + 'apiName' => 'FetchAccessToken', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'idaas-doraemon:FetchAccessToken', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IDaaSAuth', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'UpdateApplication', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'idaas-doraemon:UpdateApplication', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IDaaSAuth', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListActionsByServiceCode', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'idaas-doraemon:ListActionsByServiceCode', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IDaaSAuth', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'UpdateFeeWarningPolicy', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'idaas-doraemon:UpdateFeeWarningPolicy', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IDaaSAuth', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetSMSConfiguration', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'idaas-doraemon:GetSMSConfiguration', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IDaaSAuth', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeregisterAuthenticator', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'idaas-doraemon:DeregisterAuthenticator', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IDaaSAuth', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListAuthenticationLogs', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'idaas-doraemon:ListAuthenticationLogs', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IDaaSAuth', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetSmsTemplateWithLatestApplication', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'idaas-doraemon:GetSmsTemplateWithLatestApplication', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IDaaSAuth', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListAuthenticatorOpsLogs', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'idaas-doraemon:ListAuthenticatorOpsLogs', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IDaaSAuth', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetApplication', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'idaas-doraemon:GetApplication', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IDaaSAuth', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteSmsSign', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'idaas-doraemon:DeleteSmsSign', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IDaaSAuth', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteApplication', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'idaas-doraemon:DeleteApplication', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IDaaSAuth', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetAPIInvokeCount', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'idaas-doraemon:GetAPIInvokeCount', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IDaaSAuth', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'EnableApplication', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'idaas-doraemon:EnableApplication', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IDaaSAuth', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateSmsSignByOss', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'idaas-doraemon:CreateSmsSignByOss', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IDaaSAuth', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListSmsTemplatesWithLatestApplication', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'idaas-doraemon:ListSmsTemplatesWithLatestApplication', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IDaaSAuth', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListAllLinkmen', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'idaas-doraemon:ListAllLinkmen', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IDaaSAuth', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'RefreshSmsTemplateThirdApplicationStatus', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'idaas-doraemon:RefreshSmsTemplateThirdApplicationStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IDaaSAuth', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'UpdateSMSConfiguration', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'idaas-doraemon:UpdateSMSConfiguration', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IDaaSAuth', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListLinkmen', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'idaas-doraemon:ListLinkmen', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IDaaSAuth', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetSmsSign', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'idaas-doraemon:GetSmsSign', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IDaaSAuth', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListAuthenticators', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'idaas-doraemon:ListAuthenticators', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IDaaSAuth', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateApplication', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'idaas-doraemon:CreateApplication', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IDaaSAuth', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'UpdateApplicationServiceCodes', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'idaas-doraemon:UpdateApplicationServiceCodes', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IDaaSAuth', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ServiceInvoke', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'idaas-doraemon:ServiceInvoke', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IDaaSAuth', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'UpdateApplicationSmsSign', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'idaas-doraemon:UpdateApplicationSmsSign', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IDaaSAuth', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetTenant', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'idaas-doraemon:GetTenant', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IDaaSAuth', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateTenantByAliUid', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'idaas-doraemon:CreateTenantByAliUid', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IDaaSAuth', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListAPIInvokeLog', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'idaas-doraemon:ListAPIInvokeLog', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IDaaSAuth', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'UpdateSmsSignApplication', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'idaas-doraemon:UpdateSmsSignApplication', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IDaaSAuth', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListPwnedPasswords', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'idaas-doraemon:ListPwnedPasswords', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IDaaSAuth', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListOrderConsumeStatisticRecords', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'idaas-doraemon:ListOrderConsumeStatisticRecords', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IDaaSAuth', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'VerifyIdToken', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'idaas-doraemon:VerifyIdToken', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IDaaSAuth', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteTenant', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'idaas-doraemon:DeleteTenant', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IDaaSAuth', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListAllApplications', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'idaas-doraemon:ListAllApplications', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IDaaSAuth', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetApplicationServiceKey', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'idaas-doraemon:GetApplicationServiceKey', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IDaaSAuth', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListCostUnits', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'idaas-doraemon:ListCostUnits', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IDaaSAuth', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'UpdateSmsTemplateThirdApplication', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'idaas-doraemon:UpdateSmsTemplateThirdApplication', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IDaaSAuth', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListSmsSigns', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'idaas-doraemon:ListSmsSigns', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IDaaSAuth', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListUsers', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'idaas-doraemon:ListUsers', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IDaaSAuth', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateLinkman', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'idaas-doraemon:CreateLinkman', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IDaaSAuth', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateSmsTemplateWithThirdApplication', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'idaas-doraemon:CreateSmsTemplateWithThirdApplication', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IDaaSAuth', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetLinkman', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'idaas-doraemon:GetLinkman', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IDaaSAuth', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4581B16-xxxxx\\",\\n \\"TotalElements\\": 15,\\n \\"SmsReports\\": [\\n {\\n \\"Tid\\": \\"3514\\",\\n \\"Mobile\\": \\"156xxxxxxxx\\",\\n \\"Code\\": \\"0\\",\\n \\"Stat\\": \\"DELIVRD\\",\\n \\"Sn\\": \\"\\\\\\"d36xxxxx3573772f159f616ebJ8KGPBg7Hr::appId::123456::Bird\\\\\\"\\",\\n \\"TenantId\\": \\"d36a370f33f037233573772f15xxxxxx\\",\\n \\"AppId\\": \\"appid\\",\\n \\"EventId\\": \\"event_xxxx\\",\\n \\"Time\\": \\"20220823171446\\",\\n \\"ChargedCount\\": 0\\n }\\n ]\\n}","type":"json"}]', - ], - ], - 'endpoints' => [ - [ - 'regionId' => 'cn-hangzhou', - 'endpoint' => 'idaas-doraemon.aliyuncs.com', - ], - [ - 'regionId' => 'cn-qingdao', - 'endpoint' => 'idaas-doraemon.aliyuncs.com', - ], - [ - 'regionId' => 'cn-beijing', - 'endpoint' => 'idaas-doraemon.aliyuncs.com', - ], - [ - 'regionId' => 'cn-huhehaote', - 'endpoint' => 'idaas-doraemon.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai', - 'endpoint' => 'idaas-doraemon.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen', - 'endpoint' => 'idaas-doraemon.aliyuncs.com', - ], - [ - 'regionId' => 'ap-northeast-1', - 'endpoint' => 'idaas-doraemon.aliyuncs.com', - ], - [ - 'regionId' => 'ap-northeast-2-pop', - 'endpoint' => 'idaas-doraemon.aliyuncs.com', - ], - [ - 'regionId' => 'ap-south-1', - 'endpoint' => 'idaas-doraemon.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-1', - 'endpoint' => 'idaas-doraemon.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-2', - 'endpoint' => 'idaas-doraemon.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-3', - 'endpoint' => 'idaas-doraemon.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-5', - 'endpoint' => 'idaas-doraemon.aliyuncs.com', - ], - [ - 'regionId' => 'cn-beijing-finance-1', - 'endpoint' => 'idaas-doraemon.aliyuncs.com', - ], - [ - 'regionId' => 'cn-beijing-finance-pop', - 'endpoint' => 'idaas-doraemon.aliyuncs.com', - ], - [ - 'regionId' => 'cn-beijing-gov-1', - 'endpoint' => 'idaas-doraemon.aliyuncs.com', - ], - [ - 'regionId' => 'cn-beijing-nu16-b01', - 'endpoint' => 'idaas-doraemon.aliyuncs.com', - ], - [ - 'regionId' => 'cn-chengdu', - 'endpoint' => 'idaas-doraemon.aliyuncs.com', - ], - [ - 'regionId' => 'cn-edge-1', - 'endpoint' => 'idaas-doraemon.aliyuncs.com', - ], - [ - 'regionId' => 'cn-fujian', - 'endpoint' => 'idaas-doraemon.aliyuncs.com', - ], - [ - 'regionId' => 'cn-haidian-cm12-c01', - 'endpoint' => 'idaas-doraemon.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou-bj-b01', - 'endpoint' => 'idaas-doraemon.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou-finance', - 'endpoint' => 'idaas-doraemon.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou-internal-prod-1', - 'endpoint' => 'idaas-doraemon.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou-internal-test-1', - 'endpoint' => 'idaas-doraemon.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou-internal-test-2', - 'endpoint' => 'idaas-doraemon.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou-internal-test-3', - 'endpoint' => 'idaas-doraemon.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou-test-306', - 'endpoint' => 'idaas-doraemon.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hongkong', - 'endpoint' => 'idaas-doraemon.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hongkong-finance-pop', - 'endpoint' => 'idaas-doraemon.aliyuncs.com', - ], - [ - 'regionId' => 'cn-huhehaote-nebula-1', - 'endpoint' => 'idaas-doraemon.aliyuncs.com', - ], - [ - 'regionId' => 'cn-north-2-gov-1', - 'endpoint' => 'idaas-doraemon.aliyuncs.com', - ], - [ - 'regionId' => 'cn-qingdao-nebula', - 'endpoint' => 'idaas-doraemon.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai-et15-b01', - 'endpoint' => 'idaas-doraemon.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai-et2-b01', - 'endpoint' => 'idaas-doraemon.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai-finance-1', - 'endpoint' => 'idaas-doraemon.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai-inner', - 'endpoint' => 'idaas-doraemon.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai-internal-test-1', - 'endpoint' => 'idaas-doraemon.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen-finance-1', - 'endpoint' => 'idaas-doraemon.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen-inner', - 'endpoint' => 'idaas-doraemon.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen-st4-d01', - 'endpoint' => 'idaas-doraemon.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen-su18-b01', - 'endpoint' => 'idaas-doraemon.aliyuncs.com', - ], - [ - 'regionId' => 'cn-wuhan', - 'endpoint' => 'idaas-doraemon.aliyuncs.com', - ], - [ - 'regionId' => 'cn-wulanchabu', - 'endpoint' => 'idaas-doraemon.aliyuncs.com', - ], - [ - 'regionId' => 'cn-yushanfang', - 'endpoint' => 'idaas-doraemon.aliyuncs.com', - ], - [ - 'regionId' => 'cn-zhangbei', - 'endpoint' => 'idaas-doraemon.aliyuncs.com', - ], - [ - 'regionId' => 'cn-zhangbei-na61-b01', - 'endpoint' => 'idaas-doraemon.aliyuncs.com', - ], - [ - 'regionId' => 'cn-zhangjiakou', - 'endpoint' => 'idaas-doraemon.aliyuncs.com', - ], - [ - 'regionId' => 'cn-zhangjiakou-na62-a01', - 'endpoint' => 'idaas-doraemon.aliyuncs.com', - ], - [ - 'regionId' => 'cn-zhengzhou-nebula-1', - 'endpoint' => 'idaas-doraemon.aliyuncs.com', - ], - [ - 'regionId' => 'eu-central-1', - 'endpoint' => 'idaas-doraemon.aliyuncs.com', - ], - [ - 'regionId' => 'eu-west-1', - 'endpoint' => 'idaas-doraemon.aliyuncs.com', - ], - [ - 'regionId' => 'eu-west-1-oxs', - 'endpoint' => 'idaas-doraemon.aliyuncs.com', - ], - [ - 'regionId' => 'me-east-1', - 'endpoint' => 'idaas-doraemon.aliyuncs.com', - ], - [ - 'regionId' => 'rus-west-1-pop', - 'endpoint' => 'idaas-doraemon.aliyuncs.com', - ], - [ - 'regionId' => 'us-east-1', - 'endpoint' => 'idaas-doraemon.aliyuncs.com', - ], - [ - 'regionId' => 'us-west-1', - 'endpoint' => 'idaas-doraemon.aliyuncs.com', ], + 'resourceTypes' => [], ], ]; |
