diff options
| author | Zhineng Li <im@zhineng.li> | 2026-07-12 17:11:17 +0800 |
|---|---|---|
| committer | Zhineng Li <im@zhineng.li> | 2026-07-12 17:11:17 +0800 |
| commit | 1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634 (patch) | |
| tree | 5f0857666365b7e40cdaa3733ebe1f3ba9e13c67 /data/en_us/address-purification/2019-11-18/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/en_us/address-purification/2019-11-18/api-docs.php')
| -rw-r--r-- | data/en_us/address-purification/2019-11-18/api-docs.php | 934 |
1 files changed, 214 insertions, 720 deletions
diff --git a/data/en_us/address-purification/2019-11-18/api-docs.php b/data/en_us/address-purification/2019-11-18/api-docs.php index de0b099..548d4eb 100644 --- a/data/en_us/address-purification/2019-11-18/api-docs.php +++ b/data/en_us/address-purification/2019-11-18/api-docs.php @@ -1,40 +1,14 @@ <?php return [ 'version' => '1.0', - 'info' => [ - 'style' => 'RPC', - 'product' => 'address-purification', - 'version' => '2019-11-18', - ], - 'directories' => [ - [ - 'id' => 0, - 'title' => '其它', - 'type' => 'directory', - 'children' => [ - 'CorrectAddress', - 'ExtractAddress', - 'ExtractName', - 'ExtractPhone', - 'GetAddressDivisionCode', - 'GetAddressSimilarity', - 'GetZipcode', - 'StructureAddress', - ], - ], - ], + 'info' => ['style' => 'RPC', 'product' => 'address-purification', 'version' => '2019-11-18'], + 'directories' => ['CorrectAddress', 'ExtractAddress', 'ExtractName', 'ExtractPhone', 'GetAddressDivisionCode', 'GetAddressSimilarity', 'GetZipcode', 'StructureAddress'], 'components' => [ 'schemas' => [], ], 'apis' => [ 'CorrectAddress' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -42,72 +16,37 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'ServiceCode', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'addrp', - ], + 'schema' => ['description' => 'Fixed value: addrp.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'addrp', 'title' => ''], ], [ 'name' => 'Text', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '', - ], + 'schema' => ['description' => 'The text content.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '文一西路969号', 'title' => ''], ], [ 'name' => 'DefaultProvince', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '', - ], + 'schema' => ['description' => 'The default province.', 'type' => 'string', 'required' => false, 'example' => '浙江省', 'title' => ''], ], [ 'name' => 'DefaultCity', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '', - ], + 'schema' => ['description' => 'The default city.', 'type' => 'string', 'required' => false, 'example' => '杭州市', 'title' => ''], ], [ 'name' => 'DefaultDistrict', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '', - ], + 'schema' => ['description' => 'The default district.', 'type' => 'string', 'required' => false, 'example' => '余杭区', 'title' => ''], ], [ 'name' => 'AppKey', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'Axqwerasdf1a', - ], + 'schema' => ['description' => 'The AppKey of the project.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'Axqwerasdf1a', 'title' => ''], ], ], 'responses' => [ @@ -115,70 +54,44 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'RequestId', - 'type' => 'string', - 'example' => '226BD68D-6208-4140-A6EC-2F2BF434B601', - ], - 'Data' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], + 'RequestId' => ['description' => 'RequestId', 'type' => 'string', 'example' => '226BD68D-6208-4140-A6EC-2F2BF434B601', 'title' => ''], + 'Data' => ['description' => 'The data in JSON format.', 'type' => 'string', 'example' => '{"address_correct":["文一西路=road 969号=roadno"]}', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The parameter is invalid.', - ], - [ - 'errorCode' => 'UserStatusInvalid', - 'errorMessage' => 'The user status is invalid.', - ], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The parameter is invalid.', 'description' => ''], + ['errorCode' => 'UserStatusInvalid', 'errorMessage' => 'The user status is invalid.', 'description' => ''], ], 403 => [ - [ - 'errorCode' => 'Forbidden.NoAuth', - 'errorMessage' => 'Failed to perform user authentication.', - ], + ['errorCode' => 'Forbidden.NoAuth', 'errorMessage' => 'Failed to perform user authentication.', 'description' => ''], ], [ - [ - 'errorCode' => 'ResourceDoesNotExist', - 'errorMessage' => 'The resource does not exist.', - ], + ['errorCode' => 'ResourceDoesNotExist', 'errorMessage' => 'The resource does not exist.', 'description' => ''], ], 429 => [ - [ - 'errorCode' => 'Throttling.User', - 'errorMessage' => 'Flow control has been triggered.', - ], + ['errorCode' => 'Throttling.User', 'errorMessage' => 'Flow control has been triggered.', 'description' => ''], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'A service error occurred.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'A service error occurred.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Data\\": \\"{\\\\\\"address_correct\\\\\\":[\\\\\\"文一西路=road 969号=roadno\\\\\\"]}\\",\\n \\"RequestId\\": \\"226BD68D-6208-4140-A6EC-2F2BF434B601\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>226BD68D-6208-4140-A6EC-2F2BF434B601</RequestId>\\n<Data>\\n <address_correct>文一西路=road 969号=roadno</address_correct>\\n <time_used>\\n <rt>\\n <segment>0.0053822994232177734</segment>\\n <address_correct>0.0002961158752441406</address_correct>\\n </rt>\\n <start>1589799494.0997586</start>\\n </time_used>\\n <status>OK</status>\\n</Data>","errorExample":""}]', + 'title' => 'Address correction', + 'summary' => 'Corrects errors in address text entered by users.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', + 'changeSet' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"226BD68D-6208-4140-A6EC-2F2BF434B601\\",\\n \\"Data\\": \\"{\\\\\\"address_correct\\\\\\":[\\\\\\"文一西路=road 969号=roadno\\\\\\"]}\\"\\n}","type":"json"}]', ], 'ExtractAddress' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -186,143 +99,85 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'ServiceCode', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'docRequired' => true, - 'example' => 'addrp', - 'required' => true, - 'type' => 'string', - ], + 'schema' => ['description' => 'Fixed value: addrp.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'addrp', 'title' => ''], ], [ 'name' => 'Text', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'docRequired' => true, - 'example' => '', - 'required' => true, - 'type' => 'string', - ], + 'schema' => ['description' => 'The text content.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '文一西路969号', 'title' => ''], ], [ 'name' => 'DefaultProvince', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'example' => '', - 'required' => false, - 'type' => 'string', - ], + 'schema' => ['description' => 'The default province.', 'type' => 'string', 'required' => false, 'example' => '浙江省', 'title' => ''], ], [ 'name' => 'DefaultCity', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'example' => '', - 'required' => false, - 'type' => 'string', - ], + 'schema' => ['description' => 'The default city.', 'type' => 'string', 'required' => false, 'example' => '杭州市', 'title' => ''], ], [ 'name' => 'DefaultDistrict', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'example' => '', - 'required' => false, - 'type' => 'string', - ], + 'schema' => ['description' => 'The default district.', 'type' => 'string', 'required' => false, 'example' => '余杭区', 'title' => ''], ], [ 'name' => 'AppKey', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'docRequired' => true, - 'example' => 'Axqwerasdf1a', - 'required' => true, - 'type' => 'string', - ], + 'schema' => ['description' => 'The AppKey of the project.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'Axqwerasdf1a', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'RequestId', - 'example' => 'E0627DDE-28D7-4C00-A611-E047DF81AF05', - 'type' => 'string', - ], - 'Data' => [ - 'description' => '', - 'example' => '', - 'type' => 'string', - ], + 'RequestId' => ['description' => 'RequestId', 'type' => 'string', 'example' => 'E0627DDE-28D7-4C00-A611-E047DF81AF05', 'title' => ''], + 'Data' => ['description' => 'start: the start position of the field in the original text.'."\n" + .'end: the end position of the field in the original text.'."\n" + .'type: the field type. LOC indicates location (address). PER indicates person (name). TEL indicates telephone (phone number).'."\n" + .'word: the recognized entity field.', 'type' => 'string', 'example' => '{"location_extract":[{"start":0,"end":8,"type":"LOC","word":"文一西路969号"}],"time_used":{"rt":{"location_extract":"0.008937358856201172"},"start":"1589799727.438162"},"status":"OK"}', 'title' => ''], ], - 'type' => 'object', + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The parameter is invalid.', - ], - [ - 'errorCode' => 'UserStatusInvalid', - 'errorMessage' => 'The user status is invalid.', - ], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The parameter is invalid.', 'description' => ''], + ['errorCode' => 'UserStatusInvalid', 'errorMessage' => 'The user status is invalid.', 'description' => ''], ], 403 => [ - [ - 'errorCode' => 'Forbidden.NoAuth', - 'errorMessage' => 'Failed to perform user authentication.', - ], + ['errorCode' => 'Forbidden.NoAuth', 'errorMessage' => 'Failed to perform user authentication.', 'description' => ''], ], [ - [ - 'errorCode' => 'ResourceDoesNotExist', - 'errorMessage' => 'The resource does not exist.', - ], + ['errorCode' => 'ResourceDoesNotExist', 'errorMessage' => 'The resource does not exist.', 'description' => ''], ], 429 => [ - [ - 'errorCode' => 'Throttling.User', - 'errorMessage' => 'Flow control has been triggered.', - ], + ['errorCode' => 'Throttling.User', 'errorMessage' => 'Flow control has been triggered.', 'description' => ''], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'A service error occurred.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'A service error occurred.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Data\\": \\"{\\\\\\"location_extract\\\\\\":[{\\\\\\"start\\\\\\":0,\\\\\\"end\\\\\\":8,\\\\\\"type\\\\\\":\\\\\\"LOC\\\\\\",\\\\\\"word\\\\\\":\\\\\\"文一西路969号\\\\\\"}],\\\\\\"time_used\\\\\\":{\\\\\\"rt\\\\\\":{\\\\\\"location_extract\\\\\\":\\\\\\"0.008937358856201172\\\\\\"},\\\\\\"start\\\\\\":\\\\\\"1589799727.438162\\\\\\"},\\\\\\"status\\\\\\":\\\\\\"OK\\\\\\"}\\",\\n \\"RequestId\\": \\"E0627DDE-28D7-4C00-A611-E047DF81AF05\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>E0627DDE-28D7-4C00-A611-E047DF81AF05</RequestId>\\n<Data>\\n <location_extract>\\n <start>0</start>\\n <end>8</end>\\n <type>LOC</type>\\n <word>文一西路969号</word>\\n </location_extract>\\n <time_used>\\n <rt>\\n <location_extract>0.008937358856201172</location_extract>\\n </rt>\\n <start>1589799727.438162</start>\\n </time_used>\\n <status>OK</status>\\n</Data>","errorExample":""}]', - 'extraInfo' => ' ', + 'title' => 'Address extraction', + 'summary' => 'Extracts address segments from unstructured data.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E0627DDE-28D7-4C00-A611-E047DF81AF05\\",\\n \\"Data\\": \\"{\\\\\\"location_extract\\\\\\":[{\\\\\\"start\\\\\\":0,\\\\\\"end\\\\\\":8,\\\\\\"type\\\\\\":\\\\\\"LOC\\\\\\",\\\\\\"word\\\\\\":\\\\\\"文一西路969号\\\\\\"}],\\\\\\"time_used\\\\\\":{\\\\\\"rt\\\\\\":{\\\\\\"location_extract\\\\\\":\\\\\\"0.008937358856201172\\\\\\"},\\\\\\"start\\\\\\":\\\\\\"1589799727.438162\\\\\\"},\\\\\\"status\\\\\\":\\\\\\"OK\\\\\\"}\\"\\n}","type":"json"}]', ], 'ExtractName' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -330,143 +185,82 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'ServiceCode', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'docRequired' => true, - 'example' => 'addrp', - 'required' => true, - 'type' => 'string', - ], + 'schema' => ['description' => 'Fixed value: addrp.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'addrp', 'title' => ''], ], [ 'name' => 'Text', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'docRequired' => true, - 'example' => '', - 'required' => true, - 'type' => 'string', - ], + 'schema' => ['description' => 'The text content.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '文一西路969号张小明', 'title' => ''], ], [ 'name' => 'DefaultProvince', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'example' => '', - 'required' => false, - 'type' => 'string', - ], + 'schema' => ['description' => 'The default province.', 'type' => 'string', 'required' => false, 'example' => '浙江省', 'title' => ''], ], [ 'name' => 'DefaultCity', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'example' => '', - 'required' => false, - 'type' => 'string', - ], + 'schema' => ['description' => 'The default city.', 'type' => 'string', 'required' => false, 'example' => '杭州市', 'title' => ''], ], [ 'name' => 'DefaultDistrict', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'example' => '', - 'required' => false, - 'type' => 'string', - ], + 'schema' => ['description' => 'The default district.', 'type' => 'string', 'required' => false, 'example' => '余杭区', 'title' => ''], ], [ 'name' => 'AppKey', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'docRequired' => true, - 'example' => 'Axqwerasdf1a', - 'required' => true, - 'type' => 'string', - ], + 'schema' => ['description' => 'The project AppKey.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'Axqwerasdf1a', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'RequestId', - 'example' => '3A9AB010-AC38-4E53-9D25-6B97238C2897', - 'type' => 'string', - ], - 'Data' => [ - 'description' => '', - 'example' => '', - 'type' => 'string', - ], + 'RequestId' => ['description' => 'RequestId', 'type' => 'string', 'example' => '3A9AB010-AC38-4E53-9D25-6B97238C2897', 'title' => ''], + 'Data' => ['description' => 'The data in JSON format.', 'type' => 'string', 'example' => '{"person_extract":[{"start":8,"end":11,"type":"PER","word":"张小明"}],"time_used":{"rt":{"person_extract":"0.013421058654785156"},"start":"1589799959.7144244"},"status":"OK"}', 'title' => ''], ], - 'type' => 'object', + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The parameter is invalid.', - ], - [ - 'errorCode' => 'UserStatusInvalid', - 'errorMessage' => 'The user status is invalid.', - ], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The parameter is invalid.', 'description' => ''], + ['errorCode' => 'UserStatusInvalid', 'errorMessage' => 'The user status is invalid.', 'description' => ''], ], 403 => [ - [ - 'errorCode' => 'Forbidden.NoAuth', - 'errorMessage' => 'Failed to perform user authentication.', - ], + ['errorCode' => 'Forbidden.NoAuth', 'errorMessage' => 'Failed to perform user authentication.', 'description' => ''], ], [ - [ - 'errorCode' => 'ResourceDoesNotExist', - 'errorMessage' => 'The resource does not exist.', - ], + ['errorCode' => 'ResourceDoesNotExist', 'errorMessage' => 'The resource does not exist.', 'description' => ''], ], 429 => [ - [ - 'errorCode' => 'Throttling.User', - 'errorMessage' => 'Flow control has been triggered.', - ], + ['errorCode' => 'Throttling.User', 'errorMessage' => 'Flow control has been triggered.', 'description' => ''], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'A service error occurred.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'A service error occurred.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Data\\": \\"{\\\\\\"person_extract\\\\\\":[{\\\\\\"start\\\\\\":8,\\\\\\"end\\\\\\":11,\\\\\\"type\\\\\\":\\\\\\"PER\\\\\\",\\\\\\"word\\\\\\":\\\\\\"张小明\\\\\\"}],\\\\\\"time_used\\\\\\":{\\\\\\"rt\\\\\\":{\\\\\\"person_extract\\\\\\":\\\\\\"0.013421058654785156\\\\\\"},\\\\\\"start\\\\\\":\\\\\\"1589799959.7144244\\\\\\"},\\\\\\"status\\\\\\":\\\\\\"OK\\\\\\"}\\",\\n \\"RequestId\\": \\"3A9AB010-AC38-4E53-9D25-6B97238C2897\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>3A9AB010-AC38-4E53-9D25-6B97238C2897</RequestId>\\n<Data>\\n <person_extract>\\n <start>8</start>\\n <end>11</end>\\n <type>PER</type>\\n <word>张小明</word>\\n </person_extract>\\n <time_used>\\n <rt>\\n <person_extract>0.013421058654785156</person_extract>\\n </rt>\\n <start>1589799959.7144244</start>\\n </time_used>\\n <status>OK</status>\\n</Data>","errorExample":""}]', - 'extraInfo' => ' ', + 'title' => 'Name extraction', + 'summary' => 'Extracts name segments from natural text.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"3A9AB010-AC38-4E53-9D25-6B97238C2897\\",\\n \\"Data\\": \\"{\\\\\\"person_extract\\\\\\":[{\\\\\\"start\\\\\\":8,\\\\\\"end\\\\\\":11,\\\\\\"type\\\\\\":\\\\\\"PER\\\\\\",\\\\\\"word\\\\\\":\\\\\\"张小明\\\\\\"}],\\\\\\"time_used\\\\\\":{\\\\\\"rt\\\\\\":{\\\\\\"person_extract\\\\\\":\\\\\\"0.013421058654785156\\\\\\"},\\\\\\"start\\\\\\":\\\\\\"1589799959.7144244\\\\\\"},\\\\\\"status\\\\\\":\\\\\\"OK\\\\\\"}\\"\\n}","type":"json"}]', ], 'ExtractPhone' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -474,143 +268,82 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'ServiceCode', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'docRequired' => true, - 'example' => 'addrp', - 'required' => true, - 'type' => 'string', - ], + 'schema' => ['description' => 'Fixed value: addrp.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'addrp', 'title' => ''], ], [ 'name' => 'Text', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'docRequired' => true, - 'example' => '', - 'required' => true, - 'type' => 'string', - ], + 'schema' => ['description' => 'The text content.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '文一西路969号1333333****', 'title' => ''], ], [ 'name' => 'DefaultProvince', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'example' => '', - 'required' => false, - 'type' => 'string', - ], + 'schema' => ['description' => 'The default province.', 'type' => 'string', 'required' => false, 'example' => '浙江省', 'title' => ''], ], [ 'name' => 'DefaultCity', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'example' => '', - 'required' => false, - 'type' => 'string', - ], + 'schema' => ['description' => 'The default city.', 'type' => 'string', 'required' => false, 'example' => '杭州市', 'title' => ''], ], [ 'name' => 'DefaultDistrict', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'example' => '', - 'required' => false, - 'type' => 'string', - ], + 'schema' => ['description' => 'The default district.', 'type' => 'string', 'required' => false, 'example' => '余杭区', 'title' => ''], ], [ 'name' => 'AppKey', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'docRequired' => true, - 'example' => 'Axqwerasdf1a', - 'required' => true, - 'type' => 'string', - ], + 'schema' => ['description' => 'The AppKey of the project.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'Axqwerasdf1a', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'RequestId', - 'example' => 'A602539D-A298-4643-A268-94F0B893C12F', - 'type' => 'string', - ], - 'Data' => [ - 'description' => '', - 'example' => '{"phone_extract":[{"start":8,"end":19,"type":"TEL","word":"1333333****"}],"time_used":{"rt":{"phone_extract":"0.014524221420288086"},"start":"1589800189.9369104"},"status":"OK"}', - 'type' => 'string', - ], + 'RequestId' => ['description' => 'RequestId', 'type' => 'string', 'example' => 'A602539D-A298-4643-A268-94F0B893C12F', 'title' => ''], + 'Data' => ['description' => 'The data in JSON format.', 'type' => 'string', 'example' => '{"phone_extract":[{"start":8,"end":19,"type":"TEL","word":"1333333****"}],"time_used":{"rt":{"phone_extract":"0.014524221420288086"},"start":"1589800189.9369104"},"status":"OK"}', 'title' => ''], ], - 'type' => 'object', + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The parameter is invalid.', - ], - [ - 'errorCode' => 'UserStatusInvalid', - 'errorMessage' => 'The user status is invalid.', - ], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The parameter is invalid.', 'description' => ''], + ['errorCode' => 'UserStatusInvalid', 'errorMessage' => 'The user status is invalid.', 'description' => ''], ], 403 => [ - [ - 'errorCode' => 'Forbidden.NoAuth', - 'errorMessage' => 'Failed to perform user authentication.', - ], + ['errorCode' => 'Forbidden.NoAuth', 'errorMessage' => 'Failed to perform user authentication.', 'description' => ''], ], [ - [ - 'errorCode' => 'ResourceDoesNotExist', - 'errorMessage' => 'The resource does not exist.', - ], + ['errorCode' => 'ResourceDoesNotExist', 'errorMessage' => 'The resource does not exist.', 'description' => ''], ], 429 => [ - [ - 'errorCode' => 'Throttling.User', - 'errorMessage' => 'Flow control has been triggered.', - ], + ['errorCode' => 'Throttling.User', 'errorMessage' => 'Flow control has been triggered.', 'description' => ''], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'A service error occurred.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'A service error occurred.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Data\\": \\"{\\\\\\"phone_extract\\\\\\":[{\\\\\\"start\\\\\\":8,\\\\\\"end\\\\\\":19,\\\\\\"type\\\\\\":\\\\\\"TEL\\\\\\",\\\\\\"word\\\\\\":\\\\\\"1333333****\\\\\\"}],\\\\\\"time_used\\\\\\":{\\\\\\"rt\\\\\\":{\\\\\\"phone_extract\\\\\\":\\\\\\"0.014524221420288086\\\\\\"},\\\\\\"start\\\\\\":\\\\\\"1589800189.9369104\\\\\\"},\\\\\\"status\\\\\\":\\\\\\"OK\\\\\\"}\\",\\n \\"RequestId\\": \\"A602539D-A298-4643-A268-94F0B893C12F\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>A602539D-A298-4643-A268-94F0B893C12F</RequestId>\\n<Data>\\n <phone_extract>\\n <start>8</start>\\n <end>19</end>\\n <type>TEL</type>\\n <word>1333333****</word>\\n </phone_extract>\\n <time_used>\\n <rt>\\n <phone_extract>0.014524221420288086</phone_extract>\\n </rt>\\n <start>1589800189.9369104</start>\\n </time_used>\\n <status>OK</status>\\n</Data>","errorExample":""}]', - 'extraInfo' => ' ', + 'title' => 'Phone number extraction', + 'summary' => 'Extracts phone number segments from natural text.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A602539D-A298-4643-A268-94F0B893C12F\\",\\n \\"Data\\": \\"{\\\\\\"phone_extract\\\\\\":[{\\\\\\"start\\\\\\":8,\\\\\\"end\\\\\\":19,\\\\\\"type\\\\\\":\\\\\\"TEL\\\\\\",\\\\\\"word\\\\\\":\\\\\\"1333333****\\\\\\"}],\\\\\\"time_used\\\\\\":{\\\\\\"rt\\\\\\":{\\\\\\"phone_extract\\\\\\":\\\\\\"0.014524221420288086\\\\\\"},\\\\\\"start\\\\\\":\\\\\\"1589800189.9369104\\\\\\"},\\\\\\"status\\\\\\":\\\\\\"OK\\\\\\"}\\"\\n}","type":"json"}]', ], 'GetAddressDivisionCode' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -618,143 +351,82 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'ServiceCode', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'docRequired' => true, - 'example' => 'addrp', - 'required' => true, - 'type' => 'string', - ], + 'schema' => ['description' => 'Fixed value: addrp.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'addrp', 'title' => ''], ], [ 'name' => 'Text', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'docRequired' => true, - 'example' => '', - 'required' => true, - 'type' => 'string', - ], + 'schema' => ['description' => 'The text content.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '杭州市文一西路969号', 'title' => ''], ], [ 'name' => 'DefaultProvince', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'example' => '', - 'required' => false, - 'type' => 'string', - ], + 'schema' => ['description' => 'The default province.', 'type' => 'string', 'required' => false, 'example' => '浙江省', 'title' => ''], ], [ 'name' => 'DefaultCity', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'example' => '', - 'required' => false, - 'type' => 'string', - ], + 'schema' => ['description' => 'The default city.', 'type' => 'string', 'required' => false, 'example' => '杭州市', 'title' => ''], ], [ 'name' => 'DefaultDistrict', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'example' => '', - 'required' => false, - 'type' => 'string', - ], + 'schema' => ['description' => 'The default district.', 'type' => 'string', 'required' => false, 'example' => '余杭区', 'title' => ''], ], [ 'name' => 'AppKey', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'docRequired' => true, - 'example' => 'Axqwerasdf1a', - 'required' => true, - 'type' => 'string', - ], + 'schema' => ['description' => 'The AppKey of the project.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'Axqwerasdf1a', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'RequestId', - 'example' => 'F726DC5F-67A1-4FBF-B216-758D1A681B8A', - 'type' => 'string', - ], - 'Data' => [ - 'description' => '', - 'example' => '', - 'type' => 'string', - ], + 'RequestId' => ['description' => 'RequestId', 'type' => 'string', 'example' => 'F726DC5F-67A1-4FBF-B216-758D1A681B8A', 'title' => ''], + 'Data' => ['description' => 'The data in JSON format.', 'type' => 'string', 'example' => '{"division_info":{"divcode":"330100000000","division_name":"浙江省 杭州市"},"time_used":{"rt":{"division_info":"0.005276203155517578","complete":"0.022394180297851562","structure":"0.006552696228027344"},"start":"1589800407.0037742"},"status":"OK"}', 'title' => ''], ], - 'type' => 'object', + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The parameter is invalid.', - ], - [ - 'errorCode' => 'UserStatusInvalid', - 'errorMessage' => 'The user status is invalid.', - ], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The parameter is invalid.', 'description' => ''], + ['errorCode' => 'UserStatusInvalid', 'errorMessage' => 'The user status is invalid.', 'description' => ''], ], 403 => [ - [ - 'errorCode' => 'Forbidden.NoAuth', - 'errorMessage' => 'Failed to perform user authentication.', - ], + ['errorCode' => 'Forbidden.NoAuth', 'errorMessage' => 'Failed to perform user authentication.', 'description' => ''], ], [ - [ - 'errorCode' => 'ResourceDoesNotExist', - 'errorMessage' => 'The resource does not exist.', - ], + ['errorCode' => 'ResourceDoesNotExist', 'errorMessage' => 'The resource does not exist.', 'description' => ''], ], 429 => [ - [ - 'errorCode' => 'Throttling.User', - 'errorMessage' => 'Flow control has been triggered.', - ], + ['errorCode' => 'Throttling.User', 'errorMessage' => 'Flow control has been triggered.', 'description' => ''], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'A service error occurred.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'A service error occurred.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Data\\": \\"{\\\\\\"division_info\\\\\\":{\\\\\\"divcode\\\\\\":\\\\\\"330100000000\\\\\\",\\\\\\"division_name\\\\\\":\\\\\\"浙江省 杭州市\\\\\\"},\\\\\\"time_used\\\\\\":{\\\\\\"rt\\\\\\":{\\\\\\"division_info\\\\\\":\\\\\\"0.005276203155517578\\\\\\",\\\\\\"complete\\\\\\":\\\\\\"0.022394180297851562\\\\\\",\\\\\\"structure\\\\\\":\\\\\\"0.006552696228027344\\\\\\"},\\\\\\"start\\\\\\":\\\\\\"1589800407.0037742\\\\\\"},\\\\\\"status\\\\\\":\\\\\\"OK\\\\\\"}\\",\\n \\"RequestId\\": \\"F726DC5F-67A1-4FBF-B216-758D1A681B8A\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>F726DC5F-67A1-4FBF-B216-758D1A681B8A</RequestId>\\n<Data>\\n <division_info>\\n <divcode>330100000000</divcode>\\n <division_name>浙江省 杭州市</division_name>\\n </division_info>\\n <time_used>\\n <rt>\\n <division_info>0.005276203155517578</division_info>\\n <complete>0.022394180297851562</complete>\\n <structure>0.006552696228027344</structure>\\n </rt>\\n <start>1589800407.0037742</start>\\n </time_used>\\n <status>OK</status>\\n</Data>","errorExample":""}]', - 'extraInfo' => ' ', + 'title' => 'Administrative division recognition', + 'summary' => 'Identifies the four-level administrative divisions (province, city, district/county, and street/town) from the input address text.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F726DC5F-67A1-4FBF-B216-758D1A681B8A\\",\\n \\"Data\\": \\"{\\\\\\"division_info\\\\\\":{\\\\\\"divcode\\\\\\":\\\\\\"330100000000\\\\\\",\\\\\\"division_name\\\\\\":\\\\\\"浙江省 杭州市\\\\\\"},\\\\\\"time_used\\\\\\":{\\\\\\"rt\\\\\\":{\\\\\\"division_info\\\\\\":\\\\\\"0.005276203155517578\\\\\\",\\\\\\"complete\\\\\\":\\\\\\"0.022394180297851562\\\\\\",\\\\\\"structure\\\\\\":\\\\\\"0.006552696228027344\\\\\\"},\\\\\\"start\\\\\\":\\\\\\"1589800407.0037742\\\\\\"},\\\\\\"status\\\\\\":\\\\\\"OK\\\\\\"}\\"\\n}","type":"json"}]', ], 'GetAddressSimilarity' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -762,143 +434,82 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'ServiceCode', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'docRequired' => true, - 'example' => 'addrp', - 'required' => true, - 'type' => 'string', - ], + 'schema' => ['description' => 'Fixed value: addrp.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'addrp', 'title' => ''], ], [ 'name' => 'Text', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'docRequired' => true, - 'example' => '', - 'required' => true, - 'type' => 'string', - ], + 'schema' => ['description' => 'The text content.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '文一西路969号;余杭区阿里巴巴', 'title' => ''], ], [ 'name' => 'DefaultProvince', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'example' => '', - 'required' => false, - 'type' => 'string', - ], + 'schema' => ['description' => 'The default province.', 'type' => 'string', 'required' => false, 'example' => '浙江省', 'title' => ''], ], [ 'name' => 'DefaultCity', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'example' => '', - 'required' => false, - 'type' => 'string', - ], + 'schema' => ['description' => 'The default city.', 'type' => 'string', 'required' => false, 'example' => '杭州市', 'title' => ''], ], [ 'name' => 'DefaultDistrict', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'example' => '', - 'required' => false, - 'type' => 'string', - ], + 'schema' => ['description' => 'The default district.', 'type' => 'string', 'required' => false, 'example' => '余杭区', 'title' => ''], ], [ 'name' => 'AppKey', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'docRequired' => true, - 'example' => 'Axqwerasdf1a', - 'required' => true, - 'type' => 'string', - ], + 'schema' => ['description' => 'The AppKey of the project.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'Axqwerasdf1a', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'RequestId', - 'example' => 'F1BD3BD6-3510-4144-996A-B7FCA70A5F81', - 'type' => 'string', - ], - 'Data' => [ - 'description' => '', - 'example' => '', - 'type' => 'string', - ], + 'RequestId' => ['description' => 'RequestId', 'type' => 'string', 'example' => 'F1BD3BD6-3510-4144-996A-B7FCA70A5F81', 'title' => ''], + 'Data' => ['description' => 'The data in JSON format.', 'type' => 'string', 'example' => '{"sim_level":{"level":"none","address_a":"文一西路969号","address_b":"余杭区阿里巴巴","is_same":false},"time_used":{"rt":{"sim_level":"0.0400395393371582"},"start":"1589800627.3379788"},"status":"OK"}', 'title' => ''], ], - 'type' => 'object', + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The parameter is invalid.', - ], - [ - 'errorCode' => 'UserStatusInvalid', - 'errorMessage' => 'The user status is invalid.', - ], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The parameter is invalid.', 'description' => ''], + ['errorCode' => 'UserStatusInvalid', 'errorMessage' => 'The user status is invalid.', 'description' => ''], ], 403 => [ - [ - 'errorCode' => 'Forbidden.NoAuth', - 'errorMessage' => 'Failed to perform user authentication.', - ], + ['errorCode' => 'Forbidden.NoAuth', 'errorMessage' => 'Failed to perform user authentication.', 'description' => ''], ], [ - [ - 'errorCode' => 'ResourceDoesNotExist', - 'errorMessage' => 'The resource does not exist.', - ], + ['errorCode' => 'ResourceDoesNotExist', 'errorMessage' => 'The resource does not exist.', 'description' => ''], ], 429 => [ - [ - 'errorCode' => 'Throttling.User', - 'errorMessage' => 'Flow control has been triggered.', - ], + ['errorCode' => 'Throttling.User', 'errorMessage' => 'Flow control has been triggered.', 'description' => ''], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'A service error occurred.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'A service error occurred.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Data\\": \\"{\\\\\\"sim_level\\\\\\":{\\\\\\"level\\\\\\":\\\\\\"none\\\\\\",\\\\\\"address_a\\\\\\":\\\\\\"文一西路969号\\\\\\",\\\\\\"address_b\\\\\\":\\\\\\"余杭区阿里巴巴\\\\\\",\\\\\\"is_same\\\\\\":false},\\\\\\"time_used\\\\\\":{\\\\\\"rt\\\\\\":{\\\\\\"sim_level\\\\\\":\\\\\\"0.0400395393371582\\\\\\"},\\\\\\"start\\\\\\":\\\\\\"1589800627.3379788\\\\\\"},\\\\\\"status\\\\\\":\\\\\\"OK\\\\\\"}\\",\\n \\"RequestId\\": \\"F1BD3BD6-3510-4144-996A-B7FCA70A5F81\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>F1BD3BD6-3510-4144-996A-B7FCA70A5F81</RequestId>\\n<Data>\\n <sim_level>\\n <level>none</level>\\n <address_a>文一西路969号</address_a>\\n <address_b>余杭区阿里阿巴巴</address_b>\\n <is_same>false</is_same>\\n </sim_level>\\n <time_used>\\n <rt>\\n <sim_level>0.0400395393371582</sim_level>\\n </rt>\\n <start>1589800627.3379788</start>\\n </time_used>\\n <status>OK</status>\\n</Data>","errorExample":""}]', - 'extraInfo' => ' ', + 'title' => 'Determine address similarity level', + 'summary' => 'Determines whether two addresses are the same address and returns the finest-granularity level at which the addresses match.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F1BD3BD6-3510-4144-996A-B7FCA70A5F81\\",\\n \\"Data\\": \\"{\\\\\\"sim_level\\\\\\":{\\\\\\"level\\\\\\":\\\\\\"none\\\\\\",\\\\\\"address_a\\\\\\":\\\\\\"文一西路969号\\\\\\",\\\\\\"address_b\\\\\\":\\\\\\"余杭区阿里巴巴\\\\\\",\\\\\\"is_same\\\\\\":false},\\\\\\"time_used\\\\\\":{\\\\\\"rt\\\\\\":{\\\\\\"sim_level\\\\\\":\\\\\\"0.0400395393371582\\\\\\"},\\\\\\"start\\\\\\":\\\\\\"1589800627.3379788\\\\\\"},\\\\\\"status\\\\\\":\\\\\\"OK\\\\\\"}\\"\\n}","type":"json"}]', ], 'GetZipcode' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -906,143 +517,82 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'ServiceCode', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'docRequired' => true, - 'example' => 'addrp', - 'required' => true, - 'type' => 'string', - ], + 'schema' => ['description' => 'Fixed value: addrp.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'addrp', 'title' => ''], ], [ 'name' => 'Text', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'docRequired' => true, - 'example' => '', - 'required' => true, - 'type' => 'string', - ], + 'schema' => ['description' => 'The text content.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '浙江省杭州市文一西路969号', 'title' => ''], ], [ 'name' => 'DefaultProvince', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'example' => '', - 'required' => false, - 'type' => 'string', - ], + 'schema' => ['description' => 'The default province.', 'type' => 'string', 'required' => false, 'example' => '浙江省', 'title' => ''], ], [ 'name' => 'DefaultCity', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'example' => '', - 'required' => false, - 'type' => 'string', - ], + 'schema' => ['description' => 'The default city.', 'type' => 'string', 'required' => false, 'example' => '杭州市', 'title' => ''], ], [ 'name' => 'DefaultDistrict', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'example' => '', - 'required' => false, - 'type' => 'string', - ], + 'schema' => ['description' => 'The default district.', 'type' => 'string', 'required' => false, 'example' => '余杭区', 'title' => ''], ], [ 'name' => 'AppKey', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'docRequired' => true, - 'example' => 'Axqwerasdf1a', - 'required' => true, - 'type' => 'string', - ], + 'schema' => ['description' => 'The AppKey of the project.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'Axqwerasdf1a', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'RequestId', - 'example' => 'D0078DC6-8A1F-41A0-9A5F-A6B6443E9A65', - 'type' => 'string', - ], - 'Data' => [ - 'description' => '', - 'example' => '{"zipcode":"311500","time_used":{"rt":{"zipcode":"0.004756927490234375","complete":"0.020321130752563477","structure":"0.007731199264526367"},"start":"1589800854.316437"},"status":"OK"}', - 'type' => 'string', - ], + 'RequestId' => ['description' => 'RequestId', 'type' => 'string', 'example' => 'D0078DC6-8A1F-41A0-9A5F-A6B6443E9A65', 'title' => ''], + 'Data' => ['description' => 'The data in JSON format.', 'type' => 'string', 'example' => '{"zipcode":"311500","time_used":{"rt":{"zipcode":"0.004756927490234375","complete":"0.020321130752563477","structure":"0.007731199264526367"},"start":"1589800854.316437"},"status":"OK"}', 'title' => ''], ], - 'type' => 'object', + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The parameter is invalid.', - ], - [ - 'errorCode' => 'UserStatusInvalid', - 'errorMessage' => 'The user status is invalid.', - ], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The parameter is invalid.', 'description' => ''], + ['errorCode' => 'UserStatusInvalid', 'errorMessage' => 'The user status is invalid.', 'description' => ''], ], 403 => [ - [ - 'errorCode' => 'Forbidden.NoAuth', - 'errorMessage' => 'Failed to perform user authentication.', - ], + ['errorCode' => 'Forbidden.NoAuth', 'errorMessage' => 'Failed to perform user authentication.', 'description' => ''], ], [ - [ - 'errorCode' => 'ResourceDoesNotExist', - 'errorMessage' => 'The resource does not exist.', - ], + ['errorCode' => 'ResourceDoesNotExist', 'errorMessage' => 'The resource does not exist.', 'description' => ''], ], 429 => [ - [ - 'errorCode' => 'Throttling.User', - 'errorMessage' => 'Flow control has been triggered.', - ], + ['errorCode' => 'Throttling.User', 'errorMessage' => 'Flow control has been triggered.', 'description' => ''], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'A service error occurred.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'A service error occurred.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Data\\": \\"{\\\\\\"zipcode\\\\\\":\\\\\\"311500\\\\\\",\\\\\\"time_used\\\\\\":{\\\\\\"rt\\\\\\":{\\\\\\"zipcode\\\\\\":\\\\\\"0.004756927490234375\\\\\\",\\\\\\"complete\\\\\\":\\\\\\"0.020321130752563477\\\\\\",\\\\\\"structure\\\\\\":\\\\\\"0.007731199264526367\\\\\\"},\\\\\\"start\\\\\\":\\\\\\"1589800854.316437\\\\\\"},\\\\\\"status\\\\\\":\\\\\\"OK\\\\\\"}\\",\\n \\"RequestId\\": \\"D0078DC6-8A1F-41A0-9A5F-A6B6443E9A65\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>D0078DC6-8A1F-41A0-9A5F-A6B6443E9A65</RequestId>\\n<Data>\\n <zipcode>311500</zipcode>\\n <time_used>\\n <rt>\\n <zipcode>0.004756927490234375</zipcode>\\n <complete>0.020321130752563477</complete>\\n <structure>0.007731199264526367</structure>\\n </rt>\\n <start>1589800854.316437</start>\\n </time_used>\\n <status>OK</status>\\n</Data>","errorExample":""}]', - 'extraInfo' => ' ', + 'title' => 'Query postal code', + 'summary' => 'Returns the postal code that corresponds to a specified address.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D0078DC6-8A1F-41A0-9A5F-A6B6443E9A65\\",\\n \\"Data\\": \\"{\\\\\\"zipcode\\\\\\":\\\\\\"311500\\\\\\",\\\\\\"time_used\\\\\\":{\\\\\\"rt\\\\\\":{\\\\\\"zipcode\\\\\\":\\\\\\"0.004756927490234375\\\\\\",\\\\\\"complete\\\\\\":\\\\\\"0.020321130752563477\\\\\\",\\\\\\"structure\\\\\\":\\\\\\"0.007731199264526367\\\\\\"},\\\\\\"start\\\\\\":\\\\\\"1589800854.316437\\\\\\"},\\\\\\"status\\\\\\":\\\\\\"OK\\\\\\"}\\"\\n}","type":"json"}]', ], 'StructureAddress' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1050,139 +600,83 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'ServiceCode', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'docRequired' => true, - 'example' => 'addrp', - 'required' => true, - 'type' => 'string', - ], + 'schema' => ['description' => 'Fixed value: addrp.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'addrp', 'title' => ''], ], [ 'name' => 'Text', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'docRequired' => true, - 'example' => '', - 'required' => true, - 'type' => 'string', - ], + 'schema' => ['description' => 'The text content.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '杭州市文一西路969号', 'title' => ''], ], [ 'name' => 'DefaultProvince', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'example' => '', - 'required' => false, - 'type' => 'string', - ], + 'schema' => ['description' => 'The default province.', 'type' => 'string', 'required' => false, 'example' => '浙江省', 'title' => ''], ], [ 'name' => 'DefaultCity', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'example' => '', - 'required' => false, - 'type' => 'string', - ], + 'schema' => ['description' => 'The default city.', 'type' => 'string', 'required' => false, 'example' => '杭州市', 'title' => ''], ], [ 'name' => 'DefaultDistrict', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'example' => '', - 'required' => false, - 'type' => 'string', - ], + 'schema' => ['description' => 'The default district.', 'type' => 'string', 'required' => false, 'example' => '余杭区', 'title' => ''], ], [ 'name' => 'AppKey', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'docRequired' => true, - 'example' => 'Axqwerasdf1a', - 'required' => true, - 'type' => 'string', - ], + 'schema' => ['description' => 'The AppKey of the project.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'Axqwerasdf1a', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'RequestId', - 'example' => '3542CCCD-A58D-4D46-9772-CC214D2D1E32', - 'type' => 'string', - ], - 'Data' => [ - 'description' => '', - 'example' => '', - 'type' => 'string', - ], + 'RequestId' => ['description' => 'RequestId', 'type' => 'string', 'example' => '3542CCCD-A58D-4D46-9772-CC214D2D1E32', 'title' => ''], + 'Data' => ['description' => 'The data in JSON format.', 'type' => 'string', 'example' => '{"structure":"prov=浙江省\\tcity=杭州市\\troad=文一西路\\troadNo=969号","time_used":{"rt":{"structure":"0.006234884262084961"},"start":"1589801057.2344782"},"status":"OK"}', 'title' => ''], ], - 'type' => 'object', + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The parameter is invalid.', - ], - [ - 'errorCode' => 'UserStatusInvalid', - 'errorMessage' => 'The user status is invalid.', - ], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The parameter is invalid.', 'description' => ''], + ['errorCode' => 'UserStatusInvalid', 'errorMessage' => 'The user status is invalid.', 'description' => ''], ], 403 => [ - [ - 'errorCode' => 'Forbidden.NoAuth', - 'errorMessage' => 'Failed to perform user authentication.', - ], + ['errorCode' => 'Forbidden.NoAuth', 'errorMessage' => 'Failed to perform user authentication.', 'description' => ''], ], [ - [ - 'errorCode' => 'ResourceDoesNotExist', - 'errorMessage' => 'The resource does not exist.', - ], + ['errorCode' => 'ResourceDoesNotExist', 'errorMessage' => 'The resource does not exist.', 'description' => ''], ], 429 => [ - [ - 'errorCode' => 'Throttling.User', - 'errorMessage' => 'Flow control has been triggered.', - ], + ['errorCode' => 'Throttling.User', 'errorMessage' => 'Flow control has been triggered.', 'description' => ''], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'A service error occurred.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'A service error occurred.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Data\\": \\"{\\\\\\"structure\\\\\\":\\\\\\"prov=浙江省\\\\\\\\tcity=杭州市\\\\\\\\troad=文一西路\\\\\\\\troadNo=969号\\\\\\",\\\\\\"time_used\\\\\\":{\\\\\\"rt\\\\\\":{\\\\\\"structure\\\\\\":\\\\\\"0.006234884262084961\\\\\\"},\\\\\\"start\\\\\\":\\\\\\"1589801057.2344782\\\\\\"},\\\\\\"status\\\\\\":\\\\\\"OK\\\\\\"}\\",\\n \\"RequestId\\": \\"3542CCCD-A58D-4D46-9772-CC214D2D1E32\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>3542CCCD-A58D-4D46-9772-CC214D2D1E32</RequestId>\\n<Data>\\n <structure>prov=浙江省\\tcity=杭州市\\troad=文一西路\\troadNo=969号</structure>\\n <time_used>\\n <rt>\\n <structure>0.006234884262084961</structure>\\n </rt>\\n <start>1589801057.2344782</start>\\n </time_used>\\n <status>OK</status>\\n</Data>","errorExample":""}]', - 'extraInfo' => ' ', + 'title' => 'Address structuring', + 'summary' => 'Classifies an original address into hierarchical levels and supports auto-completion of province, city, district, and street information.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"3542CCCD-A58D-4D46-9772-CC214D2D1E32\\",\\n \\"Data\\": \\"{\\\\\\"structure\\\\\\":\\\\\\"prov=浙江省\\\\\\\\tcity=杭州市\\\\\\\\troad=文一西路\\\\\\\\troadNo=969号\\\\\\",\\\\\\"time_used\\\\\\":{\\\\\\"rt\\\\\\":{\\\\\\"structure\\\\\\":\\\\\\"0.006234884262084961\\\\\\"},\\\\\\"start\\\\\\":\\\\\\"1589801057.2344782\\\\\\"},\\\\\\"status\\\\\\":\\\\\\"OK\\\\\\"}\\"\\n}","type":"json"}]', ], ], 'endpoints' => [ - [ - 'regionId' => 'cn-hangzhou', - 'endpoint' => 'address-purification.cn-hangzhou.aliyuncs.com', - ], + ['regionId' => 'cn-hangzhou', 'regionName' => 'China (Hangzhou)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'address-purification.cn-hangzhou.aliyuncs.com', 'endpoint' => 'address-purification.cn-hangzhou.aliyuncs.com', 'vpc' => 'address-purification-vpc.cn-hangzhou.aliyuncs.com'], ], + 'errorCodes' => [], + 'changeSet' => [], ]; |
