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
}
}
404
Not Found
Operation doesn't return any data structure
Device Command Service Operations
GET
Get Pending Commands
POST
Invoke Command
GET
List Commands
PUT
Update Commands Status