unUsedCloudList - Disabled Cloud Storage Services - Imou Open Platform
unUsedCloudList: Get a list of cloud storage services that are not enabled
Function details
Get the cloud storage service information that is not enabled under the developer account.
Remarks: Only the cloud storage service that the device unbinds back to the developer account is included. If the developer needs to query the remaining number of cloud storage activations, please call the queryCloudRecordCallNum interface to query.
Request address
https://openapi-[DataCenter].easy4ip.com/openapi/unUsedCloudList
Incoming parameter description
| Parameter name | Parameter type | Required or not | Default value | Legal value | Parameter description |
|---|---|---|---|---|---|
| token | String | Yes | Administrator accessToken | ||
| nextDeviceCloudId | String | Yes | The last deviceCloudId was queried last time, and -1 is passed in the first query | ||
| limit | String | is | number of items |
Sample input
{
"id":"d5c287b4-5b2f-4f03-baf5-8032c5c354af",
"system":{
"ver":"1.0",
"appId":"lcdxxxxxxxxx",
"sign":"74bc756ebd53e9eef2836f8cf1730c10",
"time":1599031074,
"nonce":"8ec8a7bd1d1c95420de20d92422d457d"
},
"params":{
"token":"At_12345678901234567890123456789012",
"nextDeviceCloudId":"206612",
"limit":"15"
}
}
Return data field description
| Field name | Field type | Field description | |
|---|---|---|---|
| nextDeviceCloudId | String | The last deviceCloudId queried last time | |
| cloudInfos | deviceCloudId | Long | Unique id of cloud storage package |
| name | Long | Package name | |
| strategyId | String | Cloud storage strategy id | |
| cloudCount | Integer | Number of cloud storage | |
| 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":"The operation was successful",
"data": {
"nextDeviceCloudId":"1234",
"cloudInfos":[{
"deviceCloudId":123,
"name":"3 days a year event cloud storage",
"strategyId":"206612",
"cloudCount":1,
"validDays":264
},
{
"deviceCloudId":1234,
"name":"3 days a year event cloud storage",
"strategyId":"206612",
"cloudCount":1,
"validDays":264
}]
}
}
}
