diff options
| author | Zhineng Li <im@zhineng.li> | 2026-07-12 17:11:17 +0800 |
|---|---|---|
| committer | Zhineng Li <im@zhineng.li> | 2026-07-12 17:11:17 +0800 |
| commit | 1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634 (patch) | |
| tree | 5f0857666365b7e40cdaa3733ebe1f3ba9e13c67 /data/zh_cn/httpdns/2016-02-01 | |
| parent | 7347bac4ab7e136157fc94777e6cf87ef9e08599 (diff) | |
| download | afterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.tar.gz afterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.zip | |
update APIs 20260712
Diffstat (limited to 'data/zh_cn/httpdns/2016-02-01')
| -rw-r--r-- | data/zh_cn/httpdns/2016-02-01/api-docs.php | 930 |
1 files changed, 390 insertions, 540 deletions
diff --git a/data/zh_cn/httpdns/2016-02-01/api-docs.php b/data/zh_cn/httpdns/2016-02-01/api-docs.php index 13c404a..94973e0 100644 --- a/data/zh_cn/httpdns/2016-02-01/api-docs.php +++ b/data/zh_cn/httpdns/2016-02-01/api-docs.php @@ -1,41 +1,15 @@ <?php return [ 'version' => '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', - ], - ], - ], + 'info' => ['style' => 'RPC', 'product' => 'Httpdns', 'version' => '2016-02-01'], + 'directories' => ['AddDomain', 'DeleteDomain', 'DescribeDomains', 'GetAccountInfo', 'GetResolveCountSummary', 'GetResolveStatistics', 'ListDomains', 'RefreshResolveCache'], 'components' => [ 'schemas' => [], ], 'apis' => [ 'AddDomain' => [ 'summary' => '根据传入参数添加域名。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -43,33 +17,17 @@ ], 'operationType' => 'write', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - 'riskType' => 'none', - 'chargeType' => 'free', - 'tenantRelevance' => 'publicInformation', - ], + 'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'], 'parameters' => [ [ 'name' => 'AccountId', 'in' => 'query', - 'schema' => [ - 'description' => 'HTTPDNS账户ID。', - 'type' => 'string', - 'required' => false, - 'example' => '123456', - 'default' => '', - ], + 'schema' => ['description' => 'HTTPDNS账户ID。', 'type' => 'string', 'required' => false, 'example' => '123456', 'default' => ''], ], [ 'name' => 'DomainName', 'in' => 'query', - 'schema' => [ - 'description' => '域名名称。', - 'type' => 'string', - 'required' => true, - 'example' => 'www.example.com', - ], + 'schema' => ['description' => '域名名称。', 'type' => 'string', 'required' => true, 'example' => 'www.example.com'], ], ], 'responses' => [ @@ -77,36 +35,39 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'DomainName' => [ - 'description' => '域名名称。', - 'type' => 'string', - 'example' => 'www.example.com', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'ADA27798-6911-4B06-AF34-53F62F62XXXX', - ], + 'DomainName' => ['description' => '域名名称。', 'type' => 'string', 'example' => 'www.example.com'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'ADA27798-6911-4B06-AF34-53F62F62XXXX'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"DomainName\\": \\"www.example.com\\",\\n \\"RequestId\\": \\"ADA27798-6911-4B06-AF34-53F62F62XXXX\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\'1.0\' encoding=\'UTF-8\'?>\\n<AddDomainResponse>\\n <RequestId>ADA27798-6911-4B06-AF34-53F62F624D7B</RequestId>\\n <DomainName>www.aliyun.com</DomainName>\\n</AddDomainResponse>","errorExample":""}]', 'title' => '添加域名', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DeleteDomain' => [ - 'summary' => '根据传入参数删除域名。', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'httpdns:AddDomain', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'HTTPDNS', 'resourceType' => 'Domain', 'arn' => 'acs:httpdns:*:{#accountId}:domain/{#DomainName}'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"DomainName\\": \\"www.example.com\\",\\n \\"RequestId\\": \\"ADA27798-6911-4B06-AF34-53F62F62XXXX\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\'1.0\' encoding=\'UTF-8\'?>\\n<AddDomainResponse>\\n <RequestId>ADA27798-6911-4B06-AF34-53F62F624D7B</RequestId>\\n <DomainName>www.aliyun.com</DomainName>\\n</AddDomainResponse>","errorExample":""}]', + ], + 'DeleteDomain' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -114,32 +75,17 @@ ], 'operationType' => 'write', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'delete', - 'riskType' => 'none', - 'chargeType' => 'free', - ], + 'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'AccountId', 'in' => 'query', - 'schema' => [ - 'description' => 'HTTPDNS账户ID。', - 'type' => 'string', - 'required' => false, - 'example' => '12****', - 'default' => '', - ], + 'schema' => ['description' => 'HTTPDNS账户ID。', 'type' => 'string', 'required' => false, 'example' => '12****', 'default' => ''], ], [ 'name' => 'DomainName', 'in' => 'query', - 'schema' => [ - 'description' => '域名名称。', - 'type' => 'string', - 'required' => true, - 'example' => 'www.example.com', - ], + 'schema' => ['description' => '域名名称。', 'type' => 'string', 'required' => true, 'example' => 'www.example.com'], ], ], 'responses' => [ @@ -147,35 +93,40 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'DomainName' => [ - 'description' => '域名名称。', - 'type' => 'string', - 'example' => 'www.example.com', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'FA8C2599-362D-4113-8FB4-E88A40C2****', - ], + 'DomainName' => ['description' => '域名名称。', 'type' => 'string', 'example' => 'www.example.com'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'FA8C2599-362D-4113-8FB4-E88A40C2****'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"DomainName\\": \\"www.example.com\\",\\n \\"RequestId\\": \\"FA8C2599-362D-4113-8FB4-E88A40C2****\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\'1.0\' encoding=\'UTF-8\'?>\\n<DeleteDomainResponse>\\n <RequestId>FA8C2599-362D-4113-8FB4-E88A40C2639D</RequestId>\\n <DomainName>www.aliyun.com</DomainName>\\n</DeleteDomainResponse>","errorExample":""}]', 'title' => '删除域名', + 'summary' => '根据传入参数删除域名。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeDomains' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'httpdns:DeleteDomain', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'HTTPDNS', 'resourceType' => 'Domain', 'arn' => 'acs:httpdns:*:{#accountId}:domain/{#DomainName}'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"DomainName\\": \\"www.example.com\\",\\n \\"RequestId\\": \\"FA8C2599-362D-4113-8FB4-E88A40C2****\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\'1.0\' encoding=\'UTF-8\'?>\\n<DeleteDomainResponse>\\n <RequestId>FA8C2599-362D-4113-8FB4-E88A40C2639D</RequestId>\\n <DomainName>www.aliyun.com</DomainName>\\n</DeleteDomainResponse>","errorExample":""}]', + ], + 'DescribeDomains' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -187,40 +138,17 @@ [ 'name' => 'AccountId', 'in' => 'query', - 'schema' => [ - 'description' => 'HTTPDNS账户ID。', - 'type' => 'string', - 'required' => false, - 'example' => '123456', - 'default' => '', - ], + 'schema' => ['description' => 'HTTPDNS账户ID。', 'type' => 'string', 'required' => false, 'example' => '123456', 'default' => ''], ], [ 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'description' => '当前页数,起始值为1,默认为1。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'minimum' => '1', - 'example' => '1', - 'default' => '1', - ], + 'schema' => ['description' => '当前页数,起始值为1,默认为1。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'minimum' => '1', 'example' => '1', 'default' => '1'], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '分页查询时设置的每页行数,最大值100,默认为20。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '100', - 'minimum' => '1', - 'example' => '10', - 'default' => '20', - ], + 'schema' => ['description' => '分页查询时设置的每页行数,最大值100,默认为20。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '100', 'minimum' => '1', 'example' => '10', 'default' => '20'], ], ], 'responses' => [ @@ -229,29 +157,10 @@ 'description' => '请求结果。', 'type' => 'object', 'properties' => [ - 'PageSize' => [ - 'description' => '分页大小。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '20', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'A6B3BB61-69CB-50E0-9DC0-0C1658D44A47', - ], - 'PageNumber' => [ - 'description' => '当前页数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'TotalCount' => [ - 'description' => '总条目数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12', - ], + 'PageSize' => ['description' => '分页大小。', 'type' => 'integer', 'format' => 'int64', 'example' => '20'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A6B3BB61-69CB-50E0-9DC0-0C1658D44A47'], + 'PageNumber' => ['description' => '当前页数。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'TotalCount' => ['description' => '总条目数。', 'type' => 'integer', 'format' => 'int64', 'example' => '12'], 'Domains' => [ 'type' => 'object', 'itemNode' => true, @@ -263,34 +172,41 @@ 'description' => '域名信息。', 'type' => 'object', 'properties' => [ - 'DomainName' => [ - 'description' => '域名。', - 'type' => 'string', - 'example' => 'www.aliyun.com', - ], + 'DomainName' => ['description' => '域名。', 'type' => 'string', 'example' => 'www.aliyun.com'], ], ], ], ], + 'description' => '', ], ], ], ], ], - '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":"<DescribeDomainsResponse>\\n <PageSize>20</PageSize>\\n <RequestId>A6B3BB61-69CB-50E0-9DC0-0C1658D44A47</RequestId>\\n <PageNumber>1</PageNumber>\\n <TotalCount>12</TotalCount>\\n <Domains>\\n <DomainName>www.aliyun.com</DomainName>\\n </Domains>\\n</DescribeDomainsResponse>","errorExample":""}]', 'title' => '获取用户的域名列表', 'summary' => '根据传入参数列出用户的域名。', - ], - 'GetAccountInfo' => [ - 'summary' => '获取当前HTTPDNS账户信息。', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => '', + 'ramAction' => [ + 'action' => 'httpdns:DescribeDomains', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'HTTPDNS', 'resourceType' => 'Domain', 'arn' => 'acs:httpdns:*:{#accountId}:domain/*'], + ], + ], + ], ], + '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":"<DescribeDomainsResponse>\\n <PageSize>20</PageSize>\\n <RequestId>A6B3BB61-69CB-50E0-9DC0-0C1658D44A47</RequestId>\\n <PageNumber>1</PageNumber>\\n <TotalCount>12</TotalCount>\\n <Domains>\\n <DomainName>www.aliyun.com</DomainName>\\n </Domains>\\n</DescribeDomainsResponse>","errorExample":""}]', + ], + 'GetAccountInfo' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -302,9 +218,7 @@ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREemasRC3OWB', - ], + 'abilityTreeNodes' => ['FEATUREemasRC3OWB'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], @@ -314,123 +228,63 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '50F9C40E-188D-4208-BE2C-74271337****', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '50F9C40E-188D-4208-BE2C-74271337****'], 'AccountInfo' => [ 'description' => '当前账户信息。', 'type' => 'object', 'properties' => [ - 'SignSecret' => [ - 'description' => '签名密钥。', - 'type' => 'string', - 'example' => '50F9C40E****', - ], - 'SignedCount' => [ - 'description' => '鉴权接口请求数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '611523', - ], - 'PackageCount' => [ - 'description' => '资源包数(历史遗留字段,当前恒为0)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'MonthResolveCount' => [ - 'description' => '本月HTTP类型解析总量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '9927326', - ], - 'AccountId' => [ - 'description' => '账户ID。', - 'type' => 'string', - 'example' => '1337****', - ], - 'UnsignedEnabled' => [ - 'description' => '非鉴权接口是否开启。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'UserStatus' => [ - 'description' => 'HTTPDNS账号状态编码,1-账号正常,2-账号欠费,3-账号停服', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'UnsignedCount' => [ - 'description' => '非鉴权接口请求数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1523', - ], - 'MonthHttpsResolveCount' => [ - 'description' => '本月HTTPS类型解析总量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - ], - 'MonthFreeCount' => [ - 'description' => '每月免费解析量。'."\n" - ."\n" - .'即您每个自然月可以免费调用HTTPDNS服务进行域名解析的次数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1500000', - ], - 'DohEnabled' => [ - 'description' => '打开或关闭DoH功能', - 'type' => 'boolean', - 'example' => 'true', - ], - 'DohResolveAllEnabled' => [ - 'description' => '打开或关闭使用DoH解析全部域名', - 'type' => 'boolean', - 'example' => 'true', - ], - 'MonthDohResolveCount' => [ - 'description' => '月度DoH解析量', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10000', - ], - 'MonthHttpAesResolveCount' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'MonthHttpsAesResolveCount' => [ - 'type' => 'integer', - 'format' => 'int64', - ], + 'SignSecret' => ['description' => '签名密钥。', 'type' => 'string', 'example' => '50F9C40E****'], + 'SignedCount' => ['description' => '鉴权接口请求数。', 'type' => 'integer', 'format' => 'int64', 'example' => '611523'], + 'PackageCount' => ['description' => '资源包数(历史遗留字段,当前恒为0)', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'MonthResolveCount' => ['description' => '本月HTTP类型解析总量。', 'type' => 'integer', 'format' => 'int32', 'example' => '9927326'], + 'AccountId' => ['description' => '账户ID。', 'type' => 'string', 'example' => '1337****'], + 'UnsignedEnabled' => ['description' => '非鉴权接口是否开启。', 'type' => 'boolean', 'example' => 'true'], + 'UserStatus' => ['description' => 'HTTPDNS账号状态编码,1-账号正常,2-账号欠费,3-账号停服', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'UnsignedCount' => ['description' => '非鉴权接口请求数。', 'type' => 'integer', 'format' => 'int64', 'example' => '1523'], + 'MonthHttpsResolveCount' => ['description' => '本月HTTPS类型解析总量。', 'type' => 'integer', 'format' => 'int32', 'example' => '3'], + 'MonthFreeCount' => ['description' => '每月免费解析量。'."\n" + ."\n" + .'即您每个自然月可以免费调用HTTPDNS服务进行域名解析的次数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1500000'], + 'DohEnabled' => ['description' => '打开或关闭DoH功能', 'type' => 'boolean', 'example' => 'true'], + 'DohResolveAllEnabled' => ['description' => '打开或关闭使用DoH解析全部域名', 'type' => 'boolean', 'example' => 'true'], + 'MonthDohResolveCount' => ['description' => '月度DoH解析量', 'type' => 'integer', 'format' => 'int64', 'example' => '10000'], + 'MonthHttpAesResolveCount' => ['type' => 'integer', 'format' => 'int64', 'description' => ''], + 'MonthHttpsAesResolveCount' => ['type' => 'integer', 'format' => 'int64', 'description' => ''], ], ], ], + 'description' => '', ], ], ], - '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":"<GetAccountInfoResponse>\\n <RequestId>50F9C40E-188D-4208-BE2C-74271337****</RequestId>\\n <AccountInfo>\\n <SignSecret>50F9C40E****</SignSecret>\\n <SignedCount>611523</SignedCount>\\n <PackageCount>0</PackageCount>\\n <MonthResolveCount>9927326</MonthResolveCount>\\n <AccountId>1337****</AccountId>\\n <UnsignedEnabled>true</UnsignedEnabled>\\n <UserStatus>1</UserStatus>\\n <UnsignedCount>1523</UnsignedCount>\\n <MonthHttpsResolveCount>3</MonthHttpsResolveCount>\\n <MonthFreeCount>1500000</MonthFreeCount>\\n </AccountInfo>\\n</GetAccountInfoResponse>","errorExample":""}]', + 'staticInfo' => ['returnType' => 'synchronous'], 'title' => '获取账户信息', + 'summary' => '获取当前HTTPDNS账户信息。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'GetResolveCountSummary' => [ - 'summary' => '获取解析及计费统计信息,对应控制台中“计费相关”的页面功能。', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'httpdns:GetAccountInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'HTTPDNS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + '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":"<GetAccountInfoResponse>\\n <RequestId>50F9C40E-188D-4208-BE2C-74271337****</RequestId>\\n <AccountInfo>\\n <SignSecret>50F9C40E****</SignSecret>\\n <SignedCount>611523</SignedCount>\\n <PackageCount>0</PackageCount>\\n <MonthResolveCount>9927326</MonthResolveCount>\\n <AccountId>1337****</AccountId>\\n <UnsignedEnabled>true</UnsignedEnabled>\\n <UserStatus>1</UserStatus>\\n <UnsignedCount>1523</UnsignedCount>\\n <MonthHttpsResolveCount>3</MonthHttpsResolveCount>\\n <MonthFreeCount>1500000</MonthFreeCount>\\n </AccountInfo>\\n</GetAccountInfoResponse>","errorExample":""}]', + ], + 'GetResolveCountSummary' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -441,31 +295,18 @@ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREemas5UUCVR', - ], + 'abilityTreeNodes' => ['FEATUREemas5UUCVR'], ], 'parameters' => [ [ 'name' => 'Granularity', 'in' => 'query', - 'schema' => [ - 'description' => '统计数据粒度,可选值有**day**和**month**。', - 'type' => 'string', - 'required' => true, - 'example' => 'day', - ], + 'schema' => ['description' => '统计数据粒度,可选值有**day**和**month**。', 'type' => 'string', 'required' => true, 'example' => 'day'], ], [ 'name' => 'TimeSpan', 'in' => 'query', - 'schema' => [ - 'description' => '统计时间跨度。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '7', - ], + 'schema' => ['description' => '统计时间跨度。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '7'], ], ], 'responses' => [ @@ -474,67 +315,48 @@ 'description' => '请求结果。', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '3106FFF3-3612-542A-B2CD-3CF4CD48****', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '3106FFF3-3612-542A-B2CD-3CF4CD48****'], 'ResolveSummary' => [ 'description' => '统计结果。', 'type' => 'object', 'properties' => [ - 'Https6' => [ - 'description' => 'ipv6 https解析次数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '123', - ], - 'Http6' => [ - 'description' => 'ipv6 http解析次数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '123', - ], - 'Http' => [ - 'description' => 'ipv4 http解析次数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '123', - ], - 'Https' => [ - 'description' => 'ipv4 https解析次数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '123', - ], - 'Doh' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'HttpAes' => [ - 'type' => 'string', - ], - 'HttpsAes' => [ - 'type' => 'string', - ], + 'Https6' => ['description' => 'ipv6 https解析次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '123'], + 'Http6' => ['description' => 'ipv6 http解析次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '123'], + 'Http' => ['description' => 'ipv4 http解析次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '123'], + 'Https' => ['description' => 'ipv4 https解析次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '123'], + 'Doh' => ['type' => 'integer', 'format' => 'int64', 'description' => ''], + 'HttpAes' => ['type' => 'string', 'description' => ''], + 'HttpsAes' => ['type' => 'string', 'description' => ''], ], ], ], ], ], ], - '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":"<GetResolveCountSummaryResponse>\\n <RequestId>3106FFF3-3612-542A-B2CD-3CF4CD48A4A5</RequestId>\\n <ResolveSummary>\\n <Https6>123</Https6>\\n <Http6>123</Http6>\\n <Http>123</Http>\\n <Https>123</Https>\\n </ResolveSummary>\\n</GetResolveCountSummaryResponse>","errorExample":""}]', 'title' => '获取解析及计费统计信息', - ], - 'GetResolveStatistics' => [ - 'methods' => [ - 'post', - 'get', + 'summary' => '获取解析及计费统计信息,对应控制台中“计费相关”的页面功能。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'httpdns:GetResolveCountSummary', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'HTTPDNS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + '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":"<GetResolveCountSummaryResponse>\\n <RequestId>3106FFF3-3612-542A-B2CD-3CF4CD48A4A5</RequestId>\\n <ResolveSummary>\\n <Https6>123</Https6>\\n <Http6>123</Http6>\\n <Http>123</Http>\\n <Https>123</Https>\\n </ResolveSummary>\\n</GetResolveCountSummaryResponse>","errorExample":""}]', + ], + 'GetResolveStatistics' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -547,47 +369,22 @@ [ 'name' => 'DomainName', 'in' => 'query', - 'schema' => [ - 'description' => '需要获取统计信息的域名。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'www.aliyun.com', - ], + 'schema' => ['description' => '需要获取统计信息的域名。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'www.aliyun.com'], ], [ 'name' => 'Granularity', 'in' => 'query', - 'schema' => [ - 'description' => '数据粒度,可选值:**day**和**month**。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'month', - ], + 'schema' => ['description' => '数据粒度,可选值:**day**和**month**。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'month'], ], [ 'name' => 'TimeSpan', 'in' => 'query', - 'schema' => [ - 'description' => '时间片长度。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'example' => '2', - ], + 'schema' => ['description' => '时间片长度。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '2'], ], [ 'name' => 'ProtocolName', 'in' => 'query', - 'schema' => [ - 'description' => '解析的协议类型,可选值:http(默认)和https。', - 'type' => 'string', - 'required' => false, - 'example' => 'https', - 'default' => 'http', - ], + 'schema' => ['description' => '解析的协议类型,可选值:http(默认)和https。', 'type' => 'string', 'required' => false, 'example' => 'https', 'default' => 'http'], ], ], 'responses' => [ @@ -595,11 +392,7 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '50F9C40E-188D-B00B-BE2C-7427E531****', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '50F9C40E-188D-B00B-BE2C-7427E531****'], 'DataPoints' => [ 'type' => 'object', 'itemNode' => true, @@ -610,44 +403,50 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'Time' => [ - 'description' => '解析时间。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1488297600', - ], - 'Count' => [ - 'description' => '请求数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '9703', - ], + 'Time' => ['description' => '解析时间。', 'type' => 'integer', 'format' => 'int32', 'example' => '1488297600'], + 'Count' => ['description' => '请求数。', 'type' => 'integer', 'format' => 'int32', 'example' => '9703'], ], + 'description' => '', ], ], ], + 'description' => '', ], ], + 'description' => '', ], ], ], - '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":"<?xml version=\'1.0\' encoding=\'UTF-8\'?>\\n<GetResolveStatisticsResponse>\\n <RequestId>50F9C40E-1816-B00B-BE2C-7427E5316481</RequestId>\\n <DataPoints>\\n <DataPoint>\\n <Time>1488297600</Time>\\n <Count>9703</Count>\\n </DataPoint>\\n <DataPoint>\\n <Time>1490976000</Time>\\n <Count>9390</Count>\\n </DataPoint>\\n </DataPoints>\\n</GetResolveStatisticsResponse>","errorExample":""}]', 'title' => '获取解析统计信息', 'summary' => '获取某个域名解析请求的统计信息。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetResolveStatistics'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => '', + 'ramAction' => [ + 'action' => 'httpdns:GetResolveStatistics', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'HTTPDNS', 'resourceType' => 'Domain', 'arn' => 'acs:httpdns:*:{#accountId}:domain/{#DomainName}'], + ], + ], + ], + ], + '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":"<?xml version=\'1.0\' encoding=\'UTF-8\'?>\\n<GetResolveStatisticsResponse>\\n <RequestId>50F9C40E-1816-B00B-BE2C-7427E5316481</RequestId>\\n <DataPoints>\\n <DataPoint>\\n <Time>1488297600</Time>\\n <Count>9703</Count>\\n </DataPoint>\\n <DataPoint>\\n <Time>1490976000</Time>\\n <Count>9390</Count>\\n </DataPoint>\\n </DataPoints>\\n</GetResolveStatisticsResponse>","errorExample":""}]', ], 'ListDomains' => [ 'summary' => '根据传入参数列出用户的域名及解析次数。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -659,53 +458,28 @@ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREemas5UUCVR', - ], + 'abilityTreeNodes' => ['FEATUREemas5UUCVR'], ], 'parameters' => [ [ 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'description' => '当前页数,起始值:1,默认值:1。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '1', - 'example' => '1', - 'default' => '1', - ], + 'schema' => ['description' => '当前页数,起始值:1,默认值:1。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'example' => '1', 'default' => '1'], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '分页查询时设置的每页行数,最大值为:100,默认值:20。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '500', - 'minimum' => '1', - 'example' => '20', - 'default' => '20', - ], + 'schema' => ['description' => '分页查询时设置的每页行数,最大值为:100,默认值:20。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '500', 'minimum' => '1', 'example' => '20', 'default' => '20'], ], [ 'name' => 'Search', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false, 'description' => ''], ], [ 'name' => 'WithoutMeteringData', 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'schema' => ['type' => 'boolean', 'required' => false, 'description' => ''], ], ], 'responses' => [ @@ -713,29 +487,10 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'PageSize' => [ - 'description' => '本次查询获取的域名数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '5', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '50F9C40E-188D-4208-BE2C-7427E531****', - ], - 'PageNumber' => [ - 'description' => '域名列表总数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'TotalCount' => [ - 'description' => '域名列表总数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '18', - ], + 'PageSize' => ['description' => '本次查询获取的域名数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '5'], + 'RequestId' => ['description' => '请求ID。', '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, @@ -746,61 +501,27 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'ResolvedHttps6' => [ - 'description' => 'HTTPS-IPv6解析次数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '20', - ], - 'Resolved' => [ - 'description' => 'HTTP-IPv4解析次数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'Resolved6' => [ - 'description' => 'HTTP-IPv6解析次数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '20', - ], - 'DomainName' => [ - 'description' => '域名名称。', - 'type' => 'string', - 'example' => 'www.example.com', - ], - 'ResolvedHttps' => [ - 'description' => 'HTTPS-IPv4解析次数。', - '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', - ], + 'ResolvedHttps6' => ['description' => 'HTTPS-IPv6解析次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '20'], + 'Resolved' => ['description' => 'HTTP-IPv4解析次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'Resolved6' => ['description' => 'HTTP-IPv6解析次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '20'], + 'DomainName' => ['description' => '域名名称。', 'type' => 'string', 'example' => 'www.example.com'], + 'ResolvedHttps' => ['description' => 'HTTPS-IPv4解析次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'TimeModified' => ['type' => 'integer', 'format' => 'int64', 'description' => ''], + 'ResolvedDoh' => ['type' => 'integer', 'format' => 'int64', 'description' => ''], + 'ResolveHttpAes' => ['type' => 'integer', 'format' => 'int64', 'description' => ''], + 'ResolveHttpsAes' => ['type' => 'integer', 'format' => 'int64', 'description' => ''], ], + 'description' => '', ], ], ], + 'description' => '', ], ], + 'description' => '', ], ], ], - '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":"<?xml version=\'1.0\' encoding=\'UTF-8\'?>\\n<ListDomainsResponse>\\n <RequestId>50F9C40E-188D-4208-BE2C-7427E5316481</RequestId>\\n <TotalCount>18</TotalCount>\\n <PageNumber>1</PageNumber>\\n <PageSize>5</PageSize>\\n <DomainInfos>\\n <DomainInfo>\\n <DomainName>www.aliyun.com</DomainName>\\n <Resolved>10</Resolved>\\n <ResolvedHttps>20</ResolvedHttps>\\n </DomainInfo>\\n <DomainInfo>\\n <DomainName>bbs.aliyun.com</DomainName>\\n <Resolved>10</Resolved>\\n <ResolvedHttps>20</ResolvedHttps>\\n </DomainInfo>\\n <DomainInfo>\\n <DomainName>www.taobao.com</DomainName>\\n <Resolved>10</Resolved>\\n <ResolvedHttps>20</ResolvedHttps>\\n </DomainInfo>\\n <DomainInfo>\\n <DomainName>www.tmall.com</DomainName>\\n <Resolved>10</Resolved>\\n <ResolvedHttps>20</ResolvedHttps>\\n </DomainInfo>\\n <DomainInfo>\\n <DomainName>alipay.com</DomainName>\\n <Resolved>10</Resolved>\\n <ResolvedHttps>20</ResolvedHttps>\\n </DomainInfo>\\n </DomainInfos>\\n</ListDomainsResponse>","errorExample":""}]', 'title' => '获取用户域名及解析次数', 'description' => '# 接口说明'."\n" ."\n" @@ -809,16 +530,32 @@ 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListDomains'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'httpdns:ListDomains', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'HTTPDNS', 'resourceType' => 'Domain', 'arn' => 'acs:httpdns:*:{#accountId}:domain/*'], + ], + ], + ], + ], + '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":"<?xml version=\'1.0\' encoding=\'UTF-8\'?>\\n<ListDomainsResponse>\\n <RequestId>50F9C40E-188D-4208-BE2C-7427E5316481</RequestId>\\n <TotalCount>18</TotalCount>\\n <PageNumber>1</PageNumber>\\n <PageSize>5</PageSize>\\n <DomainInfos>\\n <DomainInfo>\\n <DomainName>www.aliyun.com</DomainName>\\n <Resolved>10</Resolved>\\n <ResolvedHttps>20</ResolvedHttps>\\n </DomainInfo>\\n <DomainInfo>\\n <DomainName>bbs.aliyun.com</DomainName>\\n <Resolved>10</Resolved>\\n <ResolvedHttps>20</ResolvedHttps>\\n </DomainInfo>\\n <DomainInfo>\\n <DomainName>www.taobao.com</DomainName>\\n <Resolved>10</Resolved>\\n <ResolvedHttps>20</ResolvedHttps>\\n </DomainInfo>\\n <DomainInfo>\\n <DomainName>www.tmall.com</DomainName>\\n <Resolved>10</Resolved>\\n <ResolvedHttps>20</ResolvedHttps>\\n </DomainInfo>\\n <DomainInfo>\\n <DomainName>alipay.com</DomainName>\\n <Resolved>10</Resolved>\\n <ResolvedHttps>20</ResolvedHttps>\\n </DomainInfo>\\n </DomainInfos>\\n</ListDomainsResponse>","errorExample":""}]', ], 'RefreshResolveCache' => [ 'summary' => '刷新域名缓存。', 'path' => '', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -826,12 +563,7 @@ ], 'operationType' => 'write', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'free', - 'tenantRelevance' => 'publicInformation', - ], + 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'], 'parameters' => [ [ 'name' => 'Domains', @@ -840,12 +572,7 @@ 'schema' => [ 'description' => '要刷新的域名列表', 'type' => 'array', - 'items' => [ - 'description' => '域名', - 'type' => 'string', - 'required' => false, - 'example' => 'www.aliyun.com', - ], + 'items' => ['description' => '域名', 'type' => 'string', 'required' => false, 'example' => 'www.aliyun.com'], 'required' => false, ], ], @@ -857,50 +584,173 @@ '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' => '请求ID。', - 'type' => 'string', - 'example' => 'FA8C2599-362D-4113-8FB4-E88A40C2****', - ], + 'Code' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '200'], + 'Message' => ['description' => '响应信息。', 'type' => 'string', 'example' => 'success'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'FA8C2599-362D-4113-8FB4-E88A40C2****'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'RamInsufficientPermission', - 'errorMessage' => 'You are not authorized to do this operation.', - ], + ['errorCode' => 'RamInsufficientPermission', 'errorMessage' => 'You are not authorized to do this operation.', 'description' => 'RAM权限不足'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"FA8C2599-362D-4113-8FB4-E88A40C2****\\"\\n}","type":"json"}]', + 'staticInfo' => ['returnType' => 'synchronous'], 'title' => '刷新域名解析缓存', 'requestParamsDescription' => '不支持泛域名的刷新', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'httpdns:RefreshResolveCache', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'HTTPDNS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + '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' => 'ap-southeast-1', 'regionName' => '新加坡', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'httpdns.ap-southeast-1.aliyuncs.com', 'endpoint' => 'httpdns.ap-southeast-1.aliyuncs.com', 'vpc' => 'httpdns-vpc.ap-southeast-1.aliyuncs.com'], + ['regionId' => 'cn-hangzhou', 'regionName' => '华东1(杭州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'httpdns-api.aliyuncs.com', 'endpoint' => 'httpdns-api.aliyuncs.com', 'vpc' => ''], + ], + 'errorCodes' => [ + ['code' => 'NoSuchVersion', 'message' => 'The specified version does not exist.', 'http_code' => null, 'description' => '无效的版本'], + ['code' => 'RamInsufficientPermission', 'message' => 'You are not authorized to do this operation.', 'http_code' => 400, 'description' => 'RAM权限不足'], + ['code' => 'UserNotFound', 'message' => 'The user is not found.', 'http_code' => 400, 'description' => '未找到该用户信息'], + ], + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetResolveStatistics'], + ['threshold' => '-1', 'countWindow' => 1, 'regionId' => '*'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListDomains'], + ], + ], + 'ram' => [ + 'productCode' => 'HTTPDNS', + 'productName' => '移动研发平台', + 'ramCodes' => ['httpdns'], + 'ramLevel' => '资源级', + 'ramConditions' => [], + 'ramActions' => [ + [ + 'apiName' => 'GetResolveStatistics', + 'description' => '获取解析统计信息', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'httpdns:GetResolveStatistics', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'HTTPDNS', 'resourceType' => 'Domain', 'arn' => 'acs:httpdns:*:{#accountId}:domain/{#DomainName}'], + ], + ], + ], + [ + 'apiName' => 'DescribeDomains', + 'description' => '获取用户的域名列表', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'httpdns:DescribeDomains', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'HTTPDNS', 'resourceType' => 'Domain', 'arn' => 'acs:httpdns:*:{#accountId}:domain/*'], + ], + ], + ], + [ + 'apiName' => 'RefreshResolveCache', + 'description' => '刷新域名解析缓存', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'httpdns:RefreshResolveCache', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'HTTPDNS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteDomain', + 'description' => '删除域名', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'httpdns:DeleteDomain', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'HTTPDNS', 'resourceType' => 'Domain', 'arn' => 'acs:httpdns:*:{#accountId}:domain/{#DomainName}'], + ], + ], + ], + [ + 'apiName' => 'AddDomain', + 'description' => '添加域名接口', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'httpdns:AddDomain', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'HTTPDNS', 'resourceType' => 'Domain', 'arn' => 'acs:httpdns:*:{#accountId}:domain/{#DomainName}'], + ], + ], + ], + [ + 'apiName' => 'GetAccountInfo', + 'description' => '获取账户信息', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'httpdns:GetAccountInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'HTTPDNS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetResolveCountSummary', + 'description' => '获取解析及计费统计信息', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'httpdns:GetResolveCountSummary', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'HTTPDNS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListDomains', + 'description' => '获取用户域名及解析次数', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'httpdns:ListDomains', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'HTTPDNS', 'resourceType' => 'Domain', 'arn' => 'acs:httpdns:*:{#accountId}:domain/*'], + ], + ], + ], ], - [ - 'regionId' => 'cn-hangzhou', - 'endpoint' => 'httpdns-api.aliyuncs.com', + 'resourceTypes' => [ + ['validationType' => 'always', 'resourceType' => 'Domain', 'arn' => 'acs:httpdns:*:{#accountId}:domain/{#DomainName}'], + ['validationType' => 'always', 'resourceType' => 'Domain', 'arn' => 'acs:httpdns:*:{#accountId}:domain/*'], ], ], ]; |
