- 快速入门
- 开发指南
- API
- 认证
- 首页
- 会话控制
- 虚拟会议室
- 历史会议管理
- 会议管理
- 组织架构管理
- 企业设置
- 员工信息
- 资产设备信息
- 会议模版管理
- 数据统计
- 系统报告
- 管理员日志
- 终端分组管理
- 录制文件管理
- 运维工具
- 呼叫
- 端口监听
- 服务区管理
- 服务器管理
- 终端管理
- 数据平台
广播会场/广播轮询/广播多画面
POST
/rsc/api/v2/user/sessions/{sessionId}/layouts/broadcasts
请求参数
Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token示例:
Authorization: Bearer ********************
Path 参数
sessionId
string
会话 id
示例值:
{{sessionId}}
Header 参数
Authorization
string
必需
x-endpoint-id
string
必需
示例值:
{{endpointId}}
Body 参数application/json
type
enum<integer>
广播类型
枚举值:
-1012
content
string
布局内容
示例
{
"type": 2,
"content": "{\"id\":\"Grid4\",\"type\":\"Grid\",\"version\":\"1.0\",\"width\":2,\"height\":2,\"clip\":[16,9],\"bandWidth\":\"4M\",\"enableShare\":false,\"cells\":[{\"x\":0,\"y\":0,\"width\":1,\"height\":1,\"resolution\":720,\"resolution2\":360,\"loopTime\":null,\"loopLimit\":null,\"autoFill\":false},{\"x\":1,\"y\":0,\"width\":1,\"height\":1,\"resolution\":720,\"resolution2\":360,\"loopTime\":null,\"loopLimit\":null,\"autoFill\":false},{\"x\":0,\"y\":1,\"width\":1,\"height\":1,\"resolution\":720,\"resolution2\":360,\"source\":[],\"loopTime\":null,\"loopLimit\":null,\"autoFill\":false},{\"x\":1,\"y\":1,\"width\":1,\"height\":1,\"resolution\":720,\"resolution2\":360,\"source\":[],\"loopTime\":null,\"loopLimit\":null,\"autoFill\":false}],\"enable\":false,\"loopIsStart\":true,\"loopTime\":null,\"layoutType\":2,\"onlyCamera\":false}"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location -g --request POST '/rsc/api/v2/user/sessions/{{sessionId}}/layouts/broadcasts' \
--header 'x-endpoint-id: {{endpointId}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"type": 2,
"content": "{\"id\":\"Grid4\",\"type\":\"Grid\",\"version\":\"1.0\",\"width\":2,\"height\":2,\"clip\":[16,9],\"bandWidth\":\"4M\",\"enableShare\":false,\"cells\":[{\"x\":0,\"y\":0,\"width\":1,\"height\":1,\"resolution\":720,\"resolution2\":360,\"loopTime\":null,\"loopLimit\":null,\"autoFill\":false},{\"x\":1,\"y\":0,\"width\":1,\"height\":1,\"resolution\":720,\"resolution2\":360,\"loopTime\":null,\"loopLimit\":null,\"autoFill\":false},{\"x\":0,\"y\":1,\"width\":1,\"height\":1,\"resolution\":720,\"resolution2\":360,\"source\":[],\"loopTime\":null,\"loopLimit\":null,\"autoFill\":false},{\"x\":1,\"y\":1,\"width\":1,\"height\":1,\"resolution\":720,\"resolution2\":360,\"source\":[],\"loopTime\":null,\"loopLimit\":null,\"autoFill\":false}],\"enable\":false,\"loopIsStart\":true,\"loopTime\":null,\"layoutType\":2,\"onlyCamera\":false}"
}'
返回响应
🟢200成功
application/json
Body
布局信息
id
string | null
id 主键
apply
boolean | null
是否应用中
type
enum<integer>
广播类型
枚举值:
-1012
content
string | null
布局内容
index
integer | null
顺序
createdTime
string | null
创建时间
updatedTime
string | null
更新时间
applyTime
string | null
应用时间
示例
{
"id": "",
"apply": false,
"type": 0,
"content": "",
"index": 0,
"createdTime": "",
"updatedTime": "",
"applyTime": ""
}