获取视频预览地址
GET
https://api2.hik-cloud.com/api/v1/edu/video/preview/actions/getPreviewLimit
功能描述
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api2.hik-cloud.com/api/v1/edu/video/preview/actions/getPreviewLimit' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
"channelId": "string",
"schoolId": "string"
}'
响应示例响应示例
{
"code": 200,
"message": "操作成功",
"data": {
"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,
"beginTime": 1472694964067,
"endTime": 1472694964067,
"status": 1,
"exception": 0
}
}
请求参数
Header 参数
Authorization
string
可选
默认值:
Bearer {{access_token}}
Body 参数application/json