开始直播
POST
https://saas-open.vhall.com/v3/webinars/live/start
注意事项
4
, 否则会造成直播出现 黑屏;请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://saas-open.vhall.com/v3/webinars/live/start' \
--header 'platform: 15' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'webinar_id=509154312' \
--data-urlencode 'start_type=4' \
--data-urlencode 'live_type=0' \
--data-urlencode 'app_key=' \
--data-urlencode 'sign_type=' \
--data-urlencode 'signed_at=' \
--data-urlencode 'sign='
响应示例响应示例
{
"code": 200,
"msg": "",
"data": {
"switch_id": 4240761,
"start_time": "2025-07-08 16:12:38",
"end_time": "0000-00-00 00:00:00",
"start_type": 4,
"end_type": 0,
"type": 0
},
"request_id": "11710a81-b733-4864-aa61-2abc44c8a7b8"
}
请求参数
Header 参数
Content-Type
string
必需
示例值:
application/x-www-form-urlencoded
platform
integer
可选
默认值:
15
Body 参数application/x-www-form-urlencoded
webinar_id
string
活动id
示例值:
509154312
start_type
string
必需
示例值:
4
live_type
string
可选
示例值:
0
app_key
string
必需
默认值:
{{app_key}}
sign_type
integer
必需
默认值:
{{sign_type}}
signed_at
integer
必需
默认值:
{{signed_at}}
sign
string
计算生成的签名值
默认值:
{{sign}}
返回响应
修改于 2025-07-08 08:17:20