Cloud Storage Service for IP Cameras and Devices - Imou Open Platform
Cloud storage service
Module overview
This module provides functional interfaces related to device cloud storage services, including device activation cloud storage, querying device current cloud storage information, etc.
Guides: Cloud live from an AppId · Cloud clips: Cloud recording.
API list:
| Serial number | Interface function | Description |
|---|---|---|
| 1 | openCloudRecord: enable device cloud storage | activate the specified cloud storage package on the specified device serial number and channel number |
| 2 | unBindDeviceCloud: Unbind Device Cloud Storage | Unbind cloud storage by deviceCloudId or by deviceId+channelId (including in-use packages per the API page); unused capacity returns to the developer pool |
| 3 | getDeviceCloud: Get the cloud storage service information of the current device | According to the device serial number, query the cloud storage information of the device currently in use |
| 4 | deviceCloudList: Query all cloud storage services under the device channel | According to the device serial number, query the cloud storage information of the device, including the cloud storage in use and the cloud storage in the queue |
| 5 | unUsedCloudList: Get the list of unused cloud storage services | Query the list of unused cloud storage under the account |
| 6 | queryCloudRecordCallNum: Query the remaining number of calls to the cloud storage activation interface | Query the remaining number of calls to the cloud storage activation interface |
| 7 | setAllStorageStrategy: Set the cloud storage service switch of the current device | Set the cloud storage switch on or off according to the device serial number |
| 8 | setStorageStrategy: Set the device free cloud storage service switch | According to the device serial number, set the cloud storage switch on or off |
Cloud recording (clips)
| Serial number | Interface function | Description |
|---|---|---|
| 9 | queryCloudRecordBitmap: Query Cloud Recording Mask by Month | Query cloud recording mask on a monthly basis |
| 10 | queryCloudRecordNum: Query the total number of device cloud recordings | Query cloud recording count for a time interval |
| 11 | queryCloudRecords: Query device cloud video clips in positive order | Paged cloud clip list in chronological order |
| 12 | getCloudRecords: Query device cloud video clips in reverse order | Paged cloud clip list in reverse order |
| 13 | deleteCloudRecords: Delete device cloud recording clips | Delete clips by cloud recording ID |
| 14 | queryCloudRecordByToken: Query cloud clip by cloudToken | Query one clip using cloudToken from alarms |
