API :
http://SERVERIP:PORT/api/json/v2/nfadevice/getCapacityPlanData
类型
GET
参数
apiKey | 唯一密匙 |
设备ID | 接口id/接口组 id/ip组 id |
idIP组 | true(当资源类型为IP组时) |
类型 | 速度/容量/百分比/数据包 |
数据 | 流入/流出 |
过滤器开始时间 | 整型(0-24) |
过滤器开始时间 | 整型(0-24) |
exweekend | true/false |
时间段 | 每小时/每6小时/每天/今天/昨天/按周/按月/按季度/自定义 |
粒度 | 1/5 |
示例 API :
http://testpc:8080/api/json/v2/nfadevice/getCapacityPlanData?apiKey=407ef7c282fa0ace024d34f6cc8e7ba1&DeviceID=5000019&TimeFrame=today&Type=speed&filterStTime=00&filterEdTime=00&exweekend
示例输出:
{
"hdrTitle": 127.0.0.1 ( IfIndex1 ) ,
"ApplicationIN":[
[
],
[
],
[
],
[
],
[
],
[
],
[
],
[
],
[
],
[
],
[
]
],
"AppGrowthOUT":[
[
],
[
]
],
"AppGrowthIN":[
[
],
[
]
],
"growthOUTYaxis": "in Kbps" ,
"GraphData":[
{
"data":[
[
],
[
],
[
]
],
"yaxiscolumnorder":[
]
},
{
"data":[
[
],
[
],
[
]
],
"yaxiscolumnorder":[
]
}
],
"AvgGraph":[
{
"data":[
[
]
],
"yaxiscolumnorder":[
]
},
{
"data":[
[
]
],
"yaxiscolumnorder":[
]
}
],
"AppGrowthGraphIN":[
{