'1.0', 'info' => [ 'style' => 'RPC', 'product' => 'Httpdns', 'version' => '2016-02-01', ], 'directories' => [ [ 'id' => 0, 'title' => '其它', 'type' => 'directory', 'children' => [ 'AddDomain', 'DeleteDomain', 'DescribeDomains', 'GetAccountInfo', 'GetResolveCountSummary', 'GetResolveStatistics', 'ListDomains', 'RefreshResolveCache', ], ], ], 'components' => [ 'schemas' => [], ], 'apis' => [ 'AddDomain' => [ 'summary' => '添加域名', 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'AccountId', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '123456', 'default' => '', ], ], [ 'name' => 'DomainName', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'www.example.com', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'DomainName' => [ 'description' => '', 'type' => 'string', 'example' => 'www.example.com', ], 'RequestId' => [ 'description' => '', 'type' => 'string', 'example' => 'ADA27798-6911-4B06-AF34-53F62F62XXXX', ], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"DomainName\\": \\"www.example.com\\",\\n \\"RequestId\\": \\"ADA27798-6911-4B06-AF34-53F62F62XXXX\\"\\n}","errorExample":""},{"type":"xml","example":"\\n\\n ADA27798-6911-4B06-AF34-53F62F624D7B\\n www.aliyun.com\\n","errorExample":""}]', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', ], 'DeleteDomain' => [ 'summary' => '删除域名', 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', ], 'parameters' => [ [ 'name' => 'AccountId', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '12****', 'default' => '', ], ], [ 'name' => 'DomainName', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'www.example.com', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'DomainName' => [ 'description' => '', 'type' => 'string', 'example' => 'www.example.com', ], 'RequestId' => [ 'description' => '', 'type' => 'string', 'example' => 'FA8C2599-362D-4113-8FB4-E88A40C2****', ], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"DomainName\\": \\"www.example.com\\",\\n \\"RequestId\\": \\"FA8C2599-362D-4113-8FB4-E88A40C2****\\"\\n}","errorExample":""},{"type":"xml","example":"\\n\\n FA8C2599-362D-4113-8FB4-E88A40C2639D\\n www.aliyun.com\\n","errorExample":""}]', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', ], 'DescribeDomains' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'systemTags' => [], 'parameters' => [ [ 'name' => 'AccountId', 'in' => 'query', 'schema' => [ 'description' => '', 'example' => '123456', 'required' => false, 'type' => 'string', 'default' => '', ], ], [ 'name' => 'PageNumber', 'in' => 'query', 'schema' => [ 'description' => '', 'example' => '1', 'format' => 'int64', 'minimum' => '1', 'required' => false, 'type' => 'integer', 'default' => '1', ], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => [ 'description' => '', 'example' => '10', 'format' => 'int64', 'maximum' => '100', 'minimum' => '1', 'required' => false, 'type' => 'integer', 'default' => '20', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '', 'properties' => [ 'PageSize' => [ 'description' => '', 'example' => '20', 'format' => 'int64', 'type' => 'integer', ], 'RequestId' => [ 'description' => '', 'example' => 'A6B3BB61-69CB-50E0-9DC0-0C1658D44A47', 'type' => 'string', ], 'PageNumber' => [ 'description' => '', 'example' => '1', 'format' => 'int64', 'type' => 'integer', ], 'TotalCount' => [ 'description' => '', 'example' => '12', 'format' => 'int64', 'type' => 'integer', ], 'Domains' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'Domain' => [ 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'properties' => [ 'DomainName' => [ 'description' => '', 'example' => 'www.aliyun.com', 'type' => 'string', ], ], 'type' => 'object', ], ], ], ], ], 'type' => 'object', ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"PageSize\\": 20,\\n \\"RequestId\\": \\"A6B3BB61-69CB-50E0-9DC0-0C1658D44A47\\",\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 12,\\n \\"Domains\\": {\\n \\"Domain\\": [\\n {\\n \\"DomainName\\": \\"www.aliyun.com\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n 20\\n A6B3BB61-69CB-50E0-9DC0-0C1658D44A47\\n 1\\n 12\\n \\n www.aliyun.com\\n \\n","errorExample":""}]', ], 'GetAccountInfo' => [ 'summary' => '获取用户信息包含配置项', 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREemasRC3OWB', ], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ 'properties' => [ 'RequestId' => [ 'description' => '', 'example' => '50F9C40E-188D-4208-BE2C-74271337****', 'type' => 'string', ], 'AccountInfo' => [ 'description' => '', 'properties' => [ 'SignSecret' => [ 'description' => '', 'example' => '50F9C40E****', 'type' => 'string', ], 'SignedCount' => [ 'description' => '', 'example' => '611523', 'format' => 'int64', 'type' => 'integer', ], 'PackageCount' => [ 'description' => '', 'example' => '0', 'format' => 'int32', 'type' => 'integer', ], 'MonthResolveCount' => [ 'description' => '', 'example' => '9927326', 'format' => 'int32', 'type' => 'integer', ], 'AccountId' => [ 'description' => '', 'example' => '1337****', 'type' => 'string', ], 'UnsignedEnabled' => [ 'description' => '', 'example' => 'true', 'type' => 'boolean', ], 'UserStatus' => [ 'description' => '', 'example' => '1', 'format' => 'int32', 'type' => 'integer', ], 'UnsignedCount' => [ 'description' => '', 'example' => '1523', 'format' => 'int64', 'type' => 'integer', ], 'MonthHttpsResolveCount' => [ 'description' => '', 'example' => '3', 'format' => 'int32', 'type' => 'integer', ], 'MonthFreeCount' => [ 'description' => '', 'example' => '1500000', 'format' => 'int32', 'type' => 'integer', ], 'DohEnabled' => [ 'type' => 'boolean', ], 'DohResolveAllEnabled' => [ 'type' => 'boolean', ], 'MonthDohResolveCount' => [ 'type' => 'integer', 'format' => 'int64', ], 'MonthHttpAesResolveCount' => [ 'type' => 'integer', 'format' => 'int64', ], 'MonthHttpsAesResolveCount' => [ 'type' => 'integer', 'format' => 'int64', ], ], 'type' => 'object', ], ], 'type' => 'object', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"50F9C40E-188D-4208-BE2C-74271337****\\",\\n \\"AccountInfo\\": {\\n \\"SignSecret\\": \\"50F9C40E****\\",\\n \\"SignedCount\\": 611523,\\n \\"PackageCount\\": 0,\\n \\"MonthResolveCount\\": 9927326,\\n \\"AccountId\\": \\"1337****\\",\\n \\"UnsignedEnabled\\": true,\\n \\"UserStatus\\": 1,\\n \\"UnsignedCount\\": 1523,\\n \\"MonthHttpsResolveCount\\": 3,\\n \\"MonthFreeCount\\": 1500000,\\n \\"DohEnabled\\": true,\\n \\"DohResolveAllEnabled\\": true,\\n \\"MonthDohResolveCount\\": 10000,\\n \\"MonthHttpAesResolveCount\\": 0,\\n \\"MonthHttpsAesResolveCount\\": 0\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n 50F9C40E-188D-4208-BE2C-74271337****\\n \\n 50F9C40E****\\n 611523\\n 0\\n 9927326\\n 1337****\\n true\\n 1\\n 1523\\n 3\\n 1500000\\n \\n","errorExample":""}]', 'extraInfo' => ' ', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', ], 'GetResolveCountSummary' => [ 'summary' => '解析次数概览', 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREemas5UUCVR', ], ], 'parameters' => [ [ 'name' => 'Granularity', 'in' => 'query', 'schema' => [ 'description' => '', 'example' => 'day', 'required' => true, 'type' => 'string', ], ], [ 'name' => 'TimeSpan', 'in' => 'query', 'schema' => [ 'description' => '', 'example' => '7', 'format' => 'int32', 'required' => true, 'type' => 'integer', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '', 'properties' => [ 'RequestId' => [ 'description' => '', 'example' => '3106FFF3-3612-542A-B2CD-3CF4CD48****', 'type' => 'string', ], 'ResolveSummary' => [ 'description' => '', 'properties' => [ 'Https6' => [ 'description' => '', 'example' => '123', 'format' => 'int64', 'type' => 'integer', ], 'Http6' => [ 'description' => '', 'example' => '123', 'format' => 'int64', 'type' => 'integer', ], 'Http' => [ 'description' => '', 'example' => '123', 'format' => 'int64', 'type' => 'integer', ], 'Https' => [ 'description' => '', 'example' => '123', 'format' => 'int64', 'type' => 'integer', ], 'Doh' => [ 'type' => 'integer', 'format' => 'int64', ], 'HttpAes' => [ 'type' => 'string', ], 'HttpsAes' => [ 'type' => 'string', ], ], 'type' => 'object', ], ], 'type' => 'object', ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"3106FFF3-3612-542A-B2CD-3CF4CD48****\\",\\n \\"ResolveSummary\\": {\\n \\"Https6\\": 123,\\n \\"Http6\\": 123,\\n \\"Http\\": 123,\\n \\"Https\\": 123,\\n \\"Doh\\": 0,\\n \\"HttpAes\\": \\"\\",\\n \\"HttpsAes\\": \\"\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n 3106FFF3-3612-542A-B2CD-3CF4CD48A4A5\\n \\n 123\\n 123\\n 123\\n 123\\n \\n","errorExample":""}]', ], 'GetResolveStatistics' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'DomainName', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'www.aliyun.com', ], ], [ 'name' => 'Granularity', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'month', ], ], [ 'name' => 'TimeSpan', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '2', ], ], [ 'name' => 'ProtocolName', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'https', 'default' => 'http', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => [ 'description' => '', 'type' => 'string', 'example' => '50F9C40E-188D-B00B-BE2C-7427E531****', ], 'DataPoints' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'DataPoint' => [ 'description' => '', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'Time' => [ 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '1488297600', ], 'Count' => [ 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '9703', ], ], ], ], ], ], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"50F9C40E-188D-B00B-BE2C-7427E531****\\",\\n \\"DataPoints\\": {\\n \\"DataPoint\\": [\\n {\\n \\"Time\\": 1488297600,\\n \\"Count\\": 9703\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n\\n 50F9C40E-1816-B00B-BE2C-7427E5316481\\n \\n \\n \\n 9703\\n \\n \\n \\n 9390\\n \\n \\n","errorExample":""}]', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', ], 'ListDomains' => [ 'summary' => '列举域名以及解析统计信息', 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREemas5UUCVR', ], ], 'parameters' => [ [ 'name' => 'PageNumber', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'example' => '1', 'default' => '1', ], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '500', 'minimum' => '1', 'example' => '20', 'default' => '20', ], ], [ 'name' => 'Search', 'in' => 'query', 'schema' => [ 'type' => 'string', ], ], [ 'name' => 'WithoutMeteringData', 'in' => 'query', 'schema' => [ 'type' => 'boolean', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'PageSize' => [ 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '5', ], 'RequestId' => [ 'description' => '', 'type' => 'string', 'example' => '50F9C40E-188D-4208-BE2C-7427E531****', ], 'PageNumber' => [ 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '1', ], 'TotalCount' => [ 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '18', ], 'DomainInfos' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'DomainInfo' => [ 'description' => '', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'ResolvedHttps6' => [ 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '20', ], 'Resolved' => [ 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '10', ], 'Resolved6' => [ 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '20', ], 'DomainName' => [ 'description' => '', 'type' => 'string', 'example' => 'www.example.com', ], 'ResolvedHttps' => [ 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '10', ], 'TimeModified' => [ 'type' => 'integer', 'format' => 'int64', ], 'ResolvedDoh' => [ 'type' => 'integer', 'format' => 'int64', ], 'ResolveHttpAes' => [ 'type' => 'integer', 'format' => 'int64', ], 'ResolveHttpsAes' => [ 'type' => 'integer', 'format' => 'int64', ], ], ], ], ], ], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"PageSize\\": 5,\\n \\"RequestId\\": \\"50F9C40E-188D-4208-BE2C-7427E531****\\",\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 18,\\n \\"DomainInfos\\": {\\n \\"DomainInfo\\": [\\n {\\n \\"ResolvedHttps6\\": 20,\\n \\"Resolved\\": 10,\\n \\"Resolved6\\": 20,\\n \\"DomainName\\": \\"www.example.com\\",\\n \\"ResolvedHttps\\": 10,\\n \\"TimeModified\\": 0,\\n \\"ResolvedDoh\\": 0,\\n \\"ResolveHttpAes\\": 0,\\n \\"ResolveHttpsAes\\": 0\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n\\n 50F9C40E-188D-4208-BE2C-7427E5316481\\n 18\\n 1\\n 5\\n \\n \\n www.aliyun.com\\n 10\\n 20\\n \\n \\n bbs.aliyun.com\\n 10\\n 20\\n \\n \\n www.taobao.com\\n 10\\n 20\\n \\n \\n www.tmall.com\\n 10\\n 20\\n \\n \\n alipay.com\\n 10\\n 20\\n \\n \\n","errorExample":""}]', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', ], 'RefreshResolveCache' => [ 'summary' => '刷新域名缓存', 'path' => '', 'methods' => [ 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'Domains', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'www.aliyun.com', ], 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'Code' => [ 'title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '200', ], 'Message' => [ 'description' => '', 'type' => 'string', 'example' => 'success', ], 'RequestId' => [ 'description' => '', 'type' => 'string', 'example' => 'FA8C2599-362D-4113-8FB4-E88A40C2****', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'RamInsufficientPermission', 'errorMessage' => 'You are not authorized to do this operation.', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"FA8C2599-362D-4113-8FB4-E88A40C2****\\"\\n}","type":"json"}]', ], ], 'endpoints' => [ [ 'regionId' => 'ap-southeast-1', 'endpoint' => 'httpdns.ap-southeast-1.aliyuncs.com', ], [ 'regionId' => 'cn-hangzhou', 'endpoint' => 'httpdns-api.aliyuncs.com', ], ], ];