Get started
  • English
  • 简体中文
Official Site
Get started
  • English
  • 简体中文
Official Site
  • Get started
  • Concepts
  • Guides
    • Account and authorization
    • Device access
    • Audio and video
    • Device capability integration
    • Receive device messages
    • Manage cloud storage
    • Release and operations
  • Device capabilities & events
  • API reference
  • SDK and tools
  • Solutions
  • Platform and support
On this page
Recommended order
Activate a package
Query quota and inventory
Query plans on a device
Toggle recording
Unbind
Related

Manage cloud storage

Manage cloud storage

Task flow for cloud video and snapshot packages. Field tables stay on each method page. Package ids (strategyId) are in Cloud storage packages.

API index: Cloud storage service. Playback after activation: Video playback.

Recommended order

Check quota or inventory → activate on a channel → read active plan / toggle recording → unbind or adjust strategy when needed. Not every step runs on every integration.

Activate a package

Call openCloudRecord with an administrator token.

ScenarioCheck firstWhen activating
Fresh purchase quotaqueryCloudRecordCallNum — callNum > 0deviceCloudId not required
Inventory from unbindunUsedCloudListProvide deviceCloudId

When a channel already has a plan, see activateNow and queue behavior on the method page. This guide does not describe cloud-to-save or moving local files into cloud storage.

Query quota and inventory

  1. queryCloudRecordCallNum — remaining activations per strategyId.
  2. unUsedCloudList — paged inactive packages (nextDeviceCloudId starts at -1, limit ≤ 15).

Query plans on a device

  1. getDeviceCloud — currently active package. Sub-accounts need RecordReplay and cam:serial:channel as on the method page.
  2. deviceCloudList — all packages on the channel (active and queued).

Toggle recording

setStorageStrategy and setAllStorageStrategy — use status / switches documented on each page. Pausing stops new cloud clips; expiry rules stay on the method pages.

Unbind

unBindDeviceCloud — parameters and return codes on the method page.

Related

  • Cloud storage packages
  • Interface call limits — includes cloud activation and query rows
Receive device messages
Release checklist