unfortunately that endpoint doesn't seem to work. I did a quick test from the dev portal and i just get
"Failed to fetch"
At the moment I am using /organizations/{organizationId}/devices/uplinksLossAndLatency
from platform - devices - uplinks.
It returns this;
{ "networkId": "N_24329156",
"serial": "Q234-ABCD-5678",
"uplink": "wan1",
"ip": "1.2.3.4",
"timeSeries":
[ { "ts": "2019-01-31T18:46:13Z",
"lossPercent": 5.3,
"latencyMs": 194.9 }
which is nice - i get all data for every device and wan link for every network all in 1 single call...buuuuut
on checking the data, I noticed it was saying 0% loss for a netowrk that had been down for 3 hours 😞
so not sure its reliable.