阿里云
发表主题 回复主题
  • 938阅读
  • 0回复

[教程]如何查询区域运营商资源信息?

级别: 论坛粉丝
发帖
640
云币
1286
e(5 :XHe  
TL29{'4V  
类型描述
LocationAndISPJsonString数据json串
8RA]h?$$J  
%gd {u\h^  
特殊错误 Xscm>.di  
^PNE6  
错误代码描述Http 状态码语义
InvalidDomainNames.MalformedSpecified domainNames is malformed.400域名不合法
InvalidStartTime.MalformedSpecified StartTime is malformed.400开始时间错误
InvalidEndTime.MalformedSpecified EndTime is malformed.400结束时间错误
InvalidTime.ValueNotSupportedStartTime or EndTime is miss match.400开始时间和结束时间不匹配
LossParamsDomainNames, StartTime and EndTime should not be empty or domainName have been registered.400缺少参数
InvalidParamsYour parameters is invalid.400参数不合法
k3pY3TA@w+  
]uikE2nn  
示例 B7*^rbI:X  
\!+#9sq0  
q& :UP  
请求示例:
  1. http://cdn.aliyuncs.com?Action=DescribeRangeDataByLocateAndIspService&DomainNames=abc.com
  2. &LocationNames=liaoning,guangxi
  3. &IspNames=unicom,telecom
  4. &StartTime=2016-08-01T22:00:00Z
  5. &StartTime=2016-08-02T02:00:00Z
  6. &<公共请求参数>
lBYc(cr  
a/ k0(  
返回示例: EAdr}io  
JSON格式
  1. {
  2.         "1472659200": {
  3.             "天津市": {
  4.                 "电信": {
  5.                     "bandwidth": 9889849.592,
  6.                     "pv": 5739,
  7.                     "hit_rate": 0,
  8.                     "http_codes": {
  9.                         "200": 5675,
  10.                         "206": 5,
  11.                         "302": 5,
  12.                         "304": 45,
  13.                         "400": 1,
  14.                         "403": 8,
  15.                         "404": 0,
  16.                         "405": 0,
  17.                         "408": 0,
  18.                         "412": 0,
  19.                         "416": 0,
  20.                         "500": 0,
  21.                         "501": 0,
  22.                         "502": 0,
  23.                         "503": 0,
  24.                         "504": 0,
  25.                         "000": 0
  26.                     },
  27.                     "rt": 0
  28.                 },
  29.                 "联通":{},
  30.                 "移动":{}
  31.             },
  32.             "北京市": {
  33.                 "电信": {
  34.                     "bandwidth": 9889849.592,
  35.                     "pv": 5739,
  36.                     "hit_rate": 0,
  37.                     "http_codes": {
  38.                         "200": 5675,
  39.                         "206": 5,
  40.                         "302": 5,
  41.                         "304": 45,
  42.                         "400": 1,
  43.                         "403": 8,
  44.                         "404": 0,
  45.                         "405": 0,
  46.                         "408": 0,
  47.                         "412": 0,
  48.                         "416": 0,
  49.                         "500": 0,
  50.                         "501": 0,
  51.                         "502": 0,
  52.                         "503": 0,
  53.                         "504": 0,
  54.                         "000": 0
  55.                     },
  56.                     "rt": 0
  57.                 },
  58.                 "联通":{},
  59.                 "移动":{}
  60.             }
  61.         },
  62.         "1472659500": {
  63.             "天津市": {
  64.                 "电信": {
  65.                     "bandwidth": 7024681.44,
  66.                     "pv": 5819,
  67.                     "hit_rate": 0,
  68.                     "http_codes": {
  69.                         "200": 5716,
  70.                         "206": 11,
  71.                         "302": 3,
  72.                         "304": 72,
  73.                         "400": 1,
  74.                         "403": 16,
  75.                         "404": 0,
  76.                         "405": 0,
  77.                         "408": 0,
  78.                         "412": 0,
  79.                         "416": 0,
  80.                         "500": 0,
  81.                         "501": 0,
  82.                         "502": 0,
  83.                         "503": 0,
  84.                         "504": 0,
  85.                         "000": 0
  86.                     },
  87.                     "rt": 0
  88.                 },
  89.                 "联通":{},
  90.                 "移动":{}
  91.             }
  92.         }
  93.     },
  94.     "description": "Ok",
  95.     "retCode": 0
  96. }
~6<'cun@x  
发表主题 回复主题
« 返回列表上一主题下一主题

限100 字节
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
 
验证问题: 阿里云官网域名是什么? 正确答案:www.aliyun.com
上一个 下一个