summaryrefslogtreecommitdiff
path: root/data/en_us/dytnsapi/2023-01-01/api-docs.php
diff options
context:
space:
mode:
Diffstat (limited to 'data/en_us/dytnsapi/2023-01-01/api-docs.php')
-rw-r--r--data/en_us/dytnsapi/2023-01-01/api-docs.php1099
1 files changed, 596 insertions, 503 deletions
diff --git a/data/en_us/dytnsapi/2023-01-01/api-docs.php b/data/en_us/dytnsapi/2023-01-01/api-docs.php
index 7ba079e..3914373 100644
--- a/data/en_us/dytnsapi/2023-01-01/api-docs.php
+++ b/data/en_us/dytnsapi/2023-01-01/api-docs.php
@@ -1,37 +1,21 @@
<?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', 'GetPhoneNumberIdentificationResult', 'GetPhoneNumberIdentificationUrl'],
'type' => 'directory',
- 'children' => [
- 'DescribeNumberMccMnc',
- 'DescribeNumberHLR',
- ],
+ 'title' => 'Others',
],
],
'components' => [
'schemas' => [],
],
'apis' => [
- 'GetPhoneNumberIdentificationUrl' => [
- 'summary' => 'Obtains the verification URL of your phone number.',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DescribeNumberHLR' => [
+ 'summary' => 'Call this operation to query basic information and the status of a phone number.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -40,131 +24,199 @@
'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' => 'The IP address of the subscriber\'s phone.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '114.124.***.13',
- ],
+ 'schema' => ['description' => 'The phone number to query.', 'type' => 'string', 'required' => false, 'example' => 'example', 'title' => ''],
],
[
- 'name' => 'PhoneNumber',
+ 'name' => 'AuthCode',
'in' => 'query',
+ 'schema' => ['description' => 'The authorization code.'."\n"
+ ."\n"
+ .'> Log on to the [Number Encyclopedia console](https://dytns.console.aliyun.com/overview?spm=a2c4g.608385.0.0.79847f8b3awqUC). On the [My Applications](https://dytns.console.aliyun.com/analysis/apply) page, obtain the authorization code.', 'type' => 'string', 'required' => false, 'example' => 'example', 'title' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => 'The phone number of the subscriber. The phone number is in the Mobile Station International Subscriber Directory Number (MSISDN) format.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => '628211****113',
+ 'type' => 'object',
+ 'properties' => [
+ 'AccessDeniedDetail' => ['description' => 'Details about the access denial. This parameter is returned only if RAM authentication fails.', 'type' => 'string', 'example' => 'None', 'title' => ''],
+ 'RequestId' => ['description' => 'The unique ID of the request.', 'type' => 'string', 'example' => '1C3B8084-3A7D-570B-BC84-BF945A9CF65E', 'title' => ''],
+ 'Message' => ['description' => 'The description of the status code.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
+ 'Data' => [
+ 'description' => 'The data returned.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Call' => [
+ 'description' => 'The call details.',
+ 'type' => 'object',
+ 'properties' => [
+ 'MinLength' => ['description' => 'The minimum length.', 'type' => 'integer', 'format' => 'int64', 'example' => '21', 'title' => ''],
+ 'CleansedCode' => ['description' => 'The cleansed code.', 'type' => 'string', 'example' => 'example', 'title' => ''],
+ 'MaxLength' => ['description' => 'The maximum length.', 'type' => 'integer', 'format' => 'int64', 'example' => '22', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'PhoneType' => ['description' => 'The type of the phone number.', 'type' => 'string', 'example' => 'example', 'title' => ''],
+ 'CountryIso3' => ['description' => 'The ISO 3166-1 alpha-3 code of the country where the phone number is registered.', 'type' => 'string', 'example' => 'example', 'title' => ''],
+ 'Live' => [
+ 'description' => 'The real-time status of the phone number.',
+ 'type' => 'object',
+ 'properties' => [
+ 'RoamingCountry' => ['description' => 'The roaming country.', 'type' => 'string', 'example' => 'example', 'title' => ''],
+ 'DeviceStatus' => ['description' => 'The device status.', 'type' => 'string', 'example' => 'example', 'title' => ''],
+ 'SubscriberStatus' => ['description' => 'The subscription status.', 'type' => 'string', 'example' => 'example', 'title' => ''],
+ 'Roaming' => ['description' => 'The roaming status.', 'type' => 'string', 'example' => 'example', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'Sms' => [
+ 'description' => 'The SMS details.',
+ 'type' => 'object',
+ 'properties' => [
+ 'MinLength' => ['description' => 'The minimum length.', 'type' => 'integer', 'format' => 'int64', 'example' => '2', 'title' => ''],
+ 'MaxLength' => ['description' => 'The maximum length.', 'type' => 'integer', 'format' => 'int64', 'example' => '59', 'title' => ''],
+ 'CleansedCode' => ['description' => 'The cleansed code.', 'type' => 'integer', 'format' => 'int64', 'example' => '58', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'Carrier' => ['description' => 'The carrier of the phone number.', 'type' => 'string', 'example' => 'example', 'title' => ''],
+ 'City' => ['description' => 'The city where the phone number is registered.', 'type' => 'string', 'example' => 'example', 'title' => ''],
+ 'Blocked' => ['description' => 'Indicates whether the execution is blocked if the analysis fails.', 'type' => 'string', 'example' => 'example', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'Code' => ['description' => 'The status code. Valid value:'."\n"
+ ."\n"
+ .'- **OK**: The request was successful.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
+ ],
+ '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' => 'Cell Phone Number Service ',
+ 'description' => '- Ensure you are familiar with the pricing of Number Encyclopedia before you call this operation.'."\n"
+ ."\n"
+ .'- Before you call this operation, log on to the Number Encyclopedia console. On the Tag Square page, find the required tag and click Request Access.'."\n"
+ ."\n"
+ .'- You are charged for this operation only when the `Code` parameter in the response is `OK`. You are not charged for calls that return other results.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [],
+ ],
+ 'DescribeNumberMccMnc' => [
+ 'summary' => 'This operation from Phone Number-based Service queries an international phone number to identify its country and carrier, and returns the corresponding MCC and MNC.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
+ 'security' => [
[
- 'name' => 'OutId',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The external ID.'."\n",
- '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' => 'The authorization code.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'K***9i7CIe',
- ],
+ 'schema' => ['description' => 'The phone number, which must be prefixed with a country code. For example, a phone number in China (Hong Kong) must be in the `85212343433` format.', 'type' => 'string', 'required' => false, 'example' => '86123434345', 'title' => ''],
],
[
- 'name' => 'RememberPhoneNumber',
+ 'name' => 'AuthCode',
'in' => 'query',
- 'schema' => [
- 'description' => 'Specifies whether to remember the phone number.'."\n",
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- 'default' => 'true',
- ],
+ 'schema' => ['description' => 'The authorization code.'."\n"
+ ."\n"
+ .'> To obtain an authorization code, log on to the **Phone Number-based Service console**, go to [**Tag Plaza**](https://dytns.console.aliyun.com/analysis/square), select a tag, and submit an application. You will receive the authorization code after your application is approved.', 'type' => 'string', 'required' => false, 'example' => 'example', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
- 'description' => 'The response parameters.'."\n",
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => '68A40250-50CD-034C-B728-0BD******177',
- ],
- 'Message' => [
- 'description' => 'The description of the return code.'."\n",
- 'type' => 'string',
- 'example' => 'OK',
- ],
+ 'AccessDeniedDetail' => ['description' => 'Details about the access denial. This parameter is returned only if the RAM permission check fails.', 'type' => 'string', 'example' => '-', 'title' => ''],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'CC3BB6D2-2FDF-4321-9DCE-B38165CE4C47', 'title' => ''],
+ 'Message' => ['description' => 'The returned message.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
'Data' => [
- 'description' => 'The returned data.'."\n",
+ 'description' => 'The returned data object.',
'type' => 'object',
'properties' => [
- 'IdentificationUrl' => [
- 'description' => 'The verification URL.'."\n",
- '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' => 'The session ID.'."\n",
- 'type' => 'string',
- 'example' => '8636b75e2fcb40c53ffecc2b5947115c.149b03d2a7494e6e8f5b34c915245815.707c7f0d93f4409db0761aa5da94ce01.1686******041',
- ],
+ 'Mnc' => ['description' => 'The Mobile Network Code (MNC) of the carrier.', 'type' => 'string', 'example' => '123', 'title' => ''],
+ 'Ported' => ['description' => 'Indicates whether the number has been ported (number portability).', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'CountryIso3' => ['description' => 'The ISO-3166-1 alpha-3 country code.', 'type' => 'string', 'example' => 'USA', 'title' => ''],
+ 'Mcc' => ['description' => 'The Mobile Country Code (MCC) of the carrier.', 'type' => 'string', 'example' => '123', 'title' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
- 'Code' => [
- 'description' => 'The return code. Valid values:'."\n"
- ."\n"
- .'* **OK**: The request is successful.'."\n"
- .'* **IdentificationNotAvailable**: The verification system does not support the phone number that corresponds to the IP address.'."\n"
- .'* **MobileNumberIllegal**: The format of the phone number is invalid.'."\n",
- 'type' => 'string',
- 'example' => 'OK',
- ],
+ 'Code' => ['description' => 'The status code of the request. A value of **OK** indicates a successful request.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'errorCodes' => [
+ 200 => [
+ ['errorCode' => 'RequestNumberNotSupported', 'errorMessage' => 'NotSupported this RequestNumber.', 'description' => ''],
+ ['errorCode' => 'PhoneNumberNotfound', 'errorMessage' => '传入的手机号查不到结果', 'description' => ''],
+ ],
+ 500 => [
+ ['errorCode' => 'RequestSupplierError', 'errorMessage' => 'Request supplier error.', 'description' => 'Request supplier error.'],
+ ],
],
- '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' => 'GetPhoneNumberIdentificationUrl',
- ],
- 'GetPhoneNumberIdentificationResult' => [
- 'summary' => 'Obtains the verification result of your phone number.',
- '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' => 'International Number Ownership Service',
+ 'description' => 'Before you call this operation, understand the billing of Phone Number-based Service.'."\n"
+ ."\n"
+ .'Billing method: Each request that returns `OK` for the `Code` parameter incurs a charge.'."\n"
+ ."\n"
+ .'The MCC and MNC fields in the response may be empty depending on data availability.',
+ 'responseParamsDescription' => 'This service is available in the following countries and regions: United States, Spain, Malaysia, Japan, Thailand, South Korea, Brazil, Russia, Vietnam, France, the Philippines, Germany, the United Kingdom, Italy, Pakistan, Singapore, India, and China (Hong Kong).',
+ 'changeSet' => [
+ ['createdAt' => '2025-08-13T12:44:59.000Z', 'description' => 'Error codes changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [],
],
+ 'ramActions' => [],
+ ],
+ 'GetIdentificationResult' => [
+ 'summary' => 'Retrieves the result of an identification request.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -176,121 +228,173 @@
'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' => 'The session ID.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => '8636b75e2fcb40c53ffecc2b5947115c.149b03d2a7494e6e8f5b34c915245815.707c7f0d93f4409db0761aa5da94ce01.1686******041',
- ],
+ 'schema' => ['description' => 'The session ID.', 'type' => 'string', 'required' => true, 'example' => 'example', 'title' => ''],
],
[
- 'name' => 'SessionPayload',
+ 'name' => 'AuthCode',
'in' => 'query',
+ 'schema' => ['description' => 'The authorization code.'."\n"
+ ."\n"
+ .'> In the [Phone Number Verification Service console](https://dytns.console.aliyun.com/analysis/apply), you can obtain the authorization code, which is the same as the authorization ID on the **My Applications** page.', 'type' => 'string', 'required' => true, 'example' => 'example', 'title' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => 'The session payload.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'uQne0vsuNywXVvI4VP5taHsgDNsd3BwcbmrhjXi58WbxBGFW+e8ufMEi9j89YonphV6NZ1PIeKvboHtU1nsSjZMTcoFPfkjqaORIHdSlPb6vmIzqOnJMsP1KPQ8K1JLXSaAKsB2lQ5A9HCkX2HzDEwje14HYQsnPd/Ka2YWgXuL0N8GE9oYi25d4DdlU0XR52YjSj8GMLSgbW7yNxEPvUCOQG83FZfQqmIWG2+0C/fQ3gdG9WI7AeeHZo4IRKGtQnpjKGtZZl8VoLPNIswDqZeeyjCyZlKUXKrAt4Co9c4I4q8G1jZm53COQJ+DuTiWH7w+tois3WJwFV/HmdlAKt8SqpiVrEv47VQ9V+8FYsdKz3A3CRyBVgNj6wYKKbwaI9BdQoOkbYzzA8CfAKO5w1oYVD2nOcYS/AffbPbE31PJj7SdVvKghwPL56OVdjS9Hd0iW0SMBWD0F1iRNCUNHL3ffHcFjJLdhTrMt8VHSRn0nOlvO1ZaWqMQ0yE0q*************************kXTpoQLo0+0h+CEcf90hTg8XdMhj9B0A3SOINceLlmoZb3czvYl00+CC0075DjOX41YtnuAUfaNYPgLIZkjYyq+JopBQFAkxPUbJHC0oCzB9dQahUthWY38OPBs=',
+ 'type' => 'object',
+ 'properties' => [
+ 'AccessDeniedDetail' => ['description' => 'The details about the access denial.', 'type' => 'string', 'example' => '-', 'title' => ''],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '68A40250-50CD-034C-B728-0BD135850177', 'title' => ''],
+ 'Message' => ['description' => 'The message that is returned for the request.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
+ 'Data' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'IsIdentified' => ['description' => 'Indicates whether the phone number passes the identification.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ ],
+ 'description' => 'The data that is returned.',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'Code' => ['description' => 'The status code. A value of OK indicates that the request is successful.'."\n"
+ ."\n"
+ .'- **OK**: The request was successful.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'GetIdentificationResult',
+ 'description' => '- Review the [pricing](~~154008~~) for Phone Number Verification Service before you call this operation.'."\n"
+ ."\n"
+ .'- This operation requires prior approval. To request access, log on to the Phone Number Verification Service console, go to the [Tag Plaza](https://dytns.console.aliyun.com/analysis/square) page, find the desired tag, click **Request Access**, and then complete the application. You can use the operation after your application is approved.'."\n"
+ ."\n"
+ .'- This operation is billable only for successful requests where `Code="OK"` is returned. You are not charged for requests that return other results.'."\n"
+ ."\n"
+ .'### QPS limit'."\n"
+ ."\n"
+ .'The queries-per-second (QPS) limit for this operation is 200 for a single user. Calls that exceed this limit are throttled, which can affect your business. Plan your requests accordingly.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
[
- 'name' => 'OutId',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The external ID.'."\n",
- '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' => 'All Resource', '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' => 'Gets a session ID for international certification.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
+ 'security' => [
[
- 'name' => 'AuthCode',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The authorization code.'."\n",
- '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' => 'The phone number of the subscriber. The phone number to be verified must be in the Mobile Station International Subscriber Directory Number (MSISDN) format.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => '628211****113',
- ],
+ 'schema' => ['description' => 'The authorization code.', 'type' => 'string', 'required' => true, 'example' => 'example', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
- 'description' => 'The response parameters.'."\n",
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => '68A40250-50CD-034C-B728-0BD******177',
- ],
- 'Message' => [
- 'description' => 'The description of the return code.'."\n",
- 'type' => 'string',
- 'example' => 'OK',
- ],
+ 'AccessDeniedDetail' => ['description' => 'Details about why access was denied.', 'type' => 'string', 'example' => '-', 'title' => ''],
+ 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '68A40250-50CD-034C-B728-0BD******177', 'title' => ''],
+ 'Message' => ['description' => 'A description of the status code.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
'Data' => [
- 'description' => 'The returned data.'."\n",
'type' => 'object',
'properties' => [
- 'IsIdentified' => [
- 'description' => 'Indicates whether the phone number passed the verification.'."\n",
- 'type' => 'string',
- 'example' => 'true',
- ],
+ 'ExpireDate' => ['description' => 'The authorization expiration time.', 'type' => 'string', 'example' => 'example', 'title' => ''],
+ 'SessionId' => ['description' => 'The session ID.', 'type' => 'string', 'example' => 'example', 'title' => ''],
],
+ 'description' => 'The data object.',
+ 'title' => '',
+ 'example' => '',
],
- 'Code' => [
- 'description' => 'The return code. Valid values:'."\n"
- ."\n"
- .'* OK: The request is successful.'."\n"
- .'* NoIdentificationResult: No verification result is available or the verification failed.'."\n"
- .'* SessionNotValid: The session is invalid or expired.'."\n"
- .'* MobileNumberIllegal: The format of the phone number is invalid.'."\n",
- 'type' => 'string',
- 'example' => 'OK',
- ],
+ 'Code' => ['description' => 'The status code for the request.'."\n"
+ ."\n"
+ .'- OK: The request succeeded.'."\n"
+ ."\n"
+ .'- NoIdentificationResult: No identification result is available or the identification failed.'."\n"
+ ."\n"
+ .'- SessionNotValid: The session is invalid or has expired.'."\n"
+ ."\n"
+ .'- MobileNumberIllegal: The provided phone number is in an invalid format.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
],
+ 'description' => 'The data that is returned.',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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' => 'GetPhoneNumberIdentificationResult',
- ],
- 'DescribeNumberMccMnc' => [
- 'summary' => '号码百科国际站号码归属服务',
- 'methods' => [
- 'post',
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'GetIdentificationSession',
+ 'description' => '- Before calling this operation, sign in to the Phone Number E-encyclopedia console. On the [Tag Plaza](https://dytns.console.aliyun.com/analysis/square) page, find the required tag, click **Apply for Activation**, and complete the application. This operation is available only after your application is approved.'."\n"
+ ."\n"
+ .'- This operation is not billed.'."\n"
+ ."\n"
+ .'### QPS limit'."\n"
+ ."\n"
+ .'The QPS limit for a single user is 200. If you exceed this limit, subsequent API calls are throttled. This may affect your business, so plan your calls accordingly.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
- 'schemes' => [
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'dytns:GetIdentificationSession',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DYTNS', 'resourceType' => 'All Resource', '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' => 'Obtains the verification result of your phone number.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -302,122 +406,92 @@
'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' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '86123434345',
- ],
+ 'schema' => ['description' => 'The session ID.'."\n", 'type' => 'string', 'required' => true, 'example' => '8636b75e2fcb40c53ffecc2b5947115c.149b03d2a7494e6e8f5b34c915245815.707c7f0d93f4409db0761aa5da94ce01.1686******041', 'title' => ''],
+ ],
+ [
+ 'name' => 'SessionPayload',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The session payload.'."\n", 'type' => 'string', 'required' => true, 'example' => 'uQne0vsuNywXVvI4VP5taHsgDNsd3BwcbmrhjXi58WbxBGFW+e8ufMEi9j89YonphV6NZ1PIeKvboHtU1nsSjZMTcoFPfkjqaORIHdSlPb6vmIzqOnJMsP1KPQ8K1JLXSaAKsB2lQ5A9HCkX2HzDEwje14HYQsnPd/Ka2YWgXuL0N8GE9oYi25d4DdlU0XR52YjSj8GMLSgbW7yNxEPvUCOQG83FZfQqmIWG2+0C/fQ3gdG9WI7AeeHZo4IRKGtQnpjKGtZZl8VoLPNIswDqZeeyjCyZlKUXKrAt4Co9c4I4q8G1jZm53COQJ+DuTiWH7w+tois3WJwFV/HmdlAKt8SqpiVrEv47VQ9V+8FYsdKz3A3CRyBVgNj6wYKKbwaI9BdQoOkbYzzA8CfAKO5w1oYVD2nOcYS/AffbPbE31PJj7SdVvKghwPL56OVdjS9Hd0iW0SMBWD0F1iRNCUNHL3ffHcFjJLdhTrMt8VHSRn0nOlvO1ZaWqMQ0yE0q*************************kXTpoQLo0+0h+CEcf90hTg8XdMhj9B0A3SOINceLlmoZb3czvYl00+CC0075DjOX41YtnuAUfaNYPgLIZkjYyq+JopBQFAkxPUbJHC0oCzB9dQa******WY38OPBs=', 'title' => ''],
+ ],
+ [
+ 'name' => 'OutId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The external ID.'."\n", 'type' => 'string', 'required' => true, 'example' => '149b03d2-a749-4e6e-8f5b-34******5815', 'title' => ''],
],
[
'name' => 'AuthCode',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '示例值',
- ],
+ 'schema' => ['description' => 'The authorization code.'."\n", 'type' => 'string', 'required' => true, 'example' => 'K***9i7CIe', 'title' => ''],
+ ],
+ [
+ 'name' => 'PhoneNumber',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The phone number of the subscriber. The phone number to be verified must be in the Mobile Station International Subscriber Directory Number (MSISDN) format.'."\n", 'type' => 'string', 'required' => true, 'example' => '628211****113', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
+ 'description' => 'The response parameters.'."\n",
'type' => 'object',
'properties' => [
- 'AccessDeniedDetail' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '-',
- ],
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'CC3BB6D2-2FDF-4321-9DCE-B38165CE4C47',
- ],
- 'Message' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'OK',
- ],
+ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '68A40250-50CD-034C-B728-0BD******177', 'title' => ''],
+ 'Message' => ['description' => 'The description of the return code.'."\n", 'type' => 'string', 'example' => 'OK', 'title' => ''],
'Data' => [
- 'description' => '',
+ 'description' => 'The returned data.'."\n",
'type' => 'object',
'properties' => [
- 'Mnc' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '示例值示例值',
- ],
- 'Ported' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'CountryIso3' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '示例值示例值',
- ],
- 'Mcc' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '示例值示例值',
- ],
+ 'IsIdentified' => ['description' => 'Indicates whether the phone number passed the verification.'."\n", 'type' => 'string', 'example' => 'true', 'title' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
- 'Code' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'OK',
- ],
+ 'Code' => ['description' => 'The return code. Valid values:'."\n"
+ ."\n"
+ .'* OK: The request is successful.'."\n"
+ .'* NoIdentificationResult: No verification result is available or the verification failed.'."\n"
+ .'* SessionNotValid: The session is invalid or expired.'."\n"
+ .'* MobileNumberIllegal: The format of the phone number is invalid.'."\n", 'type' => 'string', 'example' => 'OK', 'title' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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' => 'GetPhoneNumberIdentificationResult',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'dytns:GetPhoneNumberIdentificationResult',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DYTNS', 'resourceType' => 'All Resource', '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"}]',
],
- 'DescribeNumberHLR' => [
- 'summary' => 'HLR服务',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'GetPhoneNumberIdentificationUrl' => [
+ 'summary' => 'Obtains the verification URL of your phone number.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -426,269 +500,288 @@
'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' => 'The IP address of the subscriber\'s phone.'."\n", 'type' => 'string', 'required' => false, 'example' => '114.124.***.13', 'title' => ''],
+ ],
+ [
'name' => 'PhoneNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '示例值示例值示例值',
- ],
+ 'schema' => ['description' => 'The phone number of the subscriber. The phone number is in the Mobile Station International Subscriber Directory Number (MSISDN) format.'."\n", 'type' => 'string', 'required' => true, 'example' => '628211****113', 'title' => ''],
+ ],
+ [
+ 'name' => 'OutId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The external ID.'."\n", 'type' => 'string', 'required' => true, 'example' => '149b03d2-a749-4e6e-8f5b-34******5815', 'title' => ''],
],
[
'name' => 'AuthCode',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '示例值示例值',
- ],
+ 'schema' => ['description' => 'The authorization code.'."\n", 'type' => 'string', 'required' => true, 'example' => 'K***9i7CIe', 'title' => ''],
+ ],
+ [
+ 'name' => 'RememberPhoneNumber',
+ 'in' => 'query',
+ 'schema' => ['description' => 'Specifies whether to remember the phone number.'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'true', 'default' => 'true', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
+ 'description' => 'The response parameters.'."\n",
'type' => 'object',
'properties' => [
- 'AccessDeniedDetail' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'None',
- ],
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '1C3B8084-3A7D-570B-BC84-BF945A9CF65E',
- ],
- 'Message' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'OK',
- ],
+ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '68A40250-50CD-034C-B728-0BD******177', 'title' => ''],
+ 'Message' => ['description' => 'The description of the return code.'."\n", 'type' => 'string', 'example' => 'OK', 'title' => ''],
'Data' => [
- 'description' => '',
+ 'description' => 'The returned data.'."\n",
'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' => '',
- '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' => 'The verification URL.'."\n", 'type' => 'string', 'example' => 'https://global-ip-auth.dycpaas.com/global/biz/ip_auth/start?ipa_s_c_c=IPF0000000000000******&ipa_s_i=8636b75e2fcb40c53ffecc2b59******', 'title' => ''],
+ 'SessionId' => ['description' => 'The session ID.'."\n", 'type' => 'string', 'example' => '8636b75e2fcb40c53ffecc2b5947115c.149b03d2a7494e6e8f5b34c915245815.707c7f0d93f4409db0761aa5da94ce01.1686******041', 'title' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
- 'Code' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'OK',
- ],
+ 'Code' => ['description' => 'The return code. Valid values:'."\n"
+ ."\n"
+ .'* **OK**: The request is successful.'."\n"
+ .'* **IdentificationNotAvailable**: The verification system does not support the phone number that corresponds to the IP address.'."\n"
+ .'* **MobileNumberIllegal**: The format of the phone number is invalid.'."\n", 'type' => 'string', 'example' => 'OK', 'title' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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' => 'GetPhoneNumberIdentificationUrl',
+ 'changeSet' => [
+ ['createdAt' => '2024-03-12T06:24:07.000Z', 'description' => 'Request parameters changed'],
],
- '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"}]',
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [],
],
],
'endpoints' => [
- [
- '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',
- ],
- [
- 'regionId' => 'cn-shanghai-finance-1',
- 'endpoint' => 'dytnsapi.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen-finance-1',
- 'endpoint' => 'dytnsapi.aliyuncs.com',
+ ['regionId' => 'ap-northeast-1', 'regionName' => 'Japan (Tokyo)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'dytnsapi.aliyuncs.com', 'endpoint' => 'dytnsapi.aliyuncs.com', 'vpc' => ''],
+ ['regionId' => 'ap-southeast-1', 'regionName' => 'Singapore', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'dytnsapi.aliyuncs.com', 'endpoint' => 'dytnsapi.aliyuncs.com', 'vpc' => 'dytnsapi-vpc.ap-southeast-1.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-3', 'regionName' => 'Malaysia (Kuala Lumpur)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'dytnsapi.aliyuncs.com', 'endpoint' => 'dytnsapi.aliyuncs.com', 'vpc' => ''],
+ ['regionId' => 'ap-southeast-5', 'regionName' => 'Indonesia (Jakarta)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'dytnsapi.aliyuncs.com', 'endpoint' => 'dytnsapi.aliyuncs.com', 'vpc' => 'dytnsapi-vpc.ap-southeast-5.aliyuncs.com'],
+ ['regionId' => 'cn-beijing', 'regionName' => 'China (Beijing)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'dytnsapi.aliyuncs.com', 'endpoint' => 'dytnsapi.aliyuncs.com', 'vpc' => ''],
+ ['regionId' => 'cn-chengdu', 'regionName' => 'China (Chengdu)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'dytnsapi.aliyuncs.com', 'endpoint' => 'dytnsapi.aliyuncs.com', 'vpc' => ''],
+ ['regionId' => 'cn-hangzhou', 'regionName' => 'China (Hangzhou)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'dytnsapi.aliyuncs.com', 'endpoint' => 'dytnsapi.aliyuncs.com', 'vpc' => ''],
+ ['regionId' => 'cn-hongkong', 'regionName' => 'China (Hong Kong)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'dytnsapi.aliyuncs.com', 'endpoint' => 'dytnsapi.aliyuncs.com', 'vpc' => ''],
+ ['regionId' => 'cn-huhehaote', 'regionName' => 'China (Hohhot)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'dytnsapi.aliyuncs.com', 'endpoint' => 'dytnsapi.aliyuncs.com', 'vpc' => ''],
+ ['regionId' => 'cn-qingdao', 'regionName' => 'China (Qingdao)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'dytnsapi.aliyuncs.com', 'endpoint' => 'dytnsapi.aliyuncs.com', 'vpc' => ''],
+ ['regionId' => 'cn-shanghai', 'regionName' => 'China (Shanghai)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'dytnsapi.aliyuncs.com', 'endpoint' => 'dytnsapi.aliyuncs.com', 'vpc' => 'dytnsapi-vpc.cn-shanghai.aliyuncs.com'],
+ ['regionId' => 'cn-shenzhen', 'regionName' => 'China (Shenzhen)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'dytnsapi.aliyuncs.com', 'endpoint' => 'dytnsapi.aliyuncs.com', 'vpc' => ''],
+ ['regionId' => 'cn-wulanchabu', 'regionName' => 'China (Ulanqab)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'dytnsapi.aliyuncs.com', 'endpoint' => 'dytnsapi.aliyuncs.com', 'vpc' => ''],
+ ['regionId' => 'cn-zhangjiakou', 'regionName' => 'China (Zhangjiakou)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'dytnsapi.aliyuncs.com', 'endpoint' => 'dytnsapi.aliyuncs.com', 'vpc' => ''],
+ ['regionId' => 'us-west-1', 'regionName' => 'US (Silicon Valley)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'dytnsapi.aliyuncs.com', 'endpoint' => 'dytnsapi.aliyuncs.com', 'vpc' => ''],
+ ['regionId' => 'us-east-1', 'regionName' => 'US (Virginia)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'dytnsapi.aliyuncs.com', 'endpoint' => 'dytnsapi.aliyuncs.com', 'vpc' => ''],
+ ['regionId' => 'eu-west-1', 'regionName' => 'UK (London)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'dytnsapi.aliyuncs.com', 'endpoint' => 'dytnsapi.aliyuncs.com', 'vpc' => ''],
+ ['regionId' => 'eu-central-1', 'regionName' => 'Germany (Frankfurt)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'dytnsapi.aliyuncs.com', 'endpoint' => 'dytnsapi.aliyuncs.com', 'vpc' => 'dytnsapi-vpc.eu-central-1.aliyuncs.com'],
+ ['regionId' => 'me-east-1', 'regionName' => 'UAE (Dubai)', 'areaId' => 'middleEast', 'areaName' => 'Middle East', 'public' => 'dytnsapi.aliyuncs.com', 'endpoint' => 'dytnsapi.aliyuncs.com', 'vpc' => ''],
+ ['regionId' => 'cn-shenzhen-finance-1', 'regionName' => 'China South 1 Finance', 'areaId' => 'industryCloud', 'areaName' => 'Industry Cloud', 'public' => 'dytnsapi.aliyuncs.com', 'endpoint' => 'dytnsapi.aliyuncs.com', 'vpc' => ''],
+ ['regionId' => 'cn-shanghai-finance-1', 'regionName' => 'China East 2 Finance', 'areaId' => 'industryCloud', 'areaName' => 'Industry Cloud', 'public' => 'dytnsapi.aliyuncs.com', 'endpoint' => 'dytnsapi.aliyuncs.com', 'vpc' => ''],
+ ['regionId' => 'cn-hangzhou-finance', 'regionName' => 'China East 1 Finance', 'areaId' => 'industryCloud', 'areaName' => 'Industry Cloud', 'public' => 'dytnsapi.aliyuncs.com', 'endpoint' => 'dytnsapi.aliyuncs.com', 'vpc' => ''],
+ ['regionId' => 'cn-beijing-finance-1', 'regionName' => 'China North 2 Finance (Preview)', 'areaId' => 'industryCloud', 'areaName' => 'Industry Cloud', 'public' => 'dytnsapi.aliyuncs.com', 'endpoint' => 'dytnsapi.aliyuncs.com', 'vpc' => ''],
+ ],
+ 'errorCodes' => [
+ ['code' => 'AuthCodeAndApiNotMatch', 'message' => 'AuchCode和请求的Api不匹配', 'http_code' => 400, 'description' => ''],
+ ['code' => 'AuthCodeIllegal', 'message' => 'Illegal authCode.', 'http_code' => 400, 'description' => ''],
+ ['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' => 'Failed to apply for an authorization code.'],
+ ['code' => 'AuthCodeNotExist', 'message' => 'The authorization code does not exist.', 'http_code' => 400, 'description' => 'The authorization code does not exist.'],
+ ['code' => 'AuthCodeNotExist', 'message' => 'The authorization code is being applied and cannot be used.', 'http_code' => 400, 'description' => 'The authorization code is pending approval.'],
+ ['code' => 'AuthCodeNotExist', 'message' => '该AuchCode不存在', 'http_code' => 400, 'description' => ''],
+ ['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' => 'Users who have not opened this product cannot call this product.'],
+ ['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' => 'This service only supports enterprise users.'],
+ ['code' => 'CUST_NOT_EXIST_ERROR', 'message' => 'customer not exist.', 'http_code' => 400, 'description' => 'User does not exist.'],
+ ['code' => 'DateIllegal', 'message' => 'Invalid date format.', 'http_code' => 400, 'description' => ''],
+ ['code' => 'DateTimeIllegal', 'message' => '日期格式错误', 'http_code' => 400, 'description' => ''],
+ ['code' => 'DateTimeIllegal', 'message' => 'Date format error.', 'http_code' => 400, 'description' => 'Date format error'],
+ ['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' => 'Your account does not have sufficient balance.'],
+ ['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' => 'An error occurred while processing your request.'],
+ ['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' => 'Invalid Phone Number'],
+ ['code' => 'InvalidParameter', 'message' => 'The maximum number of data records per query is exceeded. The maximum is 100.', 'http_code' => 400, 'description' => ''],
+ ['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' => ''],
+ ['code' => 'OperatorLimit', 'message' => 'The number is limited by the operator.', 'http_code' => 200, 'description' => 'This mobile phone number is restricted by the carrier.'],
+ ['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' => 'Number prohibited by the operator'],
+ ['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' => 'Failed to query the mobile phone number.'],
+ ['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' => 'No result is found for the mobile phone number.'],
+ ['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' => ''],
+ ['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' => ''],
+ ['code' => 'Ram.CheckFailed', 'message' => 'You did not pass the RAM permission check.', 'http_code' => 400, 'description' => ''],
+ ['code' => 'Ram.CheckFailed', 'message' => 'You did not pass the ARM permission check.', 'http_code' => 400, 'description' => ''],
+ ['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' => 'The requested number cannot find the result.'],
+ ['code' => 'RequestNumberNotSupported', 'message' => '不支持中国广电号码(192开头)和虚拟运营商号码的查询', 'http_code' => 200, 'description' => ''],
+ ['code' => 'RequestNumberNotSupported', 'message' => '请求的号码不支持查询', 'http_code' => 200, 'description' => ''],
+ ['code' => 'RequestNumberNotSupported', 'message' => 'NotSupported this RequestNumber.', 'http_code' => 200, 'description' => ''],
+ ['code' => 'RequestSupplierError', 'message' => 'Request supplier error.', 'http_code' => 500, 'description' => 'Request supplier error.'],
+ ['code' => 'RequestTimeout', 'message' => 'Request supplier timed out.', 'http_code' => 500, 'description' => 'Request supplier timeout'],
+ ['code' => 'RequsetTimeout', 'message' => 'Request supplier timed out.', 'http_code' => 500, 'description' => 'Request supplier timeout'],
+ ['code' => 'SupplierError', 'message' => '运营商或供应商系统异常', 'http_code' => 500, 'description' => ''],
+ ['code' => 'SupplierError', 'message' => 'Operator or supplier system exception.', 'http_code' => 500, 'description' => 'Operator or supplier system exception.'],
+ ['code' => 'SupplierTimeout', 'message' => 'Request vendor timeout.', 'http_code' => 500, 'description' => 'Request vendor timeout'],
+ ['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' => 'The tag or business resource does not exist.'],
+ ['code' => 'ThresholdIllegal', 'message' => 'Please fill in the threshold range from 0 to 100 correctly.', 'http_code' => 400, 'description' => ''],
+ ['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' => 'Customers who have not opened this product.'],
+ ['code' => 'USER_NOT_BY_CUST_ERROR', 'message' => 'Unable to obtain user information, please check whether opened this product.', 'http_code' => 400, 'description' => 'Unable to obtain user information, please check whether to open this product'],
+ ['code' => 'MobileNumberNotSupported', 'message' => 'Mobile number is not supported. Only virtual carrier numbers (170/171/165/162/167) are accepted.', 'http_code' => 400, 'description' => 'This interface only supports the virtual quotient number query of 170/171/165/162/167 number segment.'],
+ ],
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '-1', 'countWindow' => 1, 'regionId' => '*'],
],
- [
- 'regionId' => 'cn-beijing-finance-1',
- 'endpoint' => 'dytnsapi.aliyuncs.com',
+ ],
+ 'ram' => [
+ 'productCode' => 'DYTNS',
+ 'productName' => 'Cell Phone Number Service',
+ 'ramCodes' => ['dytns'],
+ 'ramLevel' => 'SERVICE',
+ 'ramConditions' => [],
+ 'ramActions' => [
+ [
+ 'apiName' => 'GetIdentificationResult',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'dytns:GetIdentificationResult',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DYTNS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetIdentificationSession',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'dytns:GetIdentificationSession',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DYTNS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetPhoneNumberIdentificationResult',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'dytns:GetPhoneNumberIdentificationResult',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DYTNS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetPhoneNumberIdentificationUrl',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'dytns:GetPhoneNumberIdentificationUrl',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DYTNS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'resourceTypes' => [],
],
];