Appearance
List a device's remote commands
GET
/devices/{device-id}/commands
Returns the most recent remote commands sent to the device, newest first,
proxied from Pantahub. A command still pending after 120 seconds is reported
as "timeout".
Authorizations
Parameters
Path Parameters
device-id*
device id
Type
Requiredstring
Query Parameters
limit
Maximum number of commands (default 20, clamped to 100)
Type
integer
Responses
Commands
application/json
JSON { "args": { "additionalProperties": undefined }, "cmd": "string", "code": 0, "created_at": "string", "created_by": "string", "device_id": "string", "error": "string", "expires_at": "string", "finished_at": "string", "id": "string", "output": { }, "status": "string" }
[
]