企业内部开发 服务端API 会议 会议布局和背景管理 获取布局模板列表
获取布局模板列表
最后更新:2023/10/09
可联系渠道经理采购或代理智慧硬件接口已支持设备 联系渠道经理
获取布局模板列表
最后更新:2023/10/09

获取企业下所有的布局模板列表。

请求方式: GET(HTTPS
请求地址: https://qyapi.weixin.qq.com/cgi-bin/meeting/layout/list_template?access_token=ACCESS_TOKEN

参数说明:

参数必须类型说明
access_tokenstring调用接口凭证。获取方法查看“获取access_token

返回结果

{
	"errcode": 0,
	"errmsg": "ok",
	"layout_template_list": [{
		"layout_template_id": "1",
		"thumbnail_url": "https://xxx.1.d/1.png",
		"picture_url": "https://xxx.yyy.mmm/sss.jpg",
		"render_rule": "{\"layout_width\":960,\"layout_height\":540,\"layout_items\":[{\"seat_id\":1,\"stream_size\":1,\"pos\":{\"left\":\"0.00000000\",\"top\":\"0.00000000\"},\"size\":{\"width\":\"1.00000000\",\"height\":\"1.00000000\"},\"margin\":{\"top\":\"0.0\",\"left\":\"0.0\",\"bottom\":\"0.0\",\"right\":\"0.0\"}}]}"
	}]
}

参数说明:

参数类型说明
errcodeint32返回码
errmsgstring对返回码的文本描述内容
layout_template_listobject[]布局模板对象列表。详见LayoutTemplate

布局模板对象

参数类型说明
layout_template_idstring布局模板 ID。
thumbnail_urlstring缩略图 URL。
picture_urlstring布局图 URL(布局图中包含宫格 ID,该 ID 用于确定布局宫格和成员座次的映射关系,设置和修改会议布局时需要当做入参传递)。
render_rulestring渲染规则(提供成员个人渲染布局图片的规则说明)。
上一篇
挂断 MRA 呼叫
下一篇
添加会议基础布局