http://localhost:49312/updater/{action}?[parameters]
Responses are always in JSONP, responding to the function BoseUpdater.remoteCallback
, which has either two or three parameters (depending upon whether token
is supplied). The last parameter appears to be a "status code," whilst the penultimate parameter is the data.
callback
, appears to change nothingtoken
, if supplied, the first parameter to the JSONP callback will be this token, but apparently not mandatory???
Returns an object with a single key of version
containing the current updater version on the system.
For some reason this is called both before and after isUpdaterReady
returns true in the official updater.
Appears to need to be polled to ask if the updater can currently manage devices.
Returns an object with a single key of updaterReady
with String "true"
or "false"
possible values.
Returns an array of device objects.
Device objects have both an UUID ID
key and numeric(?) pid
(product id?) key.
Returns device information when given a device UUID in the deviceID
query parameter.
Device information includes;
ID
(same UUID as above)name
serial
version
, firmware versionisLatestVersion
booleanpid
Retrieves the update status of a particular device when given a device UUID in the deviceID
query parameter.
Update progress information includes;
state
;"idle"
"updating"
"finished"
percentage
, string numeric percentage completeddeviceID
estimatedTime
, string, apparently time remaining in minutes
Retrieves the language settings available for a given deviceID
UUID and version
query parameter.
Returns an array of string language codes (e.g. "en-us"
, "fr"
)
Retrieves the current value of a configuration setting on a given deviceID
and settingNumber
.
Known settingNumber
s;
1
, the currently selected language
Responses are given in an object with key settingValue
.
Retrieves which firmware versions are available for a given deviceID
.
Returns an array of firmware version strings.
Updates a deviceID
device's firmware to a specified version
string. Also able to update the language setting using the language
parameter.
Returns nothing (getUpdateProgress
output changes, though! official updater polls this periodically)
Updates the device's language setting to language
for a particular deviceID
running version
firmware.
Returns nothing.