Skip to main content

get

The get command fetches information from devices. For each device, the retrieved information is a subset of the device object, which contains all configuration, status, supported features, and other information about the device.

Command TypeSDVoE
Minimum Version2.x.x

Usage

get <target> <subset>

Arguments

ArgumentRequiredDescription
targetYesDevice ID of a single device, or a device group. See Targets.
subsetYesThe subset of the device object to retrieve. See Subsets.

Targets

ValueFetches from
<device_id>A single device
ALLAll devices
ALL_TXAll transmitter devices
ALL_RXAll receiver devices

Subsets

ValueRetrieves
deviceAll available information for the device(s)
settingsDetailed configuration and state: most of the device object, excluding the EDID, temperature, and enumerations of available configuration choices
identityBasic identity information: device name, device type, firmware version
helloBasic information available when the device is first detected on the network, such as device type and firmware version
listDevice id, name, and whether the device is active. Most useful with a group target, e.g. get all list
edidThe EDID of the device(s)
temperatureThe temperature of the device(s)
capabilitiesThe capabilities of the device(s)
gpioGPIO mode and value
multiviewThe layout currently loaded on a receiver operating in MultiView mode
usb_treeThe USB device tree behind a USB extender

Examples

Fetch everything about one device
get d88039a4fa19 device
Read a device's EDID
get d88039a4fa19 edid
List the IDs of every device in the system
get all list

Return value

The small subsets answer directly:

get 6cdffb01f5ba list
{
"status": "SUCCESS",
"request_id": null,
"result": {
"devices": [
{
"device_id": "6cdffb01f5ba",
"device_name": "RokuTV",
"status": { "active": true }
}
],
"error": []
},
"error": null
}

The subsets that query the device itself, including device, temperature and multiview, answer PROCESSING with a request_id. Read the result with request:

get 6cdffb01f5ba device
{
"status": "PROCESSING",
"request_id": 224522,
"result": null,
"error": null
}

The completed result carries a devices array of device objects. A device that cannot answer a subset appears in the reply's error array rather than failing the whole command:

get 6cdffb01f5ba usb_tree, on a device without a USB extender
{
"status": "SUCCESS",
"request_id": null,
"result": {
"usb_tree": [],
"error": [
{
"device_id": "6cdffb01f5ba",
"device_name": "RokuTV",
"reason": "DEVICE_TYPE",
"message": "This device does not support usb tree command."
}
]
},
"error": null
}

REST API

Endpoint typeSDVoE API command, forwarded to the Control Server
Address/api/device, /api/device/{target}
RoleGoverned by the device lock rather than by a DisplayNet role
GET /api/device

The list of discovered devices.

GET /api/device/{target}

The `hello` subset.

POST /api/device/{target}
{
"op": "get",
"subset": "String"
}

Every other subset.

Values labeled with a type name such as String or Integer are placeholders, not literal text. Replace them with actual values; fields marked (optional) can be omitted.

{target} takes a DisplayNet device name as readily as a device ID, and a locked device refuses a mutating operation. See SDVoE API operations for what DisplayNet adds to these calls.

See also

  • Device object: full schema of what get returns
  • request: read the result of a PROCESSING reply
  • set: write device configuration