api 用量查询 /v1/monitor/usage 1个月前发布3606 GET/v1/monitor/usage调试 type string required 可选值为bandwidth、traffic cate string 类别,可选值为site,stream res string 当cate为site时,res填域名,多个域名空格分隔;当cate为stream时,res填端口/协议,如88/TCP,89/UDP,多个端口空格分隔,如88/TCP 89/UDP。 user_package string 根据用户套餐统计,填用户套餐ID,多个ID空格分隔 start string 起始时间,如2021-10-01 end string 终止时间,如2021-11-01 返回结果 { "code": 0, "data": [{ "date": "2021-11-11", "value": 1816 }, { "date": "2021-11-12", "value": 0 }, { "date": "2021-11-13", "value": 0 }, { "date": "2021-11-14", "value": 0 }, { "date": "2021-11-15", "value": 0 }, { "date": "2021-11-16", "value": 17319 }, { "date": "2021-11-17", "value": 231961796 }, { "date": "2021-11-18", "value": 0 }, { "date": "2021-11-19", "value": 0 }, { "date": "2021-11-20", "value": 0 }, { "date": "2021-11-21", "value": 0 }, { "date": "2021-11-22", "value": 0 }, { "date": "2021-11-23", "value": 0 }, { "date": "2021-11-24", "value": 0 }, { "date": "2021-11-25", "value": 0 }, { "date": "2021-11-26", "value": 0 }, { "date": "2021-11-27", "value": 0 }], "max_95_value": 0, "max_value": 120437180, "msg": "" } 类型为bandwidth时,返回值为字节/秒,为traffic时,返回值为字节 © 版权声明文章版权归作者所有,转载请预留文章地址。s.wbsun.net
暂无评论内容