版本:202506
查询主题文档树
GET/openapi/2025-06/themes/:theme_id/doctree
获取指定主题的文档树结构。
请求
Path参数
theme_id string必填
主题 ID
响应
- 200
OK
- application/json
- 数据结构
- 示例
数据结构
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
codestring
错误码
messagestring
错误信息
data object
layouts object[]
布局列表,每个对象包含文件唯一标识和路径
idstring
文件 ID
locationstring
文件路径或位置
templates object[]
模板列表,每个对象包含文件唯一标识和路径
idstring
文件 ID
locationstring
文件路径或位置
sections object[]
区块列表,每个对象包含文件唯一标识和路径
idstring
文件 ID
locationstring
文件路径或位置
snippets object[]
片段列表,每个对象包含文件唯一标识和路径
idstring
文件 ID
locationstring
文件路径或位置
assets object[]
资产列表,每个对象包含文件唯一标识和路径
idstring
文件 ID
locationstring
文件路径或位置
configs object[]
配置列表,每个对象包含文件唯一标识和路径
idstring
文件 ID
locationstring
文件路径或位置
locales object[]
语言环境列表,每个对象包含文件唯一标识和路径
idstring
文件 ID
locationstring
文件路径或位置
{
"code": "string",
"message": "string",
"data": {
"layouts": [
{
"id": "string",
"location": "string"
}
],
"templates": [
{
"id": "string",
"location": "string"
}
],
"sections": [
{
"id": "string",
"location": "string"
}
],
"snippets": [
{
"id": "string",
"location": "string"
}
],
"assets": [
{
"id": "string",
"location": "string"
}
],
"configs": [
{
"id": "string",
"location": "string"
}
],
"locales": [
{
"id": "string",
"location": "string"
}
]
}
}