~~~[api] get:/v1/monitor/usage *string:type#可选值为bandwidth、traffic cate#类别,可选值为site,stream res#当cate为site时,res填域名,多个域名空格分隔;当cate为stream时,res填端口/协议,如88/TCP,89/UDP,多个端口空格分隔,如88/TCP 89/UDP。 user_package#根据用户套餐统计,填用户套餐ID,多个ID空格分隔 start#起始时间,如2021-10-01 end#终止时间,如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时,返回值为字节 ~~~