Get started
  • English
  • 简体中文
Official Site
Get started
  • English
  • 简体中文
Official Site
  • Get started
  • Concepts
  • Guides
  • Device capabilities & events
  • API reference
    • Public conventions
    • Development specification
    • accessToken: Get administrator token
    • API request example
    • Return codes
    • Interface call limits
    • Account docking
    • Device APIs
    • Device live broadcast
    • Push configuration
    • Cloud storage service
    • Resource pool quota
    • Legacy APIs (deprecated)
      • Door lock access (legacy)
        • deleteDoorKey
        • doorbellCallAnswer
        • doorbellCallHangUp
        • doorbellCallRefuse
        • generateSnapkey
        • getDevicePowerInfo
        • getDoorKeys
        • getOpenDoorRecord
        • getSnapkeyList
        • openDoorRemote
        • wakeUpDevice
      • Device messages (legacy)
      • Device query (deprecated)
      • Device maintenance (legacy)
      • Device operation (legacy)
      • Device ability (legacy)
      • Motion detection config (legacy)
      • Preset collection (legacy)
      • Timed cruise (legacy)
      • Local recording config (legacy)
      • Audio volume (legacy)
      • Storage (legacy)
      • Video and imaging (legacy)
      • Time zone (legacy)
      • Wi-Fi (legacy)
      • Local recording query (legacy)
  • SDK and tools
  • Solutions
  • Platform and support
On this page
When to use (legacy)
New integrations
API index
Device query
Platform / easy4ip / share (legacy HTTP)
Device messages
Door lock access
Device maintenance
Device operation
Device ability
Motion detection
Presets
Timed cruise
Local recording config
Audio
Storage
Video and imaging
Time zone
Wi-Fi
Local recording query

Legacy APIs

Legacy APIs

When to use (legacy)

These methods still use POST /openapi/{method} for existing integrations. Fields and codes are on each method page.

New integrations

Prefer Device capabilities and Device management APIs. Keep legacy HTTP only when the method page says so.

API index

Older HTTP methods in this section remain callable for existing integrations. Do not choose them for new integrations.

Start from Capability usage and Device APIs. Live, cloud, account, and bind/unbind stay in the current API reference modules.

Device message callbacks are documented under Push configuration and Receive device messages.

Device query

APIStatusRecommended entry
checkDeviceBindOrNotSupersededBind state (device.bindstate.get)
deviceOnlineSupersededQuery online status (device.status.get)
listDeviceDetailsByIdsSupersededBatch detail by device ID (device.detail.list)
listDeviceDetailsByPageSupersededPaged device detail (device.detail.page)
unBindDeviceInfoSupersededPre-bind information (device.prebind.get)
upgradeProcessDeviceSupersededUpgrade progress (device.upgrade.process)

Platform / easy4ip / share (legacy HTTP)

APINotesRelated entry
bindDeviceChannelInfoLegacy HTTPDevice APIs overview
bindDeviceInfoLegacy HTTPDevice APIs overview
bindDeviceListLegacy HTTPBatch detail by device ID
deviceBaseDetailListLegacy HTTPPaged device detail
deviceBaseListLegacy HTTPPaged device detail
deviceListLegacy HTTPPaged device detail
deviceOpenDetailListLegacy HTTPDevice APIs overview
deviceOpenListLegacy HTTPDevice APIs overview
queryBaseDeviceChannelInfoLegacy HTTPDevice APIs overview
queryOpenDeviceChannelInfoLegacy HTTPDevice APIs overview
shareDeviceListLegacy HTTPPaged device detail
deviceVersionListLegacy HTTPDevice APIs overview
listDeviceAbilityLegacy HTTPDevice APIs overview

Device messages

APIStatusRecommended entry
deleteAlarmMessageLegacy HTTPAlarm messages (device.message.delete)
getAlarmMessageLegacy HTTPAlarm messages (device.message.list)
getAlarmMessageByIdLegacy HTTPAlarm messages (device.message.detail)

Door lock access

APIStatusRecommended entry
deleteDoorKeyLegacy HTTPDoor and lock (detection.door)
doorbellCallAnswerLegacy HTTPDoorbell (call.doorbell)
doorbellCallHangUpLegacy HTTPDoorbell (call.doorbell)
doorbellCallRefuseLegacy HTTPDoorbell (call.doorbell)
generateSnapkeyLegacy HTTPDoor and lock (detection.door)
getDevicePowerInfoLegacy HTTPDoor and lock (detection.door)
getDoorKeysLegacy HTTPDoor and lock (detection.door)
getOpenDoorRecordLegacy HTTPDoor and lock (detection.door)
getSnapkeyListLegacy HTTPDoor and lock (detection.door)
openDoorRemoteLegacy HTTPDoor and lock (detection.door)
wakeUpDeviceLegacy HTTPDoor and lock (detection.door)

Device maintenance

APIStatusRecommended entry
modifyDeviceNameSupersededRename device (device.name.set)
modifyPasswordSupersededChange password (device.password.set)
refreshDeviceCoverSupersededRefresh cover image (device.cover.refresh)
uploadDeviceCoverPictureSupersededRefresh cover image (device.cover.refresh)
upgradeDeviceSupersededTrigger upgrade (device.upgrade.execute)
verifyPasswordSupersededVerify password (device.password.verify)

Device operation

APIStatusRecommended entry
calibrationDeviceTimeSupersededPlatform time sync (device.time.sync)
controlLocationPTZSupersededPTZ aim (ptz.aim.speed)
controlMovePTZSupersededPTZ relative move (ptz.aim.relative)
controlPTZLegacy HTTPPTZ relative move (device.service.invoke)
devicePTZInfoSupersededPTZ aim (ptz.aim.speed)
getDeviceTimeSupersededRead UTC clock (device.time.get)
restartDeviceSupersededReboot device (device.reboot.execute)

Device ability

APIStatusRecommended entry
breathingLightStatusSupersededDevice indicator (light.indicator.enabled)
getDeviceCameraStatusLegacy HTTPCapability usage (device.property.get)
modifyBreathingLightLegacy HTTPDevice indicator (light.indicator.enabled)
setDeviceCameraStatusLegacy HTTPCapability usage (device.property.set)

Motion detection

APIStatusRecommended entry
deviceAlarmPlanSupersededMotion detection plan (detection.motion.plan)
getDeviceAlarmParamSupersededMotion detection (detection.motion.plan)
modifyDeviceAlarmPlanSupersededMotion detection plan (detection.motion.plan)
modifyDeviceAlarmStatusSupersededMotion detection (detection.motion.enabled)
setDeviceAlarmRegionSupersededMotion detection region (detection.motion.region)
setDeviceAlarmSensitivitySupersededMotion detection sensitivity (detection.motion.sensitivity)

Presets

APIStatusRecommended entry
deleteCollectionSupersededPTZ preset (ptz.preset.delete)
getCollectionSupersededPTZ preset (ptz.preset.list)
modifyCollectionSupersededPTZ preset (ptz.preset.rename)
setCollectionSupersededPTZ preset (ptz.preset.add)
turnCollectionSupersededPTZ preset (ptz.preset.goto)

Timed cruise

APIStatusRecommended entry
getTimeCruisePlanLegacy HTTPCruise (ptz.cruise.*)
setTimeCruisePlanLegacy HTTPCruise (ptz.cruise.*)

Local recording config

APIStatusRecommended entry
queryLocalRecordPlanSupersededRecording plan (record.plan.plan)
queryLocalRecordStreamSupersededLocal recording parameters (record.plan.config)
setLocalRecordPlanLegacy HTTPRecording plan (record.plan.plan)
setLocalRecordPlanRulesSupersededRecording plan (record.plan.plan)
setLocalRecordStreamSupersededLocal recording parameters (record.plan.config)

Audio

APIStatusRecommended entry
getSoundVolumeSizeSupersededVolume (audio.volume.level)
setSoundVolumeSizeSupersededVolume (audio.volume.level)

Storage

APIStatusRecommended entry
deviceSdcardStatusLegacy HTTPLocal storage capacity (storage.local.capacity.storageState)
deviceStorageSupersededLocal storage capacity (storage.local.capacity)
recoverSDCardSupersededFormat SD card (storage.local.format)

Video and imaging

APIStatusRecommended entry
frameReverseStatusSupersededImage orientation (image.orient.enabled)
getFillLightSensitivitySupersededFill light (light.fill.sensitivity)
getNightVisionModeSupersededNight vision (image.night.mode)
getZoomFocusSupersededPTZ zoom (ptz.zoom.value)
modifyFrameReverseStatusSupersededImage orientation (image.orient.enabled)
queryDeviceOsdSupersededOSD (media.osd.config)
setDeviceOsdSupersededOSD (media.osd.config)
setFillLightSensitivitySupersededFill light (light.fill.sensitivity)
setNightVisionModeSupersededNight vision (image.night.mode)
setZoomFocusSupersededPTZ zoom (ptz.zoom.set)

Time zone

APIStatusRecommended entry
getIotDeviceTimeZoneSupersededRead time zone (device.timezone.get)
setIotDeviceTimeZoneSupersededSet time zone (device.timezone.set)

Wi-Fi

APIStatusRecommended entry
controlDeviceWifiSupersededConnect or disconnect Wi-Fi (device.wifi.control)
currentDeviceWifiSupersededCurrent Wi-Fi (device.wifi.current)
wifiAroundSupersededScan Wi-Fi hotspots (device.wifi.scan)

Local recording query

APIStatusRecommended entry
queryLocalRecordBitmapLegacy HTTPLocal recording bitmap (record.file.bitmap)
queryLocalRecordNumLegacy HTTPLocal recording count (record.file.count)
queryLocalRecordsSupersededLocal recording list (record.file.list)