Get Protected Domain Garbage/Valid Statistics (Since Last Duration)
This request returns “garbage to valid data in cloud” statistics of a protected domain specified by ID spanning the period of time [(current time – <duration>) to current time ].
Usage:
GET on /domains/{id}/statistics/garbagetovalid?duration=<time>&max=<num_data_points>
Notes:
* Time is in milliseconds.
* The time period of the report is calculated as follows:
starting: (current time – <duration>)
ending: (current time)
* num_data_points is the number of data points requested.
Request URL:
https://<MS hostname>/jss/domains/{id}/statistics/garbagetovalid?max=1200&duration=86400000
Header:
fios-session:vc_sessionId
Request:
N/A
Response:
{
"unixTimeMs": [1562958488779, 1562958788857, 1562959088105],
"garbageKB": [31457282, 37434163, 40789606],
"validKB": [67937239, 68262297, 72876032],
"pitrLogKB": [79280132, 79959452, 82338654],
"totalKB": [178674653, 185655912, 196004292],
"start": 1562957595033,
"end": 1562959388093,
"trimmed": false
}