获取指定有效期标准流预览地址
POST
https://api2.hik-cloud.com/v1/devices/liveAddressLimit
功能描述
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api2.hik-cloud.com/v1/devices/liveAddressLimit' \
--header 'Authorization: Bearer ' \
--data-urlencode 'channelId='
响应示例响应示例
{
"code": "200",
"message": "操作成功",
"data": {
"deviceSerial": "123329561",
"deviceName": "收银台",
"channelId": "8c06808799394814880a706761e35800",
"channelName": "收银台",
"channelNo": 1,
"hls": "http://open.ys7.com/openlive/temp.m3u8?t=8Yh6jnVwyq6-RU33oaX3nEogqryuNBU2P1Qqce-dT6V-TsLRWj-7kPVukT8lIlvm",
"hlsHd": "http://open.ys7.com/openlive/temp.hd.m3u8?t=8Yh6jnVwyq6-RU33oaX3nEogqryuNBU2P1Qqce-dT6V-TsLRWj-7kPVukT8lIlvm",
"rtmp": null,
"rtmpHd": null,
"status": 1,
"exception": 0
}
}
请求参数
Header 参数
Authorization
string
可选
默认值:
Bearer {{access_token}}
Body 参数application/x-www-form-urlencoded
channelId
string
通道ID
expireTime
string
可选