编辑推屏卡片
开发中
POST
https://saas-open.vhall.com/v3/interacts/push-screen-card/edit
2. 前侧收到消息,需要检查 switch_id 是否一致, 不一致不用处理;
编辑消息 body
{
"event_type": "push_screen_card_update",
"type": "push_screen_card_update",
"card_info": {
"timer_enable": 1,
"operator_role": "主持人",
"img_rate": 1,
"created_at": "2023-07-03 11:20:27",
"remark": "这是图片描述",
"switch_id": 3659438,
"timer_interval": 10,
"title": "推屏卡片5",
"href_enable": 1,
"operator": "主持人",
"href_btn_label": "请点击",
"role_name": "1",
"updated_at": "2023-07-05 15:25:03",
"user_id": 16623378,
"img_url": "https://t-alistatic01.e.vhall.com/upload/interacts/screen-imgs/202307/ba/f3/baf3a8ea3032001c91740da05fab2ceb.jpg?x-oss-process=image/crop,x_0,y_0,w_0,h_0,/bright,0&mode=1",
"webinar_id": 654046772,
"id": 380,
"href": "https://www.baidu.com"
}
}
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://saas-open.vhall.com/v3/interacts/push-screen-card/edit' \
--header 'platform: 15' \
--form 'id="3"' \
--form 'title="推屏卡片 33"' \
--form 'img_rate="0"' \
--form 'img_url="https://cnstatic01.e.vhall.com/upload/common/static-imgs/c0/e7/c0e7569408de296971eb4b98945c240b.png"' \
--form 'href_enable="0"' \
--form 'timer_enable="0"' \
--form 'app_key=""' \
--form 'sign_type=""' \
--form 'signed_at=""' \
--form 'sign=""'
响应示例响应示例
{
"code": 0,
"msg": "string",
"data": {},
"request_id": "string"
}
请求参数
Header 参数
Content-Type
string
必需
示例值:
application/x-www-form-urlencoded
platform
integer
可选
默认值:
15
Body 参数multipart/form-data
id
string
卡片 ID
示例值:
3
title
string
标题
示例值:
推屏卡片 33
img_rate
string
必需
示例值:
0
img_url
string
图片地址
示例值:
https://cnstatic01.e.vhall.com/upload/common/static-imgs/c0/e7/c0e7569408de296971eb4b98945c240b.png
href_enable
string
必需
示例值:
0
timer_enable
string
必需
示例值:
0
href
string
可选
示例值:
https://www.baidu.com
href_btn_label
string
可选
示例值:
立即查看
timer_interval
string
可选
示例值:
5
remark
string
描述
示例值:
这里是卡片描述2222
app_key
string
必需
默认值:
{{app_key}}
sign_type
integer
必需
默认值:
{{sign_type}}
signed_at
integer
必需
默认值:
{{signed_at}}
sign
string
计算生成的签名值
默认值:
{{sign}}
返回响应
修改于 2025-05-28 05:26:11