1. f50.system
f50d API
  • f50.at
    • The last 40 AT commands of this boot, PINs and passwords cut off
      POST
    • Sends one guarded AT command on the control channel; scans and long commands run as a job
      POST
  • f50.boot
    • The slot Linux runs from, the default boot, the failed boots allowed before Android, whether Linux is locked, the boot control block, and the last result of every boot stage
      POST
  • f50.cpu
    • The CPU profile, the policies and the thermal zones
      POST
    • Applies and saves a CPU profile
      POST
  • f50.data
    • The mobile data connection and its settings
      POST
    • Mobile data on or off
      POST
    • The APN settings and data roaming of the SIM in use
      POST
  • f50.job
    • Stops a running job that may be stopped
      POST
    • Every job kept, oldest first
      POST
    • A job's state, result or error, and the tail of its log
      POST
  • f50.lan
    • The LAN: address, netmask, DHCP range, the USB host's address
      POST
    • Changes the LAN address (a private /24's .1), netmask or DHCP range
      POST
  • f50.led
    • The LED settings
      POST
    • Changes one LED setting
      POST
  • f50.live
    • Every live topic now (the events a subscription to f50.live sends, by topic)
    • The live event stream
  • f50.lock
    • The network mode, band, cell and EN-DC locks as last read, the replay switch and the last reset
    • Every lock back to automatic, verified (a job)
    • One lock change (mode, endc, lte, nr, cell; auto_apply at once), then one stack restart (a job)
  • f50.meta
    • Every object and method, with access and field rules
  • f50.modem
    • Serving cells, neighbours, carrier aggregation and QoS from the latest reading, with its age
    • IMEI, IMSI, ICCID, model, firmware and the SIM's own number
    • Switches the radio of the card in use on or off, kept across reboots (a job when it changes now)
    • Restarts the modem's protocol stack (a job)
    • Registration, RAT, operator, signal and bars from the latest reading, with its age
  • f50.sim
    • A card's radio on or off (or all: the persistent airplane mode), kept across reboots
    • The card in use, the next boot's, the card's state and both cards' radio settings
    • Chooses the card for the next boot (a job)
  • f50.sms
    • Deletes a message or all; with sim, the matching ones in the modem's store too
    • Conversations newest first with unread counts, or one conversation's messages (peer)
    • One message whole; a received one is marked read
    • Sends a message (up to 10 parts) as a job
    • Moves what the modem's store holds into the pool, in the background
    • How many messages the pool holds, and how many are unread
  • f50.status
    • The dashboard: every part's read method in one call
  • f50.system
    • The hotspot's clients and the DHCP leases
      POST
    • The device's facts and live figures
      POST
    • The kernel's and the system log's last lines
      POST
    • Powers off in two seconds
      POST
    • Reboots in two seconds
      POST
    • Sets the hostname
      POST
    • Sets root's password
      POST
    • Sets the time zone
      POST
    • The home page's non-modem figures
      POST
  • f50.traffic
    • Data usage per day and billing cycle, and the cap
    • A data usage setting, or clear the count
  • f50.update
    • Installs the release the last check offered (a job; not cancellable)
    • Installs the uploaded bundle that upload_done showed (a job; not cancellable)
    • Asks for the newest release (a job)
    • The releases the last check found, and its age
    • Goes back to the kept system, or (what=boot) boot image (a job)
    • What is installed, what is kept for a rollback, free space, the lock, the running job, the notice
    • Makes room for an offline bundle of that size and hash; the path to upload it to
    • Deletes the upload
    • Takes the upload and looks at it (a job; its result is what the file is)
  • f50.usb
    • Adds a USB network adapter to the LAN bridge
    • USB network adapters in the host role, and whether they are in the LAN
    • Turns adb over USB on or off, or sets whom it lets in (open or keys)
    • Authorises a computer's adb public key (adbkey.pub)
    • The USB-C port: role, network mode, link speed, devices, adb
    • Sets the port's role and the USB network mode and name (once or for good)
  • f50.wifi
    • The hotspot: name, band, channel, country, security, clients (never the password)
    • Turns the hotspot on or off
    • Changes the hotspot's name, password, band, channel, width, hidden flag or country
  • f50.wificlient
    • Joins a network as the uplink and saves it (a job of kind wifi)
    • Leaves the network and brings the hotspot back (a job of kind wifi)
    • Lists the networks in range (a job when the radio must scan by itself)
    • The Wi-Fi uplink: mode, network, signal, address, firewall, saved network
  • 数据模型
    • Failure
    • JobStarted
  1. f50.system

Sets the time zone

POST
/f50.system/set_timezone
Sets the time zone.
Access: write (rpcd ACL group f50-admin). ubus: f50.system set_timezone.

请求参数

Authorization
API Key
在 header 添加参数
Authorization
示例:
Authorization: ********************
or
Body 参数application/json必填

示例
{
    "zone": "string"
}

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location '/f50.system/set_timezone' \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
    "zone": "string"
}'

返回响应

🟢200
application/json
f50d's envelope: 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).
Bodyapplication/json

示例
{
    "data": null,
    "ok": true
}
修改于 2026-11-13 01:44:47
上一页
Sets root's password
下一页
The home page's non-modem figures
Built with