f50-read). ubus: f50.traffic get.Authorization: ********************curl --location --request POST '/f50.traffic/get' \
--header 'Authorization: <api-key>'ok with data, or ok: false with a code (always HTTP 200; ubus itself only fails for a session or a missing object, as JSON-RPC errors).{
"data": {
"available": true,
"cap": {
"bytes": 0,
"cut": true,
"cut_active": true,
"level": "string",
"warn": 0
},
"clock": true,
"cycle": {
"days_left": 0,
"last": "string",
"rx": 0,
"start": "string",
"tx": 0,
"used": 0
},
"cycles": [
{
"last": "string",
"rx": 0,
"start": "string",
"tx": 0,
"used": 0
}
],
"days": [
{
"date": "string",
"rx": 0,
"tx": 0
}
],
"device": "string",
"now": 0,
"pending": {
"rx": 0,
"tx": 0
},
"plan": "string",
"reset_day": 0,
"since": 0,
"today": {
"date": "string",
"rx": 0,
"tx": 0
}
},
"ok": true
}