版本:202601
查询模板已添加卡片列表
GET/openapi/2026-01/themes/edit-sessions/:oseid/files/:doc_id/sections
返回编辑会话内某模板上已添加的全部卡片,含页头、页尾等全局卡片组。
请求
Path参数
oseid string必填
编辑会话 ID
doc_id string必填
文档(模板文件)ID
Query参数
template_name string
可选,当前页面模板名,用于界定支持的数据源类型
响应
- 200
OK
- application/json
- 数据结构
- 示例
数据结构
codestring
错误码
messagestring
错误信息
data object
dataobject
该模板的卡片与全局卡片组:page_sections、sections、header_sections、footer_sections、app_embeds、plugins、script_tags
json
{
"code": "string",
"message": "string",
"data": {
"data": {}
}
}