curl --location --request POST 'https://api2.hik-cloud.com/api/v1/ezviz/live/actions/create' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
"channelId":"123456789",
"title":"测试直播间",
"repeatDays":[
"1",
"1",
"1",
"1",
"1",
"1",
"1"
],
"timeList":[
{
"beginTime":"09:30",
"endTime":"22:30"
}
]
}'{
"code": 200,
"message": "操作成功",
"data": {
"liveStudioId": "123456",
"title": "测试直播间",
"repeatDays": "1,1,1,1,1,1,1",
"viewUrl": "http://tv.swlive.cn/live/abcde/123456",
"iframe": "<script></script><iframe></iframe>",
"startState": 1,
"timeList": [
{
"beginTime": "09:30",
"endTime": "22:30"
}
]
}
}