f50-read). ubus: f50.status get.Authorization: ********************curl --location --request POST '/f50.status/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": {
"data": {
"data": {
"addresses": [
"string"
],
"apn": "string",
"auth": "string",
"bytes": {
"rx": 0,
"tx": 0
},
"device": "string",
"dns": null,
"error": null,
"hold": null,
"iccid_bound": true,
"interface": "string",
"password_set": true,
"pdp": "string",
"relay": true,
"roaming": true,
"roaming_held": true,
"since_s": null,
"slot": 0,
"state": "string",
"username": "string"
},
"ok": true
},
"modem": {
"data": {
"age_ms": 0,
"bars": 0,
"cfun": 0,
"error": null,
"operator": "string",
"radio_allowed": true,
"rat": "string",
"registered": true,
"restarting": true,
"roaming": true,
"signal": {
"bars": 0,
"rsrp": 0,
"rsrq": 0,
"rssi": null,
"sinr": 0
},
"sim_state": "string",
"slot": 0
},
"ok": true
},
"sim": {
"data": {
"active": 0,
"busy": true,
"default": 0,
"live_switch": true,
"radio": {
"all_off": true,
"enabled": [
true
]
},
"reboot_required": true,
"slot2_supported": true,
"state": "string"
},
"ok": true
},
"sms": {
"data": {
"total": 0,
"unread": 0
},
"ok": true
},
"system": {
"data": {
"conns": 0,
"heat_alarm": true,
"lan_leases": 0,
"load": {
"freqs": [
{
"cur": 0,
"max": 0
}
],
"idle": 0,
"n": 0,
"total": 0
},
"memory": {
"avail_kb": 0,
"swap_free_kb": 0,
"swap_total_kb": 0,
"total_kb": 0
},
"temperatures": {
"board": 0,
"cpu": 0,
"hottest": 0,
"modem": 0,
"soc": 0,
"zones": [
{
"millicelsius": 0,
"name": "string"
}
]
},
"ts": 0,
"update": null,
"uptime": 0,
"usb_link": {
"max": "string",
"max_mbps": 0,
"mbps": 0,
"role": "string",
"speed": "string"
},
"wifi_clients": 0
},
"ok": true
},
"traffic": {
"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
},
"update": {
"data": {
"boot": {
"default": "string",
"kernel": "string",
"previous": null,
"release": null,
"slot": "string"
},
"disk": {
"free_kb": 0,
"need_all_kb": 0,
"need_one_kb": 0,
"total_kb": 0
},
"installed": "string",
"job": null,
"kernel": {
"choice": "string",
"choices": [
"string"
],
"running": "string"
},
"lock": {
"command": "string",
"pid": 0,
"this_daemon": true
},
"notice": null,
"recovery": null,
"report_new": true,
"restart_pending": true,
"signing": {
"key": "string"
},
"source": {
"api": "string",
"download": "string",
"fallback": "string",
"fell_back": true,
"mirror": true
},
"systems": [
{
"name": "string",
"previous": null,
"release": "string",
"running": true
}
],
"unfinished": true,
"upload": {
"inspect": null,
"present": true
}
},
"ok": true
},
"usb": {
"data": {
"adb": {
"auth": "string",
"auth_reason": null,
"damaged": true,
"in_gadget": true,
"keys": 0,
"on": true,
"running": true,
"state": "string"
},
"devices": [
null
],
"host_supported": true,
"link": {
"bound": true,
"max_speed": "string",
"speed": "string",
"state": "string",
"udc": "string"
},
"net_current": "string",
"net_mode": "string",
"net_name": "string",
"net_now": null,
"net_scope": "string",
"role": "string",
"role_boot": "string"
},
"ok": true
},
"wifi": {
"data": {
"band": "string",
"channel": "string",
"channel_live": null,
"channels": {
"5": [
0
],
"2.4": [
0
]
},
"client_mode": true,
"clients": [
null
],
"country": "string",
"enabled": true,
"hidden": true,
"htmode": "string",
"password_set": true,
"security": "string",
"ssid": "string",
"status": null
},
"ok": true
},
"wificlient": {
"data": {
"active": true,
"address": null,
"connected": true,
"firewall": "string",
"firewall_ok": true,
"mode": "string",
"saved": null,
"signal": null,
"ssid": null
},
"ok": true
}
},
"ok": true
}