开发者社区> 问答> 正文

如何查询区域运营商资源信息?



类型描述
LocationAndISPJsonString数据json串


特殊错误码

错误代码描述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参数不合法


示例


请求示例: http://cdn.aliyuncs.com?Action=DescribeRangeDataByLocateAndIspService&DomainNames=abc.com
&LocationNames=liaoning,guangxi
&IspNames=unicom,telecom
&StartTime=2016-08-01T22:00:00Z
&StartTime=2016-08-02T02:00:00Z
&<公共请求参数>


返回示例:
JSON格式 {
        "1472659200": {
            "天津市": {
                "电信": {
                    "bandwidth": 9889849.592,
                    "pv": 5739,
                    "hit_rate": 0,
                    "http_codes": {
                        "200": 5675,
                        "206": 5,
                        "302": 5,
                        "304": 45,
                        "400": 1,
                        "403": 8,
                        "404": 0,
                        "405": 0,
                        "408": 0,
                        "412": 0,
                        "416": 0,
                        "500": 0,
                        "501": 0,
                        "502": 0,
                        "503": 0,
                        "504": 0,
                        "000": 0
                    },
                    "rt": 0
                },
                "联通":{},
                "移动":{}
            },
            "北京市": {
                "电信": {
                    "bandwidth": 9889849.592,
                    "pv": 5739,
                    "hit_rate": 0,
                    "http_codes": {
                        "200": 5675,
                        "206": 5,
                        "302": 5,
                        "304": 45,
                        "400": 1,
                        "403": 8,
                        "404": 0,
                        "405": 0,
                        "408": 0,
                        "412": 0,
                        "416": 0,
                        "500": 0,
                        "501": 0,
                        "502": 0,
                        "503": 0,
                        "504": 0,
                        "000": 0
                    },
                    "rt": 0
                },
                "联通":{},
                "移动":{}
            }
        },
        "1472659500": {
            "天津市": {
                "电信": {
                    "bandwidth": 7024681.44,
                    "pv": 5819,
                    "hit_rate": 0,
                    "http_codes": {
                        "200": 5716,
                        "206": 11,
                        "302": 3,
                        "304": 72,
                        "400": 1,
                        "403": 16,
                        "404": 0,
                        "405": 0,
                        "408": 0,
                        "412": 0,
                        "416": 0,
                        "500": 0,
                        "501": 0,
                        "502": 0,
                        "503": 0,
                        "504": 0,
                        "000": 0
                    },
                    "rt": 0
                },
                "联通":{},
                "移动":{}
            }
        }
    },
    "description": "Ok",
    "retCode": 0
}

展开
收起
青衫无名 2017-10-24 11:27:56 2408 0
0 条回答
写回答
取消 提交回答
问答分类:
问答地址:
问答排行榜
最热
最新

相关电子书

更多
《用管控策略设定多账号组织全局访问边界》 立即下载
商业流量的精准在线分配 立即下载
面向关键信息基础设施的等级保护 立即下载