Query Video View

Last Updated on : 2023-12-07 03:34:01download

Query the video views of the video files generated by the current lock.

API address

GET: /v1.0/smart-lock/devices/{device_id}/media-view-times

Request parameter

Parameter name Type IN Required Description
device_id String uri true The device ID.

Return parameter

Parameter name Type Description
result Integer The video views of the video files.

Request example

GET: /v1.0/smart-lock/devices/vdevo124546565765/media-view-times

Return example

{ "result": 1, "t": 1634712882506, "success": true }

Error code

For more information, see error code.