pinebox:02-json-api:2_device
Table of Contents
2 Device Management
These endpoints provide access to device identity information and system-level controls.
Info
GET /device/info
Returns firmware version, hardware version, and serial number.
Response
{
"status": "0",
"status_string": "operational",
"status_string_loc": "...",
"status_string_loc_long": "...",
"sw_version": "1.3.268",
"sw_version_major": 1,
"sw_version_minor": 3,
"sw_version_build": 268,
"sw_version_builddate": "2026-03-11",
"hw_version": "...",
"serial": "..."
}
| Field | Type | Description |
|---|---|---|
status | string | Numeric status code as string |
status_string | string | Human-readable status |
sw_version | string | Full firmware version string |
sw_version_major/minor/build | int | Parsed version components |
sw_version_builddate | string | Build date (ISO 8601) |
hw_version | string | Hardware revision |
serial | string | Device serial number |
Restart
GET /device/restart
Restarts the pinebox application process without rebooting the underlying Linux system.
Response: Error envelope
Reboot
GET /device/reboot
Performs a full system reboot of the Pinebox.
Response: Error envelope
After calling this endpoint the device will be unreachable for the duration of the boot sequence (typically 30–60 s).
pinebox/02-json-api/2_device.txt · Last modified: by anla
