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

Get Device Cloud Storage Information - Imou Open Platform

getDeviceCloud: Get the cloud storage service information of the current device

Function details

Obtain the cloud storage package policy of the current device. If a device has multiple cloud storage services activated, the earliest activated and unexpired cloud storage policy information will be returned.

Request address

https://openapi-[DataCenter].easy4ip.com/openapi/getDeviceCloud

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
hasDefault Boolean Is there a default package?
strategyId String Package id
name String Package name
strategyStatus Integer Package status, -1: not activated, 0: expired, 1: in use, 2: suspended
beginTime String Package opening time
endTime String The end time of the package, this field will not be returned if it is a permanent free cloud storage

Sample output

{
  "id":"d5c287b4-5b2f-4f03-baf5-8032c5c354af",
  "result":{
    "data":{
      "hasDefault":true,
      "strategyId":1,
      "name":"package name",
      "strategyStatus":2,
      "beginTime":"2017-05-01 00:12:23",
      "endTime":"2018-05-01 00:12:23"
    },
    "code":"0",
    "msg":"The operation was successful"
  }
}
unBindDeviceCloud: Unbind device cloud storage
deviceCloudList: Query all cloud storage services under the device channel