diff options
| author | Zhineng Li <im@zhineng.li> | 2026-07-12 17:11:17 +0800 |
|---|---|---|
| committer | Zhineng Li <im@zhineng.li> | 2026-07-12 17:11:17 +0800 |
| commit | 1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634 (patch) | |
| tree | 5f0857666365b7e40cdaa3733ebe1f3ba9e13c67 /data/zh_cn/dytnsapi/2023-01-01/api-docs.php | |
| parent | 7347bac4ab7e136157fc94777e6cf87ef9e08599 (diff) | |
| download | afterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.tar.gz afterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.zip | |
update APIs 20260712
Diffstat (limited to 'data/zh_cn/dytnsapi/2023-01-01/api-docs.php')
| -rw-r--r-- | data/zh_cn/dytnsapi/2023-01-01/api-docs.php | 1081 |
1 files changed, 567 insertions, 514 deletions
diff --git a/data/zh_cn/dytnsapi/2023-01-01/api-docs.php b/data/zh_cn/dytnsapi/2023-01-01/api-docs.php index 28134c1..16d66ba 100644 --- a/data/zh_cn/dytnsapi/2023-01-01/api-docs.php +++ b/data/zh_cn/dytnsapi/2023-01-01/api-docs.php @@ -1,37 +1,24 @@ <?php return [ 'version' => '1.0', - 'info' => [ - 'style' => 'RPC', - 'product' => 'Dytnsapi', - 'version' => '2023-01-01', - ], + 'info' => ['style' => 'RPC', 'product' => 'Dytnsapi', 'version' => '2023-01-01'], 'directories' => [ 'GetPhoneNumberIdentificationUrl', 'GetPhoneNumberIdentificationResult', [ - 'id' => 0, - 'title' => '其它', + 'children' => ['DescribeNumberMccMnc', 'DescribeNumberHLR', 'GetIdentificationSession', 'GetIdentificationResult'], 'type' => 'directory', - 'children' => [ - 'DescribeNumberMccMnc', - 'DescribeNumberHLR', - ], + 'title' => '其他', + 'id' => 451946, ], ], 'components' => [ 'schemas' => [], ], 'apis' => [ - 'GetPhoneNumberIdentificationUrl' => [ - 'summary' => '获取本机号码认证URL。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeNumberHLR' => [ + 'summary' => 'HLR服务,用于查询号码的基本信息以及号码状态。', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -40,131 +27,183 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'create', 'riskType' => 'none', - 'chargeType' => 'paid', - 'abilityTreeCode' => '178936', - 'abilityTreeNodes' => [ - 'FEATUREdytnsFPPMA9', - ], + 'chargeType' => 'free', + 'abilityTreeCode' => '265522', + 'abilityTreeNodes' => ['FEATUREdytnsFPPMA9'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'Ip', + 'name' => 'PhoneNumber', 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'description' => '客户端IP。', - 'type' => 'string', - 'required' => false, - 'example' => '114.124.***.13', - ], + 'schema' => ['description' => '号码', 'type' => 'string', 'required' => false, 'example' => 'example'], ], [ - 'name' => 'PhoneNumber', + 'name' => 'AuthCode', 'in' => 'query', + 'schema' => ['description' => '授权码。'."\n" + ."\n" + .'>登录[号码百科控制台](https://dytns.console.aliyun.com/overview?spm=a2c4g.608385.0.0.79847f8b3awqUC),在[我的申请](https://dytns.console.aliyun.com/analysis/apply)页面,获取授权ID即授权码。', 'type' => 'string', 'required' => false, 'example' => 'example'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '客户端手机号(MSISDN格式)。', - 'type' => 'string', - 'required' => true, - 'example' => '628211****113', + 'type' => 'object', + 'properties' => [ + 'AccessDeniedDetail' => ['description' => '访问被拒绝详细信息;只有Ram校验失败才会返回此字段', 'type' => 'string', 'example' => 'None'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '1C3B8084-3A7D-570B-BC84-BF945A9CF65E'], + 'Message' => ['description' => '返回状态码描述。', 'type' => 'string', 'example' => 'OK'], + 'Data' => [ + 'description' => '返回结果', + 'type' => 'object', + 'properties' => [ + 'Call' => [ + 'description' => '电话', + 'type' => 'object', + 'properties' => [ + 'MinLength' => ['description' => '最小长度', 'type' => 'integer', 'format' => 'int64', 'example' => '21'], + 'CleansedCode' => ['description' => 'call', 'type' => 'string', 'example' => 'example'], + 'MaxLength' => ['description' => '最大长度。', 'type' => 'integer', 'format' => 'int64', 'example' => '22'], + ], + ], + 'PhoneType' => ['description' => '号码类型', 'type' => 'string', 'example' => 'example'], + 'CountryIso3' => ['description' => '号码归属国家ISO3码', 'type' => 'string', 'example' => 'example'], + 'Live' => [ + 'description' => '号码是否在线', + 'type' => 'object', + 'properties' => [ + 'RoamingCountry' => ['description' => '漫游国家', 'type' => 'string', 'example' => 'example'], + 'DeviceStatus' => ['description' => '设备状态', 'type' => 'string', 'example' => 'example'], + 'SubscriberStatus' => ['description' => '订阅状态', 'type' => 'string', 'example' => 'example'], + 'Roaming' => ['description' => '漫游', 'type' => 'string', 'example' => 'example'], + ], + ], + 'Sms' => [ + 'description' => '挂机短信', + 'type' => 'object', + 'properties' => [ + 'MinLength' => ['description' => '最小长度', 'type' => 'integer', 'format' => 'int64', 'example' => '2'], + 'MaxLength' => ['description' => '最大长度。', 'type' => 'integer', 'format' => 'int64', 'example' => '59'], + 'CleansedCode' => ['description' => 'sms', 'type' => 'integer', 'format' => 'int64', 'example' => '58'], + ], + ], + 'Carrier' => ['description' => '号码所属的运营商网络。', 'type' => 'string', 'example' => 'example'], + 'City' => ['description' => '设备注册的城市。', 'type' => 'string', 'example' => 'example'], + 'Blocked' => ['description' => '分析不通过的情况下是否阻塞运行。', 'type' => 'string', 'example' => 'example'], + ], + ], + 'Code' => ['description' => '请求状态码。取值:'."\n" + ."\n" + .'- **OK**:成功。', 'type' => 'string', 'example' => 'OK'], + ], + 'description' => '', ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AccessDeniedDetail\\": \\"None\\",\\n \\"RequestId\\": \\"1C3B8084-3A7D-570B-BC84-BF945A9CF65E\\",\\n \\"Message\\": \\"OK\\",\\n \\"Data\\": {\\n \\"Call\\": {\\n \\"MinLength\\": 21,\\n \\"CleansedCode\\": \\"example\\",\\n \\"MaxLength\\": 22\\n },\\n \\"PhoneType\\": \\"example\\",\\n \\"CountryIso3\\": \\"example\\",\\n \\"Live\\": {\\n \\"RoamingCountry\\": \\"example\\",\\n \\"DeviceStatus\\": \\"example\\",\\n \\"SubscriberStatus\\": \\"example\\",\\n \\"Roaming\\": \\"example\\"\\n },\\n \\"Sms\\": {\\n \\"MinLength\\": 2,\\n \\"MaxLength\\": 59,\\n \\"CleansedCode\\": 58\\n },\\n \\"Carrier\\": \\"example\\",\\n \\"City\\": \\"example\\",\\n \\"Blocked\\": \\"example\\"\\n },\\n \\"Code\\": \\"OK\\"\\n}","type":"json"}]', + 'title' => '号码状态服务', + 'description' => '- 请确保在使用本接口前,您已充分了解号码百科产品定价。'."\n" + .'- 使用本接口前,请登录号码百科控制台,在标签广场页面,找到对应的标签,单击申请开通。'."\n" + .'- 当接口值返回值:Code="OK"时计费,其他返回结果不计费。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [], + ], + 'DescribeNumberMccMnc' => [ + 'summary' => '号码百科国际站号码归属服务,用于查询号码归属的国家和运营商(Mcc Mnc 码)。', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'OutId', - 'in' => 'query', - 'schema' => [ - 'description' => '外部流水号。', - 'type' => 'string', - 'required' => true, - 'example' => '149b03d2-a749-4e6e-8f5b-34******5815', - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'paid', + 'abilityTreeCode' => '263170', + 'abilityTreeNodes' => ['FEATUREdytnsFPPMA9'], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ [ - 'name' => 'AuthCode', + 'name' => 'PhoneNumber', 'in' => 'query', - 'schema' => [ - 'description' => '授权码。', - 'type' => 'string', - 'required' => true, - 'example' => 'K***9i7CIe', - ], + 'schema' => ['description' => '号码,(号码前需要带上区号)如中国香港地区号码,则为85212343433', 'type' => 'string', 'required' => false, 'example' => '86123434345'], ], [ - 'name' => 'RememberPhoneNumber', + 'name' => 'AuthCode', 'in' => 'query', - 'schema' => [ - 'description' => '是否记录手机号。', - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - 'default' => 'true', - ], + 'schema' => ['description' => '授权码。'."\n" + ."\n" + .'> 在**登录号码百科控制台**->[**标签广场**](https://dytns.console.aliyun.com/analysis/square)选择标签,提交使用申请,申请通过后,会获得该授权码。', 'type' => 'string', 'required' => false, 'example' => 'example'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '返回对象。', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '68A40250-50CD-034C-B728-0BD******177', - ], - 'Message' => [ - 'description' => '状态码的描述。', - 'type' => 'string', - 'example' => 'OK', - ], + 'AccessDeniedDetail' => ['description' => '访问被拒绝详细信息;只有RAM校验失败才会返回此字段。', 'type' => 'string', 'example' => '-'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'CC3BB6D2-2FDF-4321-9DCE-B38165CE4C47'], + 'Message' => ['description' => '状态码的描述。', 'type' => 'string', 'example' => 'OK'], 'Data' => [ - 'description' => '返回结果。', + 'description' => '结构体。', 'type' => 'object', 'properties' => [ - 'IdentificationUrl' => [ - 'description' => '认证URL。', - 'type' => 'string', - 'example' => 'https://global-ip-auth.dycpaas.com/global/biz/ip_auth/start?ipa_s_c_c=IPF0000000000000******&ipa_s_i=8636b75e2fcb40c53ffecc2b59******', - ], - 'SessionId' => [ - 'description' => '会话ID。', - 'type' => 'string', - 'example' => '8636b75e2fcb40c53ffecc2b5947115c.149b03d2a7494e6e8f5b34c915245815.707c7f0d93f4409db0761aa5da94ce01.1686******041', - ], + 'Mnc' => ['description' => '号码归属的运营商Mnc码', 'type' => 'string', 'example' => '123'], + 'Ported' => ['description' => '号码是否有发生过携转', 'type' => 'boolean', 'example' => 'true'], + 'CountryIso3' => ['description' => '号码归属国家ISO3码', 'type' => 'string', 'example' => 'USA'], + 'Mcc' => ['description' => '号码归属的运营商mcc码', 'type' => 'string', 'example' => '123'], ], ], - 'Code' => [ - 'description' => '请求状态码。'."\n" - ."\n" - .'- **OK**:请求成功。'."\n" - .'- **IdentificationNotAvailable**:该IP对应的手机号不支持认证。'."\n" - .'- **MobileNumberIllegal**:手机号格式错误。', - 'type' => 'string', - 'example' => 'OK', - ], + 'Code' => ['description' => '请求状态码。 **OK**为成功。', 'type' => 'string', 'example' => 'OK'], ], + 'description' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'errorCodes' => [ + 200 => [ + ['errorCode' => 'RequestNumberNotSupported', 'errorMessage' => 'NotSupported this RequestNumber.', 'description' => '不支持中国广电号码(192 开头)、虚拟运营商、和其他运营商不支持查询的号码。'], + ['errorCode' => 'PhoneNumberNotfound', 'errorMessage' => '传入的手机号查不到结果', 'description' => '传入的手机号查不到结果'], + ], + 500 => [ + ['errorCode' => 'RequestSupplierError', 'errorMessage' => 'Request supplier error.', 'description' => '请求第三方服务异常。'], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"68A40250-50CD-034C-B728-0BD******177\\",\\n \\"Message\\": \\"OK\\",\\n \\"Data\\": {\\n \\"IdentificationUrl\\": \\"https://global-ip-auth.dycpaas.com/global/biz/ip_auth/start?ipa_s_c_c=IPF0000000000000******&ipa_s_i=8636b75e2fcb40c53ffecc2b59******\\",\\n \\"SessionId\\": \\"8636b75e2fcb40c53ffecc2b5947115c.149b03d2a7494e6e8f5b34c915245815.707c7f0d93f4409db0761aa5da94ce01.1686******041\\"\\n },\\n \\"Code\\": \\"OK\\"\\n}","type":"json"}]', - 'title' => '获取本机号码认证URL', - ], - 'GetPhoneNumberIdentificationResult' => [ - 'summary' => '获取本机号码认证结果。', - 'methods' => [ - 'post', - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AccessDeniedDetail\\": \\"-\\",\\n \\"RequestId\\": \\"CC3BB6D2-2FDF-4321-9DCE-B38165CE4C47\\",\\n \\"Message\\": \\"OK\\",\\n \\"Data\\": {\\n \\"Mnc\\": \\"123\\",\\n \\"Ported\\": true,\\n \\"CountryIso3\\": \\"USA\\",\\n \\"Mcc\\": \\"123\\"\\n },\\n \\"Code\\": \\"OK\\"\\n}","type":"json"}]', + 'title' => '国际号码归属服务', + 'description' => '请确保在使用该接口前,已充分了解号码产品的收费方式和价格。'."\n" + ."\n" + .'计费方式:当返回Code== \'OK\'进行计费。'."\n" + ."\n" + .'因为数据原因,MCC、MNC返回码可能为空。', + 'responseParamsDescription' => '目前支持的国家或者地区只包括:美国、西班牙、马来西亚、日本、泰国、韩国、巴西、俄罗斯、越南、法国、菲律宾、德国、英国、意大利、巴基斯坦、新加坡、印度、中国香港地区', + 'changeSet' => [ + ['createdAt' => '2025-08-13T12:44:59.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [], + ], + 'GetIdentificationResult' => [ + 'summary' => '获取认证结果', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -176,121 +215,156 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'paid', - 'abilityTreeCode' => '179163', - 'abilityTreeNodes' => [ - 'FEATUREdytnsFPPMA9', - ], + 'abilityTreeNodes' => ['FEATUREdytnsFPPMA9'], 'autoTest' => true, - 'tenantRelevance' => 'publicInformation', + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'SessionId', 'in' => 'query', - 'schema' => [ - 'description' => '会话ID。', - 'type' => 'string', - 'required' => true, - 'example' => '8636b75e2fcb40c53ffecc2b5947115c.149b03d2a7494e6e8f5b34c915245815.707c7f0d93f4409db0761aa5da94ce01.1686******041', - ], + 'schema' => ['description' => '会话ID。', 'type' => 'string', 'required' => true, 'example' => 'example'], ], [ - 'name' => 'SessionPayload', + 'name' => 'AuthCode', 'in' => 'query', + 'schema' => ['description' => '授权码。'."\n" + ."\n" + .'> 在[号码百科控制台](https://dytns.console.aliyun.com/analysis/apply)**我的申请**页面,获取授权ID即授权码。', 'type' => 'string', 'required' => true, 'example' => 'example'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '会话负载。', - 'type' => 'string', - 'required' => true, - 'example' => 'uQne0vsuNywXVvI4VP5taHsgDNsd3BwcbmrhjXi58WbxBGFW+e8ufMEi9j89YonphV6NZ1PIeKvboHtU1nsSjZMTcoFPfkjqaORIHdSlPb6vmIzqOnJMsP1KPQ8K1JLXSaAKsB2lQ5A9HCkX2HzDEwje14HYQsnPd/Ka2YWgXuL0N8GE9oYi25d4DdlU0XR52YjSj8GMLSgbW7yNxEPvUCOQG83FZfQqmIWG2+0C/fQ3gdG9WI7AeeHZo4IRKGtQnpjKGtZZl8VoLPNIswDqZeeyjCyZlKUXKrAt4Co9c4I4q8G1jZm53COQJ+DuTiWH7w+tois3WJwFV/HmdlAKt8SqpiVrEv47VQ9V+8FYsdKz3A3CRyBVgNj6wYKKbwaI9BdQoOkbYzzA8CfAKO5w1oYVD2nOcYS/AffbPbE31PJj7SdVvKghwPL56OVdjS9Hd0iW0SMBWD0F1iRNCUNHL3ffHcFjJLdhTrMt8VHSRn0nOlvO1ZaWqMQ0yE0q*************************kXTpoQLo0+0h+CEcf90hTg8XdMhj9B0A3SOINceLlmoZb3czvYl00+CC0075DjOX41YtnuAUfaNYPgLIZkjYyq+JopBQFAkxPUbJHC0oCzB9dQa******WY38OPBs=', + 'type' => 'object', + 'properties' => [ + 'AccessDeniedDetail' => ['description' => '访问被拒绝详细信息。', 'type' => 'string', 'example' => '-'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '68A40250-50CD-034C-B728-0BD135850177'], + 'Message' => ['description' => '状态码的描述。', 'type' => 'string', 'example' => 'OK'], + 'Data' => [ + 'description' => '返回的数据内容。', + 'type' => 'object', + 'properties' => [ + 'IsIdentified' => ['description' => '是否通过认证。', 'type' => 'boolean', 'example' => 'true'], + ], + ], + 'Code' => ['description' => '请求状态码。取值:'."\n" + ."\n" + .'- **OK**:成功。', 'type' => 'string', 'example' => 'OK'], + ], + 'description' => '', ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '获取认证结果', + 'description' => '- 请确保在使用本接口前,您已充分了解号码百科[产品定价](~~154008~~)。'."\n" + .'- 使用本接口前,请登录号码百科控制台,在[标签广场](https://dytns.console.aliyun.com/analysis/square)页面,找到对应的标签,单击**申请开通**,填写申请资料,审批通过后即可使用。'."\n" + .'- 当接口值返回值:Code="OK",其他返回结果不计费。'."\n" + ."\n\n" + .'### QPS限制'."\n" + .'本接口的单用户QPS限制为200次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'OutId', - 'in' => 'query', - 'schema' => [ - 'description' => '外部流水号。', - 'type' => 'string', - 'required' => true, - 'example' => '149b03d2-a749-4e6e-8f5b-34******5815', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dytns:GetIdentificationResult', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DYTNS', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AccessDeniedDetail\\": \\"-\\",\\n \\"RequestId\\": \\"68A40250-50CD-034C-B728-0BD135850177\\",\\n \\"Message\\": \\"OK\\",\\n \\"Data\\": {\\n \\"IsIdentified\\": true\\n },\\n \\"Code\\": \\"OK\\"\\n}","type":"json"}]', + ], + 'GetIdentificationSession' => [ + 'summary' => '国际认证获取sessionId。', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'AuthCode', - 'in' => 'query', - 'schema' => [ - 'description' => '授权码。', - 'type' => 'string', - 'required' => true, - 'example' => 'K***9i7CIe', - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREdytnsFPPMA9'], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ [ - 'name' => 'PhoneNumber', + 'name' => 'AuthCode', 'in' => 'query', - 'schema' => [ - 'description' => '客户端手机号(MSISDN格式,认证过程中须保持一致)。', - 'type' => 'string', - 'required' => true, - 'example' => '628211****113', - ], + 'schema' => ['description' => '授权码。', 'type' => 'string', 'required' => true, 'example' => 'example'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '返回对象。', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '68A40250-50CD-034C-B728-0BD******177', - ], - 'Message' => [ - 'description' => '状态码的描述。', - 'type' => 'string', - 'example' => 'OK', - ], + 'AccessDeniedDetail' => ['description' => '访问被拒绝详细信息。', 'type' => 'string', 'example' => '-'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '68A40250-50CD-034C-B728-0BD******177'], + 'Message' => ['description' => '状态码的描述。', 'type' => 'string', 'example' => 'OK'], 'Data' => [ - 'description' => '返回结果。', + 'description' => '结构体。', 'type' => 'object', 'properties' => [ - 'IsIdentified' => [ - 'description' => '是否通过认证。', - 'type' => 'string', - 'example' => 'true', - ], + 'ExpireDate' => ['description' => '权限过期时间。', 'type' => 'string', 'example' => 'example'], + 'SessionId' => ['description' => '会话ID。', 'type' => 'string', 'example' => 'example'], ], ], - 'Code' => [ - 'description' => '请求状态码。'."\n" - ."\n" - .'- OK:请求成功。'."\n" - .'- NoIdentificationResult:无认证结果或无法认证。'."\n" - .'- SessionNotValid:无效或过期的会话。'."\n" - .'- MobileNumberIllegal:手机号格式错误。', - 'type' => 'string', - 'example' => 'OK', - ], + 'Code' => ['description' => '请求状态码。'."\n" + ."\n" + .'- OK:请求成功。'."\n" + .'- NoIdentificationResult:无认证结果或无法认证。'."\n" + .'- SessionNotValid:无效或过期的会话。'."\n" + .'- MobileNumberIllegal:手机号格式错误。', 'type' => 'string', 'example' => 'OK'], ], + 'description' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"68A40250-50CD-034C-B728-0BD******177\\",\\n \\"Message\\": \\"OK\\",\\n \\"Data\\": {\\n \\"IsIdentified\\": \\"true\\"\\n },\\n \\"Code\\": \\"OK\\"\\n}","type":"json"}]', - 'title' => '获取本机号码认证结果', - ], - 'DescribeNumberMccMnc' => [ - 'summary' => '号码百科国际站号码归属服务,用于查询号码归属的国家和运营商(Mcc Mnc 码)', - 'methods' => [ - 'post', - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '获取认证sessionId', + 'description' => '- 使用本接口前,请登录号码百科控制台,在[标签广场](https://dytns.console.aliyun.com/analysis/square)页面,找到对应的标签,单击**申请开通**,填写申请资料,审批通过后即可使用。'."\n" + .'- 当接口值返不计费。'."\n" + .'### QPS限制'."\n" + .'本接口的单用户QPS限制为200次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'dytns:GetIdentificationSession', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DYTNS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AccessDeniedDetail\\": \\"-\\",\\n \\"RequestId\\": \\"68A40250-50CD-034C-B728-0BD******177\\",\\n \\"Message\\": \\"OK\\",\\n \\"Data\\": {\\n \\"ExpireDate\\": \\"example\\",\\n \\"SessionId\\": \\"example\\"\\n },\\n \\"Code\\": \\"OK\\"\\n}","type":"json"}]', + ], + 'GetPhoneNumberIdentificationResult' => [ + 'summary' => '获取本机号码认证结果。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -302,131 +376,88 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'paid', - 'abilityTreeCode' => '263170', - 'abilityTreeNodes' => [ - 'FEATUREdytnsFPPMA9', - ], + 'abilityTreeCode' => '179163', + 'abilityTreeNodes' => ['FEATUREdytnsFPPMA9'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'PhoneNumber', + 'name' => 'SessionId', 'in' => 'query', - 'schema' => [ - 'description' => '号码,(号码前需要带上区号)如中国香港地区号码,则为85212343433', - 'type' => 'string', - 'required' => false, - 'example' => '86123434345', - ], + 'schema' => ['description' => '会话ID。', 'type' => 'string', 'required' => true, 'example' => '8636b75e2fcb40c53ffecc2b5947115c.149b03d2a7494e6e8f5b34c915245815.707c7f0d93f4409db0761aa5da94ce01.1686******041'], + ], + [ + 'name' => 'SessionPayload', + 'in' => 'query', + 'schema' => ['description' => '会话负载。', 'type' => 'string', 'required' => true, 'example' => 'uQne0vsuNywXVvI4VP5taHsgDNsd3BwcbmrhjXi58WbxBGFW+e8ufMEi9j89YonphV6NZ1PIeKvboHtU1nsSjZMTcoFPfkjqaORIHdSlPb6vmIzqOnJMsP1KPQ8K1JLXSaAKsB2lQ5A9HCkX2HzDEwje14HYQsnPd/Ka2YWgXuL0N8GE9oYi25d4DdlU0XR52YjSj8GMLSgbW7yNxEPvUCOQG83FZfQqmIWG2+0C/fQ3gdG9WI7AeeHZo4IRKGtQnpjKGtZZl8VoLPNIswDqZeeyjCyZlKUXKrAt4Co9c4I4q8G1jZm53COQJ+DuTiWH7w+tois3WJwFV/HmdlAKt8SqpiVrEv47VQ9V+8FYsdKz3A3CRyBVgNj6wYKKbwaI9BdQoOkbYzzA8CfAKO5w1oYVD2nOcYS/AffbPbE31PJj7SdVvKghwPL56OVdjS9Hd0iW0SMBWD0F1iRNCUNHL3ffHcFjJLdhTrMt8VHSRn0nOlvO1ZaWqMQ0yE0q*************************kXTpoQLo0+0h+CEcf90hTg8XdMhj9B0A3SOINceLlmoZb3czvYl00+CC0075DjOX41YtnuAUfaNYPgLIZkjYyq+JopBQFAkxPUbJHC0oCzB9dQa******WY38OPBs='], + ], + [ + 'name' => 'OutId', + 'in' => 'query', + 'schema' => ['description' => '外部流水号。', 'type' => 'string', 'required' => true, 'example' => '149b03d2-a749-4e6e-8f5b-34******5815'], ], [ 'name' => 'AuthCode', 'in' => 'query', - 'schema' => [ - 'description' => '授权码。'."\n" - ."\n" - .'> 在**号码分析服务**->[**标签广场**](https://dytns.console.aliyun.com/analysis/square)选择标签,提交使用申请,申请通过后,会获得该授权码。', - 'type' => 'string', - 'required' => false, - 'example' => '示例值', - ], + 'schema' => ['description' => '授权码。', 'type' => 'string', 'required' => true, 'example' => 'K***9i7CIe'], + ], + [ + 'name' => 'PhoneNumber', + 'in' => 'query', + 'schema' => ['description' => '客户端手机号(MSISDN格式,认证过程中须保持一致)。', 'type' => 'string', 'required' => true, 'example' => '628211****113'], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'description' => '返回对象。', 'type' => 'object', 'properties' => [ - 'AccessDeniedDetail' => [ - 'description' => '访问被拒绝详细信息;只有RAM校验失败才会返回此字段。', - 'type' => 'string', - 'example' => '-', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'CC3BB6D2-2FDF-4321-9DCE-B38165CE4C47', - ], - 'Message' => [ - 'description' => '状态码的描述。', - 'type' => 'string', - 'example' => 'OK', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '68A40250-50CD-034C-B728-0BD******177'], + 'Message' => ['description' => '状态码的描述。', 'type' => 'string', 'example' => 'OK'], 'Data' => [ - 'description' => '结构体。', + 'description' => '返回结果。', 'type' => 'object', 'properties' => [ - 'Mnc' => [ - 'description' => '号码归属的运营商Mnc码', - 'type' => 'string', - 'example' => '123', - ], - 'Ported' => [ - 'description' => '号码是否有发生过携转', - 'type' => 'boolean', - 'example' => 'true', - ], - 'CountryIso3' => [ - 'description' => '号码归属国家ISO3码', - 'type' => 'string', - 'example' => 'USA', - ], - 'Mcc' => [ - 'description' => '号码归属的运营商mcc码', - 'type' => 'string', - 'example' => '123', - ], + 'IsIdentified' => ['description' => '是否通过认证。', 'type' => 'string', 'example' => 'true'], ], ], - 'Code' => [ - 'description' => '请求状态码。 **OK**为成功。', - 'type' => 'string', - 'example' => 'OK', - ], + 'Code' => ['description' => '请求状态码。'."\n" + ."\n" + .'- OK:请求成功。'."\n" + .'- NoIdentificationResult:无认证结果或无法认证。'."\n" + .'- SessionNotValid:无效或过期的会话。'."\n" + .'- MobileNumberIllegal:手机号格式错误。', 'type' => 'string', 'example' => 'OK'], ], ], ], ], - 'errorCodes' => [ - 200 => [ - [ - 'errorCode' => 'RequestNumberNotSupported', - 'errorMessage' => 'NotSupported this RequestNumber.', - ], - [ - 'errorCode' => 'PhoneNumberNotfound', - 'errorMessage' => '传入的手机号查不到结果', - ], - ], - 500 => [ - [ - 'errorCode' => 'RequestSupplierError', - 'errorMessage' => 'Request supplier error.', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"68A40250-50CD-034C-B728-0BD******177\\",\\n \\"Message\\": \\"OK\\",\\n \\"Data\\": {\\n \\"IsIdentified\\": \\"true\\"\\n },\\n \\"Code\\": \\"OK\\"\\n}","type":"json"}]', + 'title' => '获取本机号码认证结果', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dytns:GetPhoneNumberIdentificationResult', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DYTNS', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AccessDeniedDetail\\": \\"-\\",\\n \\"RequestId\\": \\"CC3BB6D2-2FDF-4321-9DCE-B38165CE4C47\\",\\n \\"Message\\": \\"OK\\",\\n \\"Data\\": {\\n \\"Mnc\\": \\"123\\",\\n \\"Ported\\": true,\\n \\"CountryIso3\\": \\"USA\\",\\n \\"Mcc\\": \\"123\\"\\n },\\n \\"Code\\": \\"OK\\"\\n}","type":"json"}]', - 'description' => '请确保在使用该接口前,已充分了解号码产品的收费方式和价格。'."\n" - ."\n" - .'计费方式:当返回Code== \'OK\'进行计费。'."\n" - ."\n" - .'因为数据原因,MCC、MNC返回码可能为空。', - 'responseParamsDescription' => '目前支持的国家或者地区只包括:美国、西班牙、马来西亚、日本、泰国、韩国、巴西、俄罗斯、越南、法国、菲律宾、德国、英国、意大利、巴基斯坦、新加坡、印度、中国香港地区', - 'title' => '国际号码归属服务', ], - 'DescribeNumberHLR' => [ - 'summary' => 'HLR服务,用于查询号码的基本信息以及号码状态。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'GetPhoneNumberIdentificationUrl' => [ + 'summary' => '获取本机号码认证URL。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -435,277 +466,299 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'get', 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '265522', - 'abilityTreeNodes' => [ - 'FEATUREdytnsFPPMA9', - ], + 'chargeType' => 'paid', + 'abilityTreeCode' => '178936', + 'abilityTreeNodes' => ['FEATUREdytnsFPPMA9'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ + 'name' => 'Ip', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['description' => '客户端IP。', 'type' => 'string', 'required' => false, 'example' => '114.124.***.13'], + ], + [ 'name' => 'PhoneNumber', 'in' => 'query', - 'schema' => [ - 'description' => '号码', - 'type' => 'string', - 'required' => false, - 'example' => '示例值示例值示例值', - ], + 'schema' => ['description' => '客户端手机号(MSISDN格式)。', 'type' => 'string', 'required' => true, 'example' => '628211****113'], + ], + [ + 'name' => 'OutId', + 'in' => 'query', + 'schema' => ['description' => '外部流水号。', 'type' => 'string', 'required' => true, 'example' => '149b03d2-a749-4e6e-8f5b-34******5815'], ], [ 'name' => 'AuthCode', 'in' => 'query', - 'schema' => [ - 'description' => '授权码。'."\n" - ."\n" - .'>登录[号码百科控制台](https://dytns.console.aliyun.com/overview?spm=a2c4g.608385.0.0.79847f8b3awqUC),在[我的申请](https://dytns.console.aliyun.com/analysis/apply)页面,获取授权ID即授权码。', - 'type' => 'string', - 'required' => false, - 'example' => '示例值示例值', - ], + 'schema' => ['description' => '授权码。', 'type' => 'string', 'required' => true, 'example' => 'K***9i7CIe'], + ], + [ + 'name' => 'RememberPhoneNumber', + 'in' => 'query', + 'schema' => ['description' => '是否记录手机号。', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'default' => 'true'], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'description' => '返回对象。', 'type' => 'object', 'properties' => [ - 'AccessDeniedDetail' => [ - 'description' => '访问被拒绝详细信息;只有Ram校验失败才会返回此字段', - 'type' => 'string', - 'example' => 'None', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '1C3B8084-3A7D-570B-BC84-BF945A9CF65E', - ], - 'Message' => [ - 'description' => '返回状态码描述。', - 'type' => 'string', - 'example' => 'OK', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '68A40250-50CD-034C-B728-0BD******177'], + 'Message' => ['description' => '状态码的描述。', 'type' => 'string', 'example' => 'OK'], 'Data' => [ - 'description' => '返回结果', + 'description' => '返回结果。', 'type' => 'object', 'properties' => [ - 'Call' => [ - 'description' => '电话', - 'type' => 'object', - 'properties' => [ - 'MinLength' => [ - 'description' => '最小长度', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '21', - ], - 'CleansedCode' => [ - 'description' => 'call', - 'type' => 'string', - 'example' => '示例值', - ], - 'MaxLength' => [ - 'description' => '最大长度。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '22', - ], - ], - ], - 'PhoneType' => [ - 'description' => '号码类型', - 'type' => 'string', - 'example' => '示例值示例值', - ], - 'CountryIso3' => [ - 'description' => '号码归属国家ISO3码', - 'type' => 'string', - 'example' => '示例值示例值', - ], - 'Live' => [ - 'description' => '号码是否在线', - 'type' => 'object', - 'properties' => [ - 'RoamingCountry' => [ - 'description' => '漫游国家', - 'type' => 'string', - 'example' => '示例值', - ], - 'DeviceStatus' => [ - 'description' => '设备状态', - 'type' => 'string', - 'example' => '示例值', - ], - 'SubscriberStatus' => [ - 'description' => '订阅状态', - 'type' => 'string', - 'example' => '示例值', - ], - 'Roaming' => [ - 'description' => '漫游', - 'type' => 'string', - 'example' => '示例值示例值', - ], - ], - ], - 'Sms' => [ - 'description' => '挂机短信', - 'type' => 'object', - 'properties' => [ - 'MinLength' => [ - 'description' => '最小长度', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2', - ], - 'MaxLength' => [ - 'description' => '最大长度。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '59', - ], - 'CleansedCode' => [ - 'description' => 'sms', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '58', - ], - ], - ], - 'Carrier' => [ - 'description' => '号码所属的运营商网络。', - 'type' => 'string', - 'example' => '示例值示例值示例值', - ], - 'City' => [ - 'description' => '设备注册的城市。', - 'type' => 'string', - 'example' => '示例值示例值', - ], - 'Blocked' => [ - 'description' => '分析不通过的情况下是否阻塞运行。', - 'type' => 'string', - 'example' => '示例值示例值', - ], + 'IdentificationUrl' => ['description' => '认证URL。', 'type' => 'string', 'example' => 'https://global-ip-auth.dycpaas.com/global/biz/ip_auth/start?ipa_s_c_c=IPF0000000000000******&ipa_s_i=8636b75e2fcb40c53ffecc2b59******'], + 'SessionId' => ['description' => '会话ID。', 'type' => 'string', 'example' => '8636b75e2fcb40c53ffecc2b5947115c.149b03d2a7494e6e8f5b34c915245815.707c7f0d93f4409db0761aa5da94ce01.1686******041'], ], ], - 'Code' => [ - 'description' => '请求状态码。取值:'."\n" - ."\n" - .'- **OK**:成功。', - 'type' => 'string', - 'example' => 'OK', - ], + 'Code' => ['description' => '请求状态码。'."\n" + ."\n" + .'- **OK**:请求成功。'."\n" + .'- **IdentificationNotAvailable**:该IP对应的手机号不支持认证。'."\n" + .'- **MobileNumberIllegal**:手机号格式错误。', 'type' => 'string', 'example' => 'OK'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"68A40250-50CD-034C-B728-0BD******177\\",\\n \\"Message\\": \\"OK\\",\\n \\"Data\\": {\\n \\"IdentificationUrl\\": \\"https://global-ip-auth.dycpaas.com/global/biz/ip_auth/start?ipa_s_c_c=IPF0000000000000******&ipa_s_i=8636b75e2fcb40c53ffecc2b59******\\",\\n \\"SessionId\\": \\"8636b75e2fcb40c53ffecc2b5947115c.149b03d2a7494e6e8f5b34c915245815.707c7f0d93f4409db0761aa5da94ce01.1686******041\\"\\n },\\n \\"Code\\": \\"OK\\"\\n}","type":"json"}]', + 'title' => '获取本机号码认证URL', + 'changeSet' => [ + ['createdAt' => '2024-03-12T06:24:07.000Z', 'description' => '请求参数发生变更'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AccessDeniedDetail\\": \\"None\\",\\n \\"RequestId\\": \\"1C3B8084-3A7D-570B-BC84-BF945A9CF65E\\",\\n \\"Message\\": \\"OK\\",\\n \\"Data\\": {\\n \\"Call\\": {\\n \\"MinLength\\": 21,\\n \\"CleansedCode\\": \\"示例值\\",\\n \\"MaxLength\\": 22\\n },\\n \\"PhoneType\\": \\"示例值示例值\\",\\n \\"CountryIso3\\": \\"示例值示例值\\",\\n \\"Live\\": {\\n \\"RoamingCountry\\": \\"示例值\\",\\n \\"DeviceStatus\\": \\"示例值\\",\\n \\"SubscriberStatus\\": \\"示例值\\",\\n \\"Roaming\\": \\"示例值示例值\\"\\n },\\n \\"Sms\\": {\\n \\"MinLength\\": 2,\\n \\"MaxLength\\": 59,\\n \\"CleansedCode\\": 58\\n },\\n \\"Carrier\\": \\"示例值示例值示例值\\",\\n \\"City\\": \\"示例值示例值\\",\\n \\"Blocked\\": \\"示例值示例值\\"\\n },\\n \\"Code\\": \\"OK\\"\\n}","type":"json"}]', - 'title' => '号码状态服务', - 'description' => '- 请确保在使用本接口前,您已充分了解号码百科产品定价。'."\n" - .'- 使用本接口前,请登录号码百科控制台,在标签广场页面,找到对应的标签,单击申请开通。'."\n" - .'- 当接口值返回值:Code="OK"时计费,其他返回结果不计费。', + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [], ], ], 'endpoints' => [ + ['regionId' => 'ap-northeast-1', 'regionName' => '日本(东京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'dytnsapi.aliyuncs.com', 'endpoint' => 'dytnsapi.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'ap-southeast-1', 'regionName' => '新加坡', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'dytnsapi.aliyuncs.com', 'endpoint' => 'dytnsapi.aliyuncs.com', 'vpc' => 'dytnsapi-vpc.ap-southeast-1.aliyuncs.com'], + ['regionId' => 'ap-southeast-3', 'regionName' => '马来西亚(吉隆坡)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'dytnsapi.aliyuncs.com', 'endpoint' => 'dytnsapi.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'ap-southeast-5', 'regionName' => '印度尼西亚(雅加达)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'dytnsapi.aliyuncs.com', 'endpoint' => 'dytnsapi.aliyuncs.com', 'vpc' => 'dytnsapi-vpc.ap-southeast-5.aliyuncs.com'], + ['regionId' => 'cn-beijing', 'regionName' => '华北2(北京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'dytnsapi.aliyuncs.com', 'endpoint' => 'dytnsapi.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-chengdu', 'regionName' => '西南1(成都)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'dytnsapi.aliyuncs.com', 'endpoint' => 'dytnsapi.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-hangzhou', 'regionName' => '华东1(杭州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'dytnsapi.aliyuncs.com', 'endpoint' => 'dytnsapi.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-hongkong', 'regionName' => '中国香港', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'dytnsapi.aliyuncs.com', 'endpoint' => 'dytnsapi.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-huhehaote', 'regionName' => '华北5(呼和浩特)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'dytnsapi.aliyuncs.com', 'endpoint' => 'dytnsapi.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-qingdao', 'regionName' => '华北1(青岛)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'dytnsapi.aliyuncs.com', 'endpoint' => 'dytnsapi.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-shanghai', 'regionName' => '华东2(上海)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'dytnsapi.aliyuncs.com', 'endpoint' => 'dytnsapi.aliyuncs.com', 'vpc' => 'dytnsapi-vpc.cn-shanghai.aliyuncs.com'], + ['regionId' => 'cn-shenzhen', 'regionName' => '华南1(深圳)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'dytnsapi.aliyuncs.com', 'endpoint' => 'dytnsapi.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-wulanchabu', 'regionName' => '华北6(乌兰察布)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'dytnsapi.aliyuncs.com', 'endpoint' => 'dytnsapi.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-zhangjiakou', 'regionName' => '华北3(张家口)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'dytnsapi.aliyuncs.com', 'endpoint' => 'dytnsapi.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'us-west-1', 'regionName' => '美国(硅谷)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'dytnsapi.aliyuncs.com', 'endpoint' => 'dytnsapi.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'us-east-1', 'regionName' => '美国(弗吉尼亚)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'dytnsapi.aliyuncs.com', 'endpoint' => 'dytnsapi.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'eu-west-1', 'regionName' => '英国(伦敦)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'dytnsapi.aliyuncs.com', 'endpoint' => 'dytnsapi.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'eu-central-1', 'regionName' => '德国(法兰克福)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'dytnsapi.aliyuncs.com', 'endpoint' => 'dytnsapi.aliyuncs.com', 'vpc' => 'dytnsapi-vpc.eu-central-1.aliyuncs.com'], + ['regionId' => 'me-east-1', 'regionName' => '阿联酋(迪拜)', 'areaId' => 'middleEast', 'areaName' => '中东', 'public' => 'dytnsapi.aliyuncs.com', 'endpoint' => 'dytnsapi.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-shenzhen-finance-1', 'regionName' => '华南1 金融云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'dytnsapi.aliyuncs.com', 'endpoint' => 'dytnsapi.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-shanghai-finance-1', 'regionName' => '华东2 金融云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'dytnsapi.aliyuncs.com', 'endpoint' => 'dytnsapi.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-hangzhou-finance', 'regionName' => '华东1 金融云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'dytnsapi.aliyuncs.com', 'endpoint' => 'dytnsapi.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-beijing-finance-1', 'regionName' => '华北2 金融云(邀测)', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'dytnsapi.aliyuncs.com', 'endpoint' => 'dytnsapi.aliyuncs.com', 'vpc' => ''], + ], + 'errorCodes' => [ + ['code' => 'AuthCodeAndApiNotMatch', 'message' => 'AuchCode和请求的Api不匹配', 'http_code' => 400, 'description' => 'AuchCode和请求的Api不匹配'], + ['code' => 'AuthCodeIllegal', 'message' => 'Illegal authCode.', 'http_code' => 400, 'description' => '鉴权时使用的authcode不可用于该接口'], + ['code' => 'AuthCodeNotExist', 'message' => 'The label application form does not exist, please replace the authorization code.', 'http_code' => 400, 'description' => '该标签申请单不存在,请重新更换授权码'], + ['code' => 'AuthCodeNotExist', 'message' => 'The authorization code application failed and cannot be used.', 'http_code' => 400, 'description' => '授权码申请失败,不可使用'], + ['code' => 'AuthCodeNotExist', 'message' => 'The authorization code does not exist.', 'http_code' => 400, 'description' => '授权码不存在'], + ['code' => 'AuthCodeNotExist', 'message' => 'The authorization code is being applied and cannot be used.', 'http_code' => 400, 'description' => '授权码申请中,暂不可使用'], + ['code' => 'AuthCodeNotExist', 'message' => '该AuchCode不存在', 'http_code' => 400, 'description' => '该AuchCode不存在'], + ['code' => 'AuthCodeNotExist', 'message' => 'The authorization code is not found.', 'http_code' => 400, 'description' => '授权码不存在'], + ['code' => 'BIZ_NOT_OPEN_ERROR', 'message' => 'Users who have not opened this product.', 'http_code' => 400, 'description' => '未开通本产品的用户,无法调用本产品。'], + ['code' => 'CarrierIllegal', 'message' => 'Illegal carrier type', 'http_code' => 400, 'description' => '运营商类型非法'], + ['code' => 'CarrierIllegal', 'message' => '运营商类型非法', 'http_code' => 400, 'description' => '运营商类型非法'], + ['code' => 'CertCodeIllegal', 'message' => 'Invalid CertCode value.', 'http_code' => 400, 'description' => '身份证号码格式错误'], + ['code' => 'CERTIFY_TYPE_NEED_ENTERPRISE_ERROR', 'message' => 'This service is only available to enterprise users.', 'http_code' => 400, 'description' => '本服务仅支持企业用户开通。'], + ['code' => 'CUST_NOT_EXIST_ERROR', 'message' => 'customer not exist.', 'http_code' => 400, 'description' => '用户不存在。'], + ['code' => 'DateIllegal', 'message' => 'Invalid date format.', 'http_code' => 400, 'description' => '日期格式错误'."\0"], + ['code' => 'DateTimeIllegal', 'message' => '日期格式错误', 'http_code' => 400, 'description' => '日期格式错误'], + ['code' => 'DateTimeIllegal', 'message' => 'Date format error.', 'http_code' => 400, 'description' => '日期格式错误'], + ['code' => 'EncryptTypeIllegal', 'message' => 'Invalid encryption type.', 'http_code' => 400, 'description' => '加密类型错误'], + ['code' => 'EncyrptTypeIllegal', 'message' => 'The encryption type of the mobile phone number is illegal', 'http_code' => 500, 'description' => '手机号加密类型非法'], + ['code' => 'EncyrptTypeIllegal', 'message' => '加密类型错误', 'http_code' => 400, 'description' => '加密类型错误'], + ['code' => 'GreaterThanCurrentTime', 'message' => '日期不允许大于当前时间', 'http_code' => 400, 'description' => '日期不允许大于当前时间'], + ['code' => 'IdNumberIllegal', 'message' => '身份证号格式错误', 'http_code' => 400, 'description' => '身份证号格式错误'], + ['code' => 'InputParamIllegal', 'message' => 'Wrong format of input parameter', 'http_code' => 400, 'description' => '参数格式错误'], + ['code' => 'Insufficient.Balance', 'message' => 'You have an insufficient balance.', 'http_code' => 400, 'description' => '余额不足'], + ['code' => 'InternalError', 'message' => 'Activation timed out.', 'http_code' => 500, 'description' => '开通超时'], + ['code' => 'InternalError', 'message' => 'A system error occurred.', 'http_code' => 500, 'description' => '系统异常'], + ['code' => 'InternalError', 'message' => 'An error occurred while processing your request.', 'http_code' => 500, 'description' => '处理请求失败'], + ['code' => 'InvalidParameter', 'message' => 'The product is already activated.', 'http_code' => 400, 'description' => '产品已开通'], + ['code' => 'InvalidParameter', 'message' => 'Real-name authentication is not completed.', 'http_code' => 400, 'description' => '未完成实名认证'], + ['code' => 'InvalidParameter', 'message' => 'The specified mobile phone number is invalid.', 'http_code' => 400, 'description' => '非法号码'], + ['code' => 'InvalidParameter', 'message' => 'The maximum number of data records per query is exceeded. The maximum is 100.', 'http_code' => 400, 'description' => '一次性查询超过100行数据'], + ['code' => 'InvalidParameter', 'message' => 'The specified time range is invalid.', 'http_code' => 400, 'description' => '时间范围错误'], + ['code' => 'InvalidParameter', 'message' => 'Either StartTime or EndTime is invalid.', 'http_code' => 400, 'description' => '起始时间或结束时间非法'], + ['code' => 'InvalidParameter', 'message' => 'The specified parameter is invalid.', 'http_code' => 400, 'description' => '参数异常'], + ['code' => 'InvalidParameter', 'message' => 'The customer information does not exist.', 'http_code' => 400, 'description' => '客户信息不存在'], + ['code' => 'InvalidParameter', 'message' => '请求参数非法', 'http_code' => 400, 'description' => '请求参数非法'], + ['code' => 'InvalidParameter', 'message' => 'Invalid parameter.', 'http_code' => 400, 'description' => '无效参数'], + ['code' => 'isp.PORTABILITY_NUMBER_NOT_SUPPORTED', 'message' => 'Query for MNP numbers is not supported.', 'http_code' => 400, 'description' => '不支持携号转网的号码查询。'], + ['code' => 'isp.QPS_LIMIT', 'message' => 'The maximum query frequency is exceeded.', 'http_code' => 400, 'description' => '当前查询频率已达系统上限。'], + ['code' => 'isp.SYSTEM_ERROR', 'message' => 'A system error occurred.', 'http_code' => 500, 'description' => '系统错误。'], + ['code' => 'isp.UNKNOWN', 'message' => 'An error occurred due to unknown reasons.', 'http_code' => 400, 'description' => '系统返回了未知异常。'], + ['code' => 'isv.MOBILE_NUMBER_ILLEGAL', 'message' => 'The specified mobile phone number is invalid.', 'http_code' => 400, 'description' => '请求参数的手机号格式错误。'], + ['code' => 'MobileEncrypyionNotMatch', 'message' => 'The number and encryption type do not match.', 'http_code' => 400, 'description' => '号码与加密类型不匹配'], + ['code' => 'MobileNumberIllegal', 'message' => 'Wrong format of phone number', 'http_code' => 400, 'description' => '手机号码格式错误'], + ['code' => 'MobileNumberIllegal', 'message' => '手机号码格式错误', 'http_code' => 400, 'description' => '手机号码格式错误'], + ['code' => 'MobileNumberTypeIllegal', 'message' => 'Invalid number type.', 'http_code' => 400, 'description' => '号码类型错误'], + ['code' => 'MobileNumberTypeIllegal', 'message' => '号码类型错误', 'http_code' => 400, 'description' => '号码类型错误'], + ['code' => 'MobileNumberTypeNotMatch', 'message' => 'The number and number type do not match.', 'http_code' => 400, 'description' => '号码与号码类型不匹配'], + ['code' => 'MobileNumberTypeNotMatch', 'message' => '号码与号码类型不匹配', 'http_code' => 400, 'description' => '号码与号码类型不匹配'], + ['code' => 'MobileNumberTypeNotMatch', 'message' => 'The phone number and encryption type do not match.', 'http_code' => 400, 'description' => '手机号和所选加密方式不匹配'], + ['code' => 'NameIllegal', 'message' => 'Invalid name.', 'http_code' => 400, 'description' => '姓名格式错误'."\0"], + ['code' => 'OperatorLimit', 'message' => 'The number is limited by the operator.', 'http_code' => 200, 'description' => '该号码受运营商限制'], + ['code' => 'OperatorLimit', 'message' => 'The number is limited by the operator', 'http_code' => 200, 'description' => '运营商禁止查询的手机号'], + ['code' => 'OperatorLimit', 'message' => '运营商禁止查询的号码', 'http_code' => 200, 'description' => '运营商禁止查询的号码'], + ['code' => 'OperatorLimit', 'message' => 'Number is limited by the operator.', 'http_code' => 400, 'description' => '运营商禁止查询的号码'], + ['code' => 'OutOfService', 'message' => 'The ISV is out of service.', 'http_code' => 400, 'description' => '业务已停机'], + ['code' => 'Parameter.Error', 'message' => 'A parameter error occurred.', 'http_code' => 400, 'description' => '参数错误'], + ['code' => 'Permission.NotAuthorized', 'message' => 'You are not authorized to perform the operation.', 'http_code' => 403, 'description' => '您没有权限执行此操作'], + ['code' => 'Permission.NotAuthorized', 'message' => 'Insufficient permissions. Please contact the primary account administrator.', 'http_code' => 403, 'description' => '权限不足,请联系主账号管理员'], + ['code' => 'Permission.NotAuthorized', 'message' => '您没有权限执行此操作', 'http_code' => 403, 'description' => '您没有权限执行此操作'], + ['code' => 'PhoneNumber.Illegal', 'message' => 'The specified phone number is illegal.', 'http_code' => 400, 'description' => '号码非法'], + ['code' => 'PhoneNumber.NoSupport', 'message' => 'Number query is not supported for number portability.', 'http_code' => 400, 'description' => '不支持携号转网号码查询'], + ['code' => 'PhoneNumber.QueryFail', 'message' => 'Failed to query the phone number.', 'http_code' => 400, 'description' => '查询号码失败'], + ['code' => 'PhoneNumber.QueryFail', 'message' => 'The specified mobile phone number cannot find the result.', 'http_code' => 400, 'description' => '指定的手机号查不到结果'], + ['code' => 'PhoneNumberNotfound', 'message' => 'The queried number is not found.', 'http_code' => 200, 'description' => '传入的手机号未查到归属结果'], + ['code' => 'PhoneNumberNotfound', 'message' => '传入的手机号查不到结果', 'http_code' => 200, 'description' => '传入的手机号查不到结果'], + ['code' => 'PortabilityNumberNotSupported', 'message' => 'Number portability is not supported', 'http_code' => 200, 'description' => '不支持携号转网'], + ['code' => 'PortabilityNumberNotSupported', 'message' => '不支持2021年6月前携号转网的号码查询', 'http_code' => 200, 'description' => '不支持2021年6月前携号转网的号码查询'], + ['code' => 'PortabilityNumberNotSupported', 'message' => '不支持携号转网的号码', 'http_code' => 200, 'description' => '不支持携号转网的号码'], + ['code' => 'Product.NotOrdered', 'message' => 'You have not ordered this product (offer).', 'http_code' => 400, 'description' => '未订购该产品'], + ['code' => 'Product.Unsubscript', 'message' => 'You have not subscribed to the specified product.', 'http_code' => 400, 'description' => '未订阅该功能'], + ['code' => 'Product.Unsubscript', 'message' => '未订阅该功能', 'http_code' => 400, 'description' => '未订阅该功能'], + ['code' => 'ProductNotSubscribed', 'message' => 'You have not subscribed to the specified product.', 'http_code' => 400, 'description' => '未订阅该功能'], + ['code' => 'Queries.Repeated', 'message' => 'You can only query phoneNumber once every 60 seconds.', 'http_code' => 400, 'description' => '60秒内重复查询'], + ['code' => 'Ram.CheckFailed', 'message' => 'You did not pass the RAM permission check.', 'http_code' => 400, 'description' => 'RAM权限校验失败'], + ['code' => 'Ram.CheckFailed', 'message' => 'You did not pass the ARM permission check.', 'http_code' => 400, 'description' => 'RAM权限校验失败'], + ['code' => 'Ram.PermissionDeny', 'message' => 'You are not authorized to perform the operation.', 'http_code' => 400, 'description' => '权限不足'], + ['code' => 'Ram.PermissionDeny', 'message' => '权限不足', 'http_code' => 400, 'description' => '权限不足'], + ['code' => 'RateIllegal', 'message' => 'Illegal threshold parameter', 'http_code' => 400, 'description' => '阈值参数非法'], + ['code' => 'RateIllegal', 'message' => 'Invalid ratio format.', 'http_code' => 400, 'description' => '比例格式错误'], + ['code' => 'RateIllegal', 'message' => '阈值参数非法。', 'http_code' => 400, 'description' => '阈值参数非法。'], + ['code' => 'RequestFrequencyLimit', 'message' => '因运营商限制,禁止在短时间内高频对同一个号码进行反复查询', 'http_code' => 200, 'description' => '因运营商限制,禁止在短时间内高频对同一个号码进行反复查询'], + ['code' => 'RequestNumberNotfound', 'message' => '请求的号码查不到结果', 'http_code' => 200, 'description' => '请求的号码查不到结果'], + ['code' => 'RequestNumberNotfound', 'message' => 'The requested number cannot find result.', 'http_code' => 400, 'description' => '请求的号码查不到结果'], + ['code' => 'RequestNumberNotSupported', 'message' => '不支持中国广电号码(192开头)和虚拟运营商号码的查询', 'http_code' => 200, 'description' => '不支持中国广电号码(192开头)和虚拟运营商号码的查询'], + ['code' => 'RequestNumberNotSupported', 'message' => '请求的号码不支持查询', 'http_code' => 200, 'description' => '请求的号码不支持查询'], + ['code' => 'RequestNumberNotSupported', 'message' => 'NotSupported this RequestNumber.', 'http_code' => 200, 'description' => '不支持中国广电号码(192 开头)、虚拟运营商、和其他运营商不支持查询的号码。'], + ['code' => 'RequestSupplierError', 'message' => 'Request supplier error.', 'http_code' => 500, 'description' => '请求第三方服务异常。'], + ['code' => 'RequestTimeout', 'message' => 'Request supplier timed out.', 'http_code' => 500, 'description' => '请求供应商超时'], + ['code' => 'RequsetTimeout', 'message' => 'Request supplier timed out.', 'http_code' => 500, 'description' => '请求供应商超时'], + ['code' => 'SupplierError', 'message' => '运营商或供应商系统异常', 'http_code' => 500, 'description' => '运营商或供应商系统异常'], + ['code' => 'SupplierError', 'message' => 'Operator or supplier system exception.', 'http_code' => 500, 'description' => '运营商或供应商系统异常.'], + ['code' => 'SupplierTimeout', 'message' => 'Request vendor timeout.', 'http_code' => 500, 'description' => '请求供应商超时'], + ['code' => 'System.LimitControl', 'message' => 'The system is under flow control.', 'http_code' => 400, 'description' => '系统限流控制'], + ['code' => 'System.LimitControl', 'message' => '流控错误', 'http_code' => 400, 'description' => '流控错误'], + ['code' => 'SystemError', 'message' => 'System error', 'http_code' => 500, 'description' => '系统异常'], + ['code' => 'SystemError', 'message' => 'An error occurred while processing your request.', 'http_code' => 500, 'description' => '请求过程中出现报错'], + ['code' => 'SystemError', 'message' => '系统异常', 'http_code' => 500, 'description' => '系统异常'], + ['code' => 'SystemError', 'message' => 'A system error occurred.', 'http_code' => 500, 'description' => '系统错误'], + ['code' => 'TagNotExist', 'message' => 'The label does not exist.', 'http_code' => 400, 'description' => '标签不存在'], + ['code' => 'TagNotExist', 'message' => 'The business resource does not exist.', 'http_code' => 400, 'description' => '业务资源不存在'], + ['code' => 'TagNotExist', 'message' => '标签或业务资源不存在', 'http_code' => 400, 'description' => '标签或业务资源不存在'], + ['code' => 'TagNotExist', 'message' => 'The business resource does not exist.The label does not exist.', 'http_code' => 400, 'description' => '标签或业务资源不存在。'], + ['code' => 'ThresholdIllegal', 'message' => 'Please fill in the threshold range from 0 to 100 correctly.', 'http_code' => 400, 'description' => '请正确填写阈值范围0~100!'], + ['code' => 'Unknown', 'message' => 'Unknown error', 'http_code' => 500, 'description' => '未知异常'], + ['code' => 'Unknown', 'message' => '未知异常', 'http_code' => 500, 'description' => '未知异常'], + ['code' => 'Unknown.ResourceOwnerId', 'message' => 'The resource does not belong to the current user.', 'http_code' => 400, 'description' => '资源不属于当前用户'], + ['code' => 'Unknown.ResourceOwnerId', 'message' => '资源不属于当前用户', 'http_code' => 400, 'description' => '资源不属于当前用户'], + ['code' => 'UserNameIllegal', 'message' => '姓名格式错误', 'http_code' => 400, 'description' => '姓名格式错误'], + ['code' => 'USER_NOT_BY_CUST_ERROR', 'message' => 'Customers who have not opened this product.', 'http_code' => 400, 'description' => '未开通本产品的客户。'], + ['code' => 'USER_NOT_BY_CUST_ERROR', 'message' => 'Unable to obtain user information, please check whether opened this product.', 'http_code' => 400, 'description' => '无法获取用户的相关信息,请检查是否开通本产品'], + ['code' => 'MobileNumberNotSupported', 'message' => 'Mobile number is not supported. Only virtual carrier numbers (170/171/165/162/167) are accepted.', 'http_code' => 400, 'description' => '本接口只支持170/171/165/162/167号段的虚商号码查询'], + ], + 'changeSet' => [ [ - 'regionId' => 'cn-hangzhou', - 'endpoint' => 'dytnsapi.aliyuncs.com', - ], - [ - 'regionId' => 'cn-qingdao', - 'endpoint' => 'dytnsapi.aliyuncs.com', - ], - [ - 'regionId' => 'cn-beijing', - 'endpoint' => 'dytnsapi.aliyuncs.com', - ], - [ - 'regionId' => 'cn-zhangjiakou', - 'endpoint' => 'dytnsapi.aliyuncs.com', - ], - [ - 'regionId' => 'cn-huhehaote', - 'endpoint' => 'dytnsapi.aliyuncs.com', - ], - [ - 'regionId' => 'cn-wulanchabu', - 'endpoint' => 'dytnsapi.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai', - 'endpoint' => 'dytnsapi.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen', - 'endpoint' => 'dytnsapi.aliyuncs.com', - ], - [ - 'regionId' => 'cn-chengdu', - 'endpoint' => 'dytnsapi.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hongkong', - 'endpoint' => 'dytnsapi.aliyuncs.com', - ], - [ - 'regionId' => 'ap-northeast-1', - 'endpoint' => 'dytnsapi.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-1', - 'endpoint' => 'dytnsapi.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-3', - 'endpoint' => 'dytnsapi.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-5', - 'endpoint' => 'dytnsapi.aliyuncs.com', - ], - [ - 'regionId' => 'us-east-1', - 'endpoint' => 'dytnsapi.aliyuncs.com', - ], - [ - 'regionId' => 'us-west-1', - 'endpoint' => 'dytnsapi.aliyuncs.com', - ], - [ - 'regionId' => 'eu-west-1', - 'endpoint' => 'dytnsapi.aliyuncs.com', - ], - [ - 'regionId' => 'eu-central-1', - 'endpoint' => 'dytnsapi.aliyuncs.com', - ], - [ - 'regionId' => 'me-east-1', - 'endpoint' => 'dytnsapi.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou-finance', - 'endpoint' => 'dytnsapi.aliyuncs.com', + 'apis' => [ + ['description' => '错误码发生变更', 'api' => 'DescribeNumberMccMnc'], + ], + 'createdAt' => '2025-08-13T12:45:06.000Z', + 'description' => '', ], [ - 'regionId' => 'cn-shanghai-finance-1', - 'endpoint' => 'dytnsapi.aliyuncs.com', + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'GetPhoneNumberIdentificationUrl'], + ], + 'createdAt' => '2024-03-12T06:24:15.000Z', + 'description' => '', ], - [ - 'regionId' => 'cn-shenzhen-finance-1', - 'endpoint' => 'dytnsapi.aliyuncs.com', + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '-1', 'countWindow' => 1, 'regionId' => '*'], ], - [ - 'regionId' => 'cn-beijing-finance-1', - 'endpoint' => 'dytnsapi.aliyuncs.com', + ], + 'ram' => [ + 'productCode' => 'DYTNS', + 'productName' => '号码百科', + 'ramCodes' => ['dytns'], + 'ramLevel' => '服务级', + 'ramConditions' => [], + 'ramActions' => [ + [ + 'apiName' => 'GetIdentificationResult', + 'description' => '获取认证结果', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dytns:GetIdentificationResult', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DYTNS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetIdentificationSession', + 'description' => '获取认证sessionId', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'dytns:GetIdentificationSession', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DYTNS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetPhoneNumberIdentificationResult', + 'description' => '获取本机号码认证结果', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dytns:GetPhoneNumberIdentificationResult', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DYTNS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetPhoneNumberIdentificationUrl', + 'description' => '获取本机号码认证URL', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dytns:GetPhoneNumberIdentificationUrl', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DYTNS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'resourceTypes' => [], ], ]; |
