post https://cloud.digitalcomtech.com/api/commands/send
path Params | type | description |
---|---|---|
json | boolean | true to request information on the status of the last command sent |
tz | string | tz database time zone |
body Params | type | description |
---|---|---|
command | string | command to send (apx- , syrus-apps-manager , linux shell, or special reserved commands, (see below)). Max length 1024 characters. |
imeis | string[] | array of IMEIs to send the command to |
fileName | string | md5 value of the file to upload (ex: 1cbf041e075b0c6589ec94e47e1189ae) |
groupId | string | group ID response from the Get device info method |
path | string | path to upload the file to (ex: /data/users/syrus4g/) |
userFileName | string | name of the file |
Special commands
list-videos
- query latest videos on the device
upload-file
- uploads a file to a specified path on the device,
The upload-file command uploads the file to Syrus Cloud and then sends it to the device to a specified location. Once uploaded to Syrus Cloud you can view the file using the path https://cloud.digitalcomtech.com/uploads/fileName.
Important: commands will only be sent to devices that are in the same group as the first IMEI on the array list.
Launch this request from an HTTP request client such as Postman.