Getting Started
Official Site
Getting Started
Official Site
  • Document description
  • Read before you start

  • Light application development guide

  • Mobile application development guide

  • Cloud live development guide

  • Desktop application development guide

  • Third party development guide

  • Message push development guide

  • IoT things data model

  • HTTP interface

    • Development specification
    • API privacy policy
    • Postman interface simulation call
    • accessToken: Get administrator token
    • API request example
    • Account docking
    • Push configuration
    • Cloud storage service
      • Cloud storage package introduction
      • openCloudRecord: Enable device cloud storage
      • unBindDeviceCloud: Unbind device cloud storage
      • getDeviceCloud: Get the cloud storage service information of the current device
      • deviceCloudList: Query all cloud storage services under the device channel
      • setAllStorageStrategy: Set the cloud storage service switch of the current device
      • setStorageStrategy: Set device free cloud storage service switch
      • queryCloudRecordCallNum: Query the remaining number of calls to the cloud storage activation interface
      • unUsedCloudList: Get a list of cloud storage services that are not enabled
    • Equipment management

    • Device configurat

    • Video equipment

    • Device message
    • Device live broadcast
    • Device lock access
  • Reference documents

On this page
Function details
Request address
The minimum permissions required for sub-account token request
Incoming parameter description
Sample input
Return data field description
Sample output

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 nameParameter typeRequired or notDefault valueLegal valueParameter description
tokenStringYesAdministrator or sub-account accessToken
deviceIdStringYesDevice serial number
channelIdStringYesChannel 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
            }]
        }
    }
}
getDeviceCloud: Get the cloud storage service information of the current device
setAllStorageStrategy: Set the cloud storage service switch of the current device