接口描述
描述:查询企业下所有的布局模板列表,目前暂不支持 OAuth2.0 鉴权访问。
支持的应用类型:自建应用。
请求方式:GET
接口操作者权限点:无权限点校验。
接口请求域名:
https://api.meeting.qq.com/v1/layout-templates?operator_id={operator_id}&operator_id_type={operator_id_type}
输入参数
参数名称 | 必选 | 参数类型 | 参数描述 |
operator_id | 是 | String | 操作者 ID。 |
operator_id_type | 是 | Integer | 操作者 ID 类型。 1:userid |
输出参数
参数名称 | 参数类型 | 参数描述 |
layout_template_number | Integer | 布局模板数量。 |
layout_template_list | LayoutTemplateList 对象数组 | 布局模板对象列表。 |
LayoutTemplateList 对象
参数名称 | 参数类型 | 参数描述 |
layout_template_id | String | 布局模板 ID。 |
thumbnail_url | String | 缩略图 URL。 |
picture_url | String | 布局图 URL(布局图中包含宫格 ID,该 ID 用于确定布局宫格和用户座次的映射关系,设置和修改会议布局时需要当做入参传递)。 |
render_rule | String | 渲染规则(提供用户个人渲染布局图片的规则说明)。 |
错误码列表
状态码 | 错误码 | 错误描述 |
400 | 500014 | 账号无权限。 |
示例
输入示例
GEThttps://api.meeting.qq.com/v1/layout-templates?operator_id=KM4Ss4Th09ogUw1JiK&operator_id_type=1
输出示例
{"layout_template_number":1,"layout_template_list":[{"layout_template_id":"1","thumbnail_url":"https://xxxxxx.cos.myqcloud.com/1.png","picture_url":"https://xxxxxx.cos.myqcloud.com/1-num.png","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\\"}}]}"}]}