Skip to content

Get a device's remote command​

GET
/devices/{device-id}/commands/{command-id}

Returns one remote command with its status and output, proxied from Pantahub.

Authorizations​

Parameters​

Path Parameters

device-id*

device id

Type
string
Required
command-id*

command id (24 hex digits)

Type
string
Required

Responses​

Command

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"
}

Playground​

Variables
Key
Value

Samples​

Powered by VitePress OpenAPI