Get the bandwidth usage a DNA's WANs, reported in bytes.
The time period is configurable via the window
parameter, and defaults to one day. This is a rolling
window, where the upper bound is the time of the request.
The granularity of the data correlates to the time period requested:
> If the window is equal to one hour, you will receive data aggregated by the minute.
> If the window is greater than one hour, you will receive data aggregated by the hour.
> If the window is greater than one week, you will receive data aggregated by the day.
In general, data will not be spaced perfectly evenly. Requesting one week of data will usually return more than
7 data points, as we will send the results for this day so far, as well as a corresponding portion of the 7th
day prior.
We interpret calendar days, weeks, etc. based on GMT (Greenwich Mean Time), which currently corresponds to UTC.
It is also possible, although highly unlikely, that datapoints are missing. Please contact tech support if you
feel that is the case and we will investigate.
Finally, the granularity is determined by the actual size of the window, and not the format used to request
it. For example, requesting '5000h' (five thousand hours) of data will still result in daily chunks.
If no data is available, an empty array is returned.
Example Response
{
"vlan1": {
"1488745067": {
"up": 1867,
"down": 65142
},
"1489004267": {
"up": 1484,
"down": 11461
},
...
...
]