{
"subject": "string"
}
curl --location -g --request POST '{{BASE_URL}}/docmee/v1/api/ppt/generateOutline' \
--header 'Authorization: Bearer {{YOUR_API_KEY}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"subject": "string"
}'
{
"text": "",
"status": 1 // 状态:-1异常 1解析文件 3生成中 4完成
}
{ "text": "# ", "status": 3 }
{ "text": " ", "status": 3 }
{ "text": "主题", "status": 3 }
...
{
"text": "",
"status": 4,
"result": {
"level": 1,
"name": "主题",
"children": [
{
"level": 2,
"name": "章节",
"children": [
{
"level": 3,
"name": "页面标题",
"children": [
{
"level": 4,
"name": "内容标题"
}
]
}
]
}
]
}
}