结束直播
POST
https://saas-open.vhall.com/v3/webinars/live/end
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://saas-open.vhall.com/v3/webinars/live/end' \
--header 'platform: 15' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'webinar_id=509154312' \
--data-urlencode 'live_type=0' \
--data-urlencode 'create_record=1' \
--data-urlencode 'app_key=' \
--data-urlencode 'sign_type=' \
--data-urlencode 'signed_at=' \
--data-urlencode 'sign='
响应示例响应示例
{
"code": 200,
"msg": "",
"data": {
"switch_id": 3674625,
"start_time": "2025-06-13 13:59:34",
"end_time": "2025-06-13 14:00:54",
"start_type": 7,
"end_type": 7,
"type": 0,
"record_id": 0
},
"request_id": "d45cf2f2-6216-4bd3-99c7-aa82785d056f"
}
请求参数
Header 参数
Content-Type
string
必需
示例值:
application/x-www-form-urlencoded
platform
integer
可选
默认值:
15
Body 参数application/x-www-form-urlencoded
webinar_id
string
活动id
示例值:
509154312
live_type
string
必需
示例值:
0
create_record
string
可选
示例值:
1
app_key
string
必需
默认值:
{{app_key}}
sign_type
integer
必需
默认值:
{{sign_type}}
signed_at
integer
必需
默认值:
{{signed_at}}
sign
string
计算生成的签名值
默认值:
{{sign}}
返回响应
修改于 2025-07-08 08:24:11