deviceCloudList - Query Cloud Storage Services Under Device Channel - Imou Open Platform
deviceCloudList: Query all cloud storage services under the device channel
Function details
Get all cloud storage services opened under a certain device channel of the developer.
Request address
https://openapi-[DataCenter].easy4ip.com/openapi/deviceCloudList
The minimum permissions required for sub-account token request
"Permission":"RecordReplay" "Resource":"cam:serial number:channel number"
Incoming parameter description
| Parameter name | Parameter type | Required or not | Default value | Legal value | Parameter description |
|---|---|---|---|---|---|
| token | String | Yes | Administrator or sub-account accessToken | ||
| deviceId | String | Yes | Device serial number | ||
| channelId | String | Yes | Channel ID |
Sample input
{
"id":"d5c287b4-5b2f-4f03-baf5-8032c5c354af",
"system":{
"ver":"1.0",
"appId":"lcdxxxxxxxxx",
"sign":"74bc756ebd53e9eef2836f8cf1730c10",
"time":1599031074,
"nonce":"8ec8a7bd1d1c95420de20d92422d457d"
},
"params":{
"token":"At_12345678901234567890123456789012",
"deviceId":"TESTQWERXXXX",
"channelId":"0"
}
}
Return data field description
| Field name | Field type | Field description | |
|---|---|---|---|
| strategies | deviceCloudId | String | Cloud storage unique id |
| recordSaveDays | String | Number of days to save video | |
| strategyId | String | Cloud storage strategy id | |
| useStatus | Integer | Currently using cloud storage status, 1-cloud storage is on, 0-cloud storage is off | |
| cloudStatus | Integer | Cloud storage package usage status, 1-in use, 2-queue status, 3-package expired | |
| cloudType | Integer | Package charge type, 1-charged package, 2-normal free package with end time of existence, 3-permanent free package | |
| startTime | String | Start time of cloud storage package, format 2019/05/10 | |
| endTime | String | The end time of the cloud storage package, the format is 2020/05/09, the endTime of the permanent free package can be empty | |
| validDays | Integer | The remaining valid days, a positive number means the remaining days, -1 means not used | |
Sample output
{
"id":"d5c287b4-5b2f-4f03-baf5-8032c5c354af",
"result": {
"code": "0",
"msg": "Successful operation",
"data": {
"strategies":[ {
"deviceCloudId": "100001",
"recordSaveDays":"3",
"strategyId": "3",
"useStatus": 0,
"cloudStatus": 0,
"cloudType": 0,
"startTime": "2019/05/10",
"endTime": "2020/05/09",
"validDays": 364
}]
}
}
}
