List Commands
Request
URI
GET
https://{api_host}/api/devices/commands
COPY
Responses
200
Returns
devicemgmtListCommandResponse
of type(s)
*/*
{
"commands": [
{
"status": "string",
"name": "string",
"lastUpdatedTime": "string",
"asRoot": false,
"response": "string",
"command": "string",
"arguments": [
{
"type": "string",
"name": "string",
"value": [
"string"
]
}
],
"createdTime": "string",
"clientId": "string",
"commandId": "string",
"execPath": "string",
"deviceId": "string"
}
],
"pageInfo": {
"totalPages": "string",
"totalElements": "string",
"page": 0,
"pageSize": 0
}
}
array of
object
commands
Optional
commands
object
pageInfo
Optional
pageInfo
404
Not Found
Operation doesn't return any data structure
Code Samples
COPY
curl -H 'Authorization: <value>' https://{api_host}/api/devices/commands
Device Command Service Operations
GET
List Commands
PUT
Update Commands Status
POST
Invoke Command
GET
Get Pending Commands