Add One Video View

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

Add one video view to a specified video file generated by the current lock.

API address

POST: /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 view of the video file.

Request example

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

Return example

{ "result": 2, "t": 1634713143910, "success": true }

Error code

For more information, see error code.