开始使用
  • English
  • 简体中文
前往官网
开始使用
  • English
  • 简体中文
前往官网
  • 开始使用
  • 核心概念
  • 开发指南
  • 设备能力与事件参考
  • API 参考
    • 公共约定
    • HTTP 开发规范
    • accessToken(管理员 Token)
    • API 请求示例
    • 错误码
    • 接口调用限额
    • 账号与授权
    • 设备接口
    • 直播地址
    • 推送配置
    • 云存储
    • 资源池额度管理
    • 旧版接口(不再维护)
      • 门锁(遗留)
        • deleteDoorKey(销毁密钥)
        • doorbellCallAnswer(接听门口机/门铃呼叫)
        • doorbellCallHangUp(挂断门口机/门铃通话)
        • doorbellCallRefuse(拒接门口机/门铃呼叫)
        • generateSnapkey(生成门锁密码)
        • getDevicePowerInfo(查询门锁电量)
        • getDoorKeys(获取密钥列表)
        • getOpenDoorRecord(获取开门记录)
        • getSnapkeyList(获取临时密钥列表)
        • openDoorRemote(远程开门)
        • wakeUpDevice(唤醒休眠门锁)
      • 告警消息(遗留)
      • 设备查询(已弃用)
      • 设备维护(遗留)
      • 设备操作(遗留)
      • 设备使能(遗留)
      • 动检配置(遗留)
      • 收藏点(遗留)
      • 定时巡航(遗留)
      • 本地录像配置(遗留)
      • 音量(遗留)
      • 存储(遗留)
      • 图像与视频(遗留)
      • 时区(遗留)
      • Wi-Fi(遗留)
      • 本地录像查询(遗留)
  • SDK 与工具
  • 方案
  • 平台与支持
本页目录
何时使用(遗留)
新接入建议
接口索引
设备查询
平台设备 / easy4ip / 分享(遗留 HTTP)
设备消息
门锁与门铃
设备维护
设备操作
设备使能
移动检测
收藏点
定时巡航
本地录像配置
音频
存储
视频与成像
时区
Wi-Fi
本地录像查询

旧版协议

旧版协议

何时使用(遗留)

本组接口仍通过 POST /openapi/{method} 调用,供已有集成维护。字段与返回码以各方法页为准。

新接入建议

优先使用 设备能力 与 设备 API。仅在方法页明确写「继续旧调用」时保留本组 HTTP。

接口索引

本区 HTTP 接口供已有对接继续调用。新接入请勿选用。

请从 能力使用 与 设备 API 选型。直播、云存、账号、绑定/解绑见 API 参考 当前模块,不在本旧版区。

设备消息回调见 推送配置 与 接收设备消息。

设备查询

APIStatusRecommended entry
checkDeviceBindOrNot已有新接口是否已绑定 (device.bindstate.get)
deviceOnline已有新接口查询在离线 (device.status.get)
listDeviceDetailsByIds已有新接口按 ID 批量详情 (device.detail.list)
listDeviceDetailsByPage已有新接口分页设备详情 (device.detail.page)
unBindDeviceInfo已有新接口绑定前信息 (device.prebind.get)
upgradeProcessDevice已有新接口升级进度 (device.upgrade.process)

平台设备 / easy4ip / 分享(遗留 HTTP)

API说明相关入口
bindDeviceChannelInfo遗留 HTTP设备 API 总览
bindDeviceInfo遗留 HTTP设备 API 总览
bindDeviceList遗留 HTTP按 ID 批量详情
deviceBaseDetailList遗留 HTTP分页设备详情
deviceBaseList遗留 HTTP分页设备详情
deviceList遗留 HTTP分页设备详情
deviceOpenDetailList遗留 HTTP设备 API 总览
deviceOpenList遗留 HTTP设备 API 总览
queryBaseDeviceChannelInfo遗留 HTTP设备 API 总览
queryOpenDeviceChannelInfo遗留 HTTP设备 API 总览
shareDeviceList遗留 HTTP分页设备详情
deviceVersionList遗留 HTTP设备 API 总览
listDeviceAbility遗留 HTTP设备 API 总览

设备消息

APIStatusRecommended entry
deleteAlarmMessage遗留 HTTP告警消息 (device.message.delete)
getAlarmMessage遗留 HTTP告警消息 (device.message.list)
getAlarmMessageById遗留 HTTP告警消息 (device.message.detail)

门锁与门铃

APIStatusRecommended entry
deleteDoorKey遗留 HTTP门磁与门锁 (detection.door)
doorbellCallAnswer遗留 HTTP门铃 (call.doorbell)
doorbellCallHangUp遗留 HTTP门铃 (call.doorbell)
doorbellCallRefuse遗留 HTTP门铃 (call.doorbell)
generateSnapkey遗留 HTTP门磁与门锁 (detection.door)
getDevicePowerInfo遗留 HTTP门磁与门锁 (detection.door)
getDoorKeys遗留 HTTP门磁与门锁 (detection.door)
getOpenDoorRecord遗留 HTTP门磁与门锁 (detection.door)
getSnapkeyList遗留 HTTP门磁与门锁 (detection.door)
openDoorRemote遗留 HTTP门磁与门锁 (detection.door)
wakeUpDevice遗留 HTTP门磁与门锁 (detection.door)

设备维护

APIStatusRecommended entry
modifyDeviceName已有新接口修改设备名称 (device.name.set)
modifyPassword已有新接口修改设备密码 (device.password.set)
refreshDeviceCover已有新接口刷新封面 (device.cover.refresh)
uploadDeviceCoverPicture已有新接口刷新封面 (device.cover.refresh)
upgradeDevice已有新接口触发升级 (device.upgrade.execute)
verifyPassword已有新接口校验设备密码 (device.password.verify)

设备操作

APIStatusRecommended entry
calibrationDeviceTime已有新接口平台校时 (device.time.sync)
controlLocationPTZ已有新接口云台转速/定位 (ptz.aim.speed)
controlMovePTZ已有新接口云台相对移动 (ptz.aim.relative)
controlPTZ遗留 HTTP云台相对移动 (device.service.invoke)
devicePTZInfo已有新接口云台转速/定位 (ptz.aim.speed)
getDeviceTime已有新接口读设备 UTC 时钟 (device.time.get)
restartDevice已有新接口重启设备 (device.reboot.execute)

设备使能

APIStatusRecommended entry
breathingLightStatus已有新接口设备指示灯 (light.indicator.enabled)
getDeviceCameraStatus遗留 HTTP能力使用 (device.property.get)
modifyBreathingLight遗留 HTTP设备指示灯 (light.indicator.enabled)
setDeviceCameraStatus遗留 HTTP能力使用 (device.property.set)

移动检测

APIStatusRecommended entry
deviceAlarmPlan已有新接口检测时间段 (detection.motion.plan)
getDeviceAlarmParam已有新接口移动检测参数 (detection.motion.plan)
modifyDeviceAlarmPlan已有新接口检测时间段 (detection.motion.plan)
modifyDeviceAlarmStatus已有新接口移动检测 (detection.motion.enabled)
setDeviceAlarmRegion已有新接口检测区域 (detection.motion.region)
setDeviceAlarmSensitivity已有新接口动检灵敏度 (detection.motion.sensitivity)

收藏点

APIStatusRecommended entry
deleteCollection已有新接口删除收藏点 (ptz.preset.delete)
getCollection已有新接口获取收藏点 (ptz.preset.list)
modifyCollection已有新接口重命名收藏点 (ptz.preset.rename)
setCollection已有新接口添加收藏点 (ptz.preset.add)
turnCollection已有新接口转到收藏点 (ptz.preset.goto)

定时巡航

APIStatusRecommended entry
getTimeCruisePlan遗留 HTTP巡航 (ptz.cruise.*)
setTimeCruisePlan遗留 HTTP巡航 (ptz.cruise.*)

本地录像配置

APIStatusRecommended entry
queryLocalRecordPlan已有新接口存储计划 (record.plan.plan)
queryLocalRecordStream已有新接口本地录像参数 (record.plan.config)
setLocalRecordPlan遗留 HTTP存储计划 (record.plan.plan)
setLocalRecordPlanRules已有新接口存储计划 (record.plan.plan)
setLocalRecordStream已有新接口本地录像参数 (record.plan.config)

音频

APIStatusRecommended entry
getSoundVolumeSize已有新接口音量 (audio.volume.level)
setSoundVolumeSize已有新接口音量 (audio.volume.level)

存储

APIStatusRecommended entry
deviceSdcardStatus遗留 HTTP本地存储容量 (storage.local.capacity.storageState)
deviceStorage已有新接口存储信息 (storage.local.capacity)
recoverSDCard已有新接口SD 卡格式化 (storage.local.format)

视频与成像

APIStatusRecommended entry
frameReverseStatus已有新接口画面翻转 (image.orient.enabled)
getFillLightSensitivity已有新接口补光灯灵敏度 (light.fill.sensitivity)
getNightVisionMode已有新接口夜视模式 (image.night.mode)
getZoomFocus已有新接口变焦倍数 (ptz.zoom.value)
modifyFrameReverseStatus已有新接口画面翻转 (image.orient.enabled)
queryDeviceOsd已有新接口OSD 配置 (media.osd.config)
setDeviceOsd已有新接口OSD 配置 (media.osd.config)
setFillLightSensitivity已有新接口补光灯灵敏度 (light.fill.sensitivity)
setNightVisionMode已有新接口夜视模式 (image.night.mode)
setZoomFocus已有新接口设置变倍聚焦 (ptz.zoom.set)

时区

APIStatusRecommended entry
getIotDeviceTimeZone已有新接口读时区 (device.timezone.get)
setIotDeviceTimeZone已有新接口写时区 (device.timezone.set)

Wi-Fi

APIStatusRecommended entry
controlDeviceWifi已有新接口连接或断开 Wi-Fi (device.wifi.control)
currentDeviceWifi已有新接口当前 Wi-Fi (device.wifi.current)
wifiAround已有新接口扫描周边热点 (device.wifi.scan)

本地录像查询

APIStatusRecommended entry
queryLocalRecordBitmap遗留 HTTP本地录像掩码 (record.file.bitmap)
queryLocalRecordNum遗留 HTTP本地录像总数 (record.file.count)
queryLocalRecords已有新接口获取本地录像 (record.file.list)