REST APIキャパシティプランニングレポート
本ページではキャパシティプランニングレポートのREST APIについて説明します。
API
http://SERVERIP:PORT/api/json/v2/nfadevice/getCapacityPlanData
| 例: http://testpc:8080/api/json/v2/nfadevice/getCapacityPlanData?apiKey=407ef7c282fa0ace024d34f6cc8e7ba1&DeviceID=5000019&TimeFrame=today&Type=speed&filterStTime=00&filterEdTime=00&exweekend |
メソッド
GET
パラメーター
| apiKey | (一意のキー) |
| DeviceID | (インターフェースID)/(IPグループID)/(インターフェースグループID) |
| idIPGroup | true(リソースタイプがIPグループの場合) |
| Type | speed/volume/percentage/packets |
| Data | IN/OUT |
| filterStTime | (0~24の整数) |
| filterEdTime | (0~24の整数) |
| exweekend | true/false |
| TimeFrame | hourly/6Hour/Daily/today/yesterday/weekly/monthly/Quarterly/custom |
| granularity | 1/5 |
出力例
|
{ "hdrTitle": 127.0.0.1 ( IfIndex1 ) , "ApplicationIN":[ [
], [
], [
], [
], [
], [
], [
], [
], [
], [
], [
] ], "AppGrowthOUT":[ [
], [
] ], "AppGrowthIN":[ [
], [
] ], "growthOUTYaxis": "in Kbps" , "GraphData":[ {
"data":[ [ ], [ ], [ ] ], "yaxiscolumnorder":[ ] }, {
"data":[ [ ], [ ], [ ] ], "yaxiscolumnorder":[ ] } ], "AvgGraph":[ {
"data":[ [ ] ], "yaxiscolumnorder":[ ] }, {
"data":[ [ ] ], "yaxiscolumnorder":[ ] } ], "AppGrowthGraphIN":[ {
|