'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',
],
],
],
'components' => [
'schemas' => [],
],
'apis' => [
'CorrectAddress' => [
'methods' => [
'post',
'get',
],
'schemes' => [
'http',
'https',
],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
],
'parameters' => [
[
'name' => 'ServiceCode',
'in' => 'formData',
'schema' => [
'description' => '',
'type' => 'string',
'required' => true,
'docRequired' => true,
'example' => 'addrp',
],
],
[
'name' => 'Text',
'in' => 'formData',
'schema' => [
'description' => '',
'type' => 'string',
'required' => true,
'docRequired' => true,
'example' => '',
],
],
[
'name' => 'DefaultProvince',
'in' => 'formData',
'schema' => [
'description' => '',
'type' => 'string',
'required' => false,
'example' => '',
],
],
[
'name' => 'DefaultCity',
'in' => 'formData',
'schema' => [
'description' => '',
'type' => 'string',
'required' => false,
'example' => '',
],
],
[
'name' => 'DefaultDistrict',
'in' => 'formData',
'schema' => [
'description' => '',
'type' => 'string',
'required' => false,
'example' => '',
],
],
[
'name' => 'AppKey',
'in' => 'formData',
'schema' => [
'description' => '',
'type' => 'string',
'required' => true,
'docRequired' => true,
'example' => 'Axqwerasdf1a',
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => [
'description' => 'RequestId',
'type' => 'string',
'example' => '226BD68D-6208-4140-A6EC-2F2BF434B601',
],
'Data' => [
'description' => '',
'type' => 'string',
'example' => '',
],
],
],
],
],
'errorCodes' => [
400 => [
[
'errorCode' => 'InvalidParameter',
'errorMessage' => 'The parameter is invalid.',
],
[
'errorCode' => 'UserStatusInvalid',
'errorMessage' => 'The user status is invalid.',
],
],
403 => [
[
'errorCode' => 'Forbidden.NoAuth',
'errorMessage' => 'Failed to perform user authentication.',
],
],
[
[
'errorCode' => 'ResourceDoesNotExist',
'errorMessage' => 'The resource does not exist.',
],
],
429 => [
[
'errorCode' => 'Throttling.User',
'errorMessage' => 'Flow control has been triggered.',
],
],
500 => [
[
'errorCode' => 'InternalError',
'errorMessage' => 'A service error occurred.',
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Data\\": \\"{\\\\\\"address_correct\\\\\\":[\\\\\\"文一西路=road 969号=roadno\\\\\\"]}\\",\\n \\"RequestId\\": \\"226BD68D-6208-4140-A6EC-2F2BF434B601\\"\\n}","errorExample":""},{"type":"xml","example":"226BD68D-6208-4140-A6EC-2F2BF434B601\\n\\n 文一西路=road 969号=roadno\\n \\n \\n 1589799494.0997586\\n \\n OK\\n","errorExample":""}]',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'ExtractAddress' => [
'methods' => [
'post',
'get',
],
'schemes' => [
'http',
'https',
],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
],
'parameters' => [
[
'name' => 'ServiceCode',
'in' => 'formData',
'schema' => [
'description' => '',
'docRequired' => true,
'example' => 'addrp',
'required' => true,
'type' => 'string',
],
],
[
'name' => 'Text',
'in' => 'formData',
'schema' => [
'description' => '',
'docRequired' => true,
'example' => '',
'required' => true,
'type' => 'string',
],
],
[
'name' => 'DefaultProvince',
'in' => 'formData',
'schema' => [
'description' => '',
'example' => '',
'required' => false,
'type' => 'string',
],
],
[
'name' => 'DefaultCity',
'in' => 'formData',
'schema' => [
'description' => '',
'example' => '',
'required' => false,
'type' => 'string',
],
],
[
'name' => 'DefaultDistrict',
'in' => 'formData',
'schema' => [
'description' => '',
'example' => '',
'required' => false,
'type' => 'string',
],
],
[
'name' => 'AppKey',
'in' => 'formData',
'schema' => [
'description' => '',
'docRequired' => true,
'example' => 'Axqwerasdf1a',
'required' => true,
'type' => 'string',
],
],
],
'responses' => [
200 => [
'schema' => [
'properties' => [
'RequestId' => [
'description' => 'RequestId',
'example' => 'E0627DDE-28D7-4C00-A611-E047DF81AF05',
'type' => 'string',
],
'Data' => [
'description' => '',
'example' => '',
'type' => 'string',
],
],
'type' => 'object',
],
],
],
'errorCodes' => [
400 => [
[
'errorCode' => 'InvalidParameter',
'errorMessage' => 'The parameter is invalid.',
],
[
'errorCode' => 'UserStatusInvalid',
'errorMessage' => 'The user status is invalid.',
],
],
403 => [
[
'errorCode' => 'Forbidden.NoAuth',
'errorMessage' => 'Failed to perform user authentication.',
],
],
[
[
'errorCode' => 'ResourceDoesNotExist',
'errorMessage' => 'The resource does not exist.',
],
],
429 => [
[
'errorCode' => 'Throttling.User',
'errorMessage' => 'Flow control has been triggered.',
],
],
500 => [
[
'errorCode' => 'InternalError',
'errorMessage' => 'A service error occurred.',
],
],
],
'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":"E0627DDE-28D7-4C00-A611-E047DF81AF05\\n\\n \\n 0\\n 8\\n LOC\\n 文一西路969号\\n \\n \\n \\n 1589799727.438162\\n \\n OK\\n","errorExample":""}]',
'extraInfo' => ' ',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
],
'ExtractName' => [
'methods' => [
'post',
'get',
],
'schemes' => [
'http',
'https',
],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
],
'parameters' => [
[
'name' => 'ServiceCode',
'in' => 'formData',
'schema' => [
'description' => '',
'docRequired' => true,
'example' => 'addrp',
'required' => true,
'type' => 'string',
],
],
[
'name' => 'Text',
'in' => 'formData',
'schema' => [
'description' => '',
'docRequired' => true,
'example' => '',
'required' => true,
'type' => 'string',
],
],
[
'name' => 'DefaultProvince',
'in' => 'formData',
'schema' => [
'description' => '',
'example' => '',
'required' => false,
'type' => 'string',
],
],
[
'name' => 'DefaultCity',
'in' => 'formData',
'schema' => [
'description' => '',
'example' => '',
'required' => false,
'type' => 'string',
],
],
[
'name' => 'DefaultDistrict',
'in' => 'formData',
'schema' => [
'description' => '',
'example' => '',
'required' => false,
'type' => 'string',
],
],
[
'name' => 'AppKey',
'in' => 'formData',
'schema' => [
'description' => '',
'docRequired' => true,
'example' => 'Axqwerasdf1a',
'required' => true,
'type' => 'string',
],
],
],
'responses' => [
200 => [
'schema' => [
'properties' => [
'RequestId' => [
'description' => 'RequestId',
'example' => '3A9AB010-AC38-4E53-9D25-6B97238C2897',
'type' => 'string',
],
'Data' => [
'description' => '',
'example' => '',
'type' => 'string',
],
],
'type' => 'object',
],
],
],
'errorCodes' => [
400 => [
[
'errorCode' => 'InvalidParameter',
'errorMessage' => 'The parameter is invalid.',
],
[
'errorCode' => 'UserStatusInvalid',
'errorMessage' => 'The user status is invalid.',
],
],
403 => [
[
'errorCode' => 'Forbidden.NoAuth',
'errorMessage' => 'Failed to perform user authentication.',
],
],
[
[
'errorCode' => 'ResourceDoesNotExist',
'errorMessage' => 'The resource does not exist.',
],
],
429 => [
[
'errorCode' => 'Throttling.User',
'errorMessage' => 'Flow control has been triggered.',
],
],
500 => [
[
'errorCode' => 'InternalError',
'errorMessage' => 'A service error occurred.',
],
],
],
'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":"3A9AB010-AC38-4E53-9D25-6B97238C2897\\n\\n \\n 8\\n 11\\n PER\\n 张小明\\n \\n \\n \\n 1589799959.7144244\\n \\n OK\\n","errorExample":""}]',
'extraInfo' => ' ',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
],
'ExtractPhone' => [
'methods' => [
'post',
'get',
],
'schemes' => [
'http',
'https',
],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
],
'parameters' => [
[
'name' => 'ServiceCode',
'in' => 'formData',
'schema' => [
'description' => '',
'docRequired' => true,
'example' => 'addrp',
'required' => true,
'type' => 'string',
],
],
[
'name' => 'Text',
'in' => 'formData',
'schema' => [
'description' => '',
'docRequired' => true,
'example' => '',
'required' => true,
'type' => 'string',
],
],
[
'name' => 'DefaultProvince',
'in' => 'formData',
'schema' => [
'description' => '',
'example' => '',
'required' => false,
'type' => 'string',
],
],
[
'name' => 'DefaultCity',
'in' => 'formData',
'schema' => [
'description' => '',
'example' => '',
'required' => false,
'type' => 'string',
],
],
[
'name' => 'DefaultDistrict',
'in' => 'formData',
'schema' => [
'description' => '',
'example' => '',
'required' => false,
'type' => 'string',
],
],
[
'name' => 'AppKey',
'in' => 'formData',
'schema' => [
'description' => '',
'docRequired' => true,
'example' => 'Axqwerasdf1a',
'required' => true,
'type' => 'string',
],
],
],
'responses' => [
200 => [
'schema' => [
'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',
],
],
'type' => 'object',
],
],
],
'errorCodes' => [
400 => [
[
'errorCode' => 'InvalidParameter',
'errorMessage' => 'The parameter is invalid.',
],
[
'errorCode' => 'UserStatusInvalid',
'errorMessage' => 'The user status is invalid.',
],
],
403 => [
[
'errorCode' => 'Forbidden.NoAuth',
'errorMessage' => 'Failed to perform user authentication.',
],
],
[
[
'errorCode' => 'ResourceDoesNotExist',
'errorMessage' => 'The resource does not exist.',
],
],
429 => [
[
'errorCode' => 'Throttling.User',
'errorMessage' => 'Flow control has been triggered.',
],
],
500 => [
[
'errorCode' => 'InternalError',
'errorMessage' => 'A service error occurred.',
],
],
],
'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":"A602539D-A298-4643-A268-94F0B893C12F\\n\\n \\n 8\\n 19\\n TEL\\n 1333333****\\n \\n \\n \\n 1589800189.9369104\\n \\n OK\\n","errorExample":""}]',
'extraInfo' => ' ',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
],
'GetAddressDivisionCode' => [
'methods' => [
'post',
'get',
],
'schemes' => [
'http',
'https',
],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
],
'parameters' => [
[
'name' => 'ServiceCode',
'in' => 'formData',
'schema' => [
'description' => '',
'docRequired' => true,
'example' => 'addrp',
'required' => true,
'type' => 'string',
],
],
[
'name' => 'Text',
'in' => 'formData',
'schema' => [
'description' => '',
'docRequired' => true,
'example' => '',
'required' => true,
'type' => 'string',
],
],
[
'name' => 'DefaultProvince',
'in' => 'formData',
'schema' => [
'description' => '',
'example' => '',
'required' => false,
'type' => 'string',
],
],
[
'name' => 'DefaultCity',
'in' => 'formData',
'schema' => [
'description' => '',
'example' => '',
'required' => false,
'type' => 'string',
],
],
[
'name' => 'DefaultDistrict',
'in' => 'formData',
'schema' => [
'description' => '',
'example' => '',
'required' => false,
'type' => 'string',
],
],
[
'name' => 'AppKey',
'in' => 'formData',
'schema' => [
'description' => '',
'docRequired' => true,
'example' => 'Axqwerasdf1a',
'required' => true,
'type' => 'string',
],
],
],
'responses' => [
200 => [
'schema' => [
'properties' => [
'RequestId' => [
'description' => 'RequestId',
'example' => 'F726DC5F-67A1-4FBF-B216-758D1A681B8A',
'type' => 'string',
],
'Data' => [
'description' => '',
'example' => '',
'type' => 'string',
],
],
'type' => 'object',
],
],
],
'errorCodes' => [
400 => [
[
'errorCode' => 'InvalidParameter',
'errorMessage' => 'The parameter is invalid.',
],
[
'errorCode' => 'UserStatusInvalid',
'errorMessage' => 'The user status is invalid.',
],
],
403 => [
[
'errorCode' => 'Forbidden.NoAuth',
'errorMessage' => 'Failed to perform user authentication.',
],
],
[
[
'errorCode' => 'ResourceDoesNotExist',
'errorMessage' => 'The resource does not exist.',
],
],
429 => [
[
'errorCode' => 'Throttling.User',
'errorMessage' => 'Flow control has been triggered.',
],
],
500 => [
[
'errorCode' => 'InternalError',
'errorMessage' => 'A service error occurred.',
],
],
],
'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":"F726DC5F-67A1-4FBF-B216-758D1A681B8A\\n\\n \\n 330100000000\\n 浙江省 杭州市\\n \\n \\n \\n 1589800407.0037742\\n \\n OK\\n","errorExample":""}]',
'extraInfo' => ' ',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
],
'GetAddressSimilarity' => [
'methods' => [
'post',
'get',
],
'schemes' => [
'http',
'https',
],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
],
'parameters' => [
[
'name' => 'ServiceCode',
'in' => 'formData',
'schema' => [
'description' => '',
'docRequired' => true,
'example' => 'addrp',
'required' => true,
'type' => 'string',
],
],
[
'name' => 'Text',
'in' => 'formData',
'schema' => [
'description' => '',
'docRequired' => true,
'example' => '',
'required' => true,
'type' => 'string',
],
],
[
'name' => 'DefaultProvince',
'in' => 'formData',
'schema' => [
'description' => '',
'example' => '',
'required' => false,
'type' => 'string',
],
],
[
'name' => 'DefaultCity',
'in' => 'formData',
'schema' => [
'description' => '',
'example' => '',
'required' => false,
'type' => 'string',
],
],
[
'name' => 'DefaultDistrict',
'in' => 'formData',
'schema' => [
'description' => '',
'example' => '',
'required' => false,
'type' => 'string',
],
],
[
'name' => 'AppKey',
'in' => 'formData',
'schema' => [
'description' => '',
'docRequired' => true,
'example' => 'Axqwerasdf1a',
'required' => true,
'type' => 'string',
],
],
],
'responses' => [
200 => [
'schema' => [
'properties' => [
'RequestId' => [
'description' => 'RequestId',
'example' => 'F1BD3BD6-3510-4144-996A-B7FCA70A5F81',
'type' => 'string',
],
'Data' => [
'description' => '',
'example' => '',
'type' => 'string',
],
],
'type' => 'object',
],
],
],
'errorCodes' => [
400 => [
[
'errorCode' => 'InvalidParameter',
'errorMessage' => 'The parameter is invalid.',
],
[
'errorCode' => 'UserStatusInvalid',
'errorMessage' => 'The user status is invalid.',
],
],
403 => [
[
'errorCode' => 'Forbidden.NoAuth',
'errorMessage' => 'Failed to perform user authentication.',
],
],
[
[
'errorCode' => 'ResourceDoesNotExist',
'errorMessage' => 'The resource does not exist.',
],
],
429 => [
[
'errorCode' => 'Throttling.User',
'errorMessage' => 'Flow control has been triggered.',
],
],
500 => [
[
'errorCode' => 'InternalError',
'errorMessage' => 'A service error occurred.',
],
],
],
'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":"F1BD3BD6-3510-4144-996A-B7FCA70A5F81\\n\\n \\n none\\n 文一西路969号\\n 余杭区阿里阿巴巴\\n false\\n \\n \\n \\n 1589800627.3379788\\n \\n OK\\n","errorExample":""}]',
'extraInfo' => ' ',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
],
'GetZipcode' => [
'methods' => [
'post',
'get',
],
'schemes' => [
'http',
'https',
],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
],
'parameters' => [
[
'name' => 'ServiceCode',
'in' => 'formData',
'schema' => [
'description' => '',
'docRequired' => true,
'example' => 'addrp',
'required' => true,
'type' => 'string',
],
],
[
'name' => 'Text',
'in' => 'formData',
'schema' => [
'description' => '',
'docRequired' => true,
'example' => '',
'required' => true,
'type' => 'string',
],
],
[
'name' => 'DefaultProvince',
'in' => 'formData',
'schema' => [
'description' => '',
'example' => '',
'required' => false,
'type' => 'string',
],
],
[
'name' => 'DefaultCity',
'in' => 'formData',
'schema' => [
'description' => '',
'example' => '',
'required' => false,
'type' => 'string',
],
],
[
'name' => 'DefaultDistrict',
'in' => 'formData',
'schema' => [
'description' => '',
'example' => '',
'required' => false,
'type' => 'string',
],
],
[
'name' => 'AppKey',
'in' => 'formData',
'schema' => [
'description' => '',
'docRequired' => true,
'example' => 'Axqwerasdf1a',
'required' => true,
'type' => 'string',
],
],
],
'responses' => [
200 => [
'schema' => [
'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',
],
],
'type' => 'object',
],
],
],
'errorCodes' => [
400 => [
[
'errorCode' => 'InvalidParameter',
'errorMessage' => 'The parameter is invalid.',
],
[
'errorCode' => 'UserStatusInvalid',
'errorMessage' => 'The user status is invalid.',
],
],
403 => [
[
'errorCode' => 'Forbidden.NoAuth',
'errorMessage' => 'Failed to perform user authentication.',
],
],
[
[
'errorCode' => 'ResourceDoesNotExist',
'errorMessage' => 'The resource does not exist.',
],
],
429 => [
[
'errorCode' => 'Throttling.User',
'errorMessage' => 'Flow control has been triggered.',
],
],
500 => [
[
'errorCode' => 'InternalError',
'errorMessage' => 'A service error occurred.',
],
],
],
'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":"D0078DC6-8A1F-41A0-9A5F-A6B6443E9A65\\n\\n 311500\\n \\n \\n 1589800854.316437\\n \\n OK\\n","errorExample":""}]',
'extraInfo' => ' ',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
],
'StructureAddress' => [
'methods' => [
'post',
'get',
],
'schemes' => [
'http',
'https',
],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
],
'parameters' => [
[
'name' => 'ServiceCode',
'in' => 'formData',
'schema' => [
'description' => '',
'docRequired' => true,
'example' => 'addrp',
'required' => true,
'type' => 'string',
],
],
[
'name' => 'Text',
'in' => 'formData',
'schema' => [
'description' => '',
'docRequired' => true,
'example' => '',
'required' => true,
'type' => 'string',
],
],
[
'name' => 'DefaultProvince',
'in' => 'formData',
'schema' => [
'description' => '',
'example' => '',
'required' => false,
'type' => 'string',
],
],
[
'name' => 'DefaultCity',
'in' => 'formData',
'schema' => [
'description' => '',
'example' => '',
'required' => false,
'type' => 'string',
],
],
[
'name' => 'DefaultDistrict',
'in' => 'formData',
'schema' => [
'description' => '',
'example' => '',
'required' => false,
'type' => 'string',
],
],
[
'name' => 'AppKey',
'in' => 'formData',
'schema' => [
'description' => '',
'docRequired' => true,
'example' => 'Axqwerasdf1a',
'required' => true,
'type' => 'string',
],
],
],
'responses' => [
200 => [
'schema' => [
'properties' => [
'RequestId' => [
'description' => 'RequestId',
'example' => '3542CCCD-A58D-4D46-9772-CC214D2D1E32',
'type' => 'string',
],
'Data' => [
'description' => '',
'example' => '',
'type' => 'string',
],
],
'type' => 'object',
],
],
],
'errorCodes' => [
400 => [
[
'errorCode' => 'InvalidParameter',
'errorMessage' => 'The parameter is invalid.',
],
[
'errorCode' => 'UserStatusInvalid',
'errorMessage' => 'The user status is invalid.',
],
],
403 => [
[
'errorCode' => 'Forbidden.NoAuth',
'errorMessage' => 'Failed to perform user authentication.',
],
],
[
[
'errorCode' => 'ResourceDoesNotExist',
'errorMessage' => 'The resource does not exist.',
],
],
429 => [
[
'errorCode' => 'Throttling.User',
'errorMessage' => 'Flow control has been triggered.',
],
],
500 => [
[
'errorCode' => 'InternalError',
'errorMessage' => 'A service error occurred.',
],
],
],
'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":"3542CCCD-A58D-4D46-9772-CC214D2D1E32\\n\\n prov=浙江省\\tcity=杭州市\\troad=文一西路\\troadNo=969号\\n \\n \\n 1589801057.2344782\\n \\n OK\\n","errorExample":""}]',
'extraInfo' => ' ',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
],
],
'endpoints' => [
[
'regionId' => 'cn-hangzhou',
'endpoint' => 'address-purification.cn-hangzhou.aliyuncs.com',
],
],
];