内容分发网络 CDN-按区域运营商查询域名统计数据:响应示例

时间:2024-04-12 11:08:45

响应示例

状态码: 200

正常响应

  • 不分组 域名 详情数据

    {
      "result" : {
        "flux" : [ 0, 1, 2 ]
      }
    }
  • 按域名分组域名详情数据

    {
      "group_by" : "domain",
      "result" : {
        "www.test1.com" : {
          "flux" : [ 0, 1, 2 ]
        },
        "www.test2.com" : {
          "flux" : [ 0, 1, 2 ]
        }
      }
    }
  • 按国家分组域名详情数据

    {
      "group_by" : "country",
      "result" : {
        "cn" : {
          "flux" : [ 0, 1, 2 ]
        },
        "jp" : {
          "flux" : [ 0, 1, 2 ]
        }
      }
    }
  • 按省份分组域名详情数据

    {
      "group_by" : "province",
      "result" : {
        "sichuan" : {
          "flux" : [ 0, 1, 2 ]
        },
        "hubei" : {
          "flux" : [ 0, 1, 2 ]
        }
      }
    }
  • 按运营商分组域名详情数据

    {
      "group_by" : "isp",
      "result" : {
        "dianxin" : {
          "flux" : [ 0, 1, 2 ]
        },
        "liantong" : {
          "flux" : [ 0, 1, 2 ]
        }
      }
    }
  • 按域名、国家分组域名详情数据

    {
      "group_by" : "domain,country",
      "result" : {
        "www.test1.com" : {
          "cn" : {
            "flux" : [ 0, 1, 2 ]
          },
          "gb" : {
            "flux" : [ 0, 1, 2 ]
          }
        },
        "www.test2.com" : {
          "cn" : {
            "flux" : [ 0, 1, 2 ]
          },
          "gb" : {
            "flux" : [ 0, 1, 2 ]
          }
        }
      }
    }
  • 按域名、运营商分组域名详情数据

    {
      "group_by" : "domain,isp",
      "result" : {
        "www.test1.com" : {
          "dianxin" : {
            "req_num" : [ 0, 1, 2 ]
          }
        },
        "www.test2.com" : {
          "dianxin" : {
            "req_num" : [ 0, 1, 2 ]
          }
        }
      }
    }
  • 不分组域名总体数据

    {
      "result" : {
        "flux" : 1024
      }
    }
  • 按域名分组域名总体数据

    {
      "group_by" : "domain",
      "result" : {
        "www.test1.com" : {
          "flux" : 1024
        },
        "www.test2.com" : {
          "flux" : 1024
        }
      }
    }
  • 按国家分组域名总体数据

    {
      "group_by" : "country",
      "result" : {
        "cn" : {
          "flux" : 1024
        },
        "jp" : {
          "flux" : 1024
        }
      }
    }
support.huaweicloud.com/api-cdn/ShowDomainLocationStats.html