导出大纲、完整内容
开发环境
开发环境
POST
/api/generate/file
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://dev-cn.your-api-server.com/api/generate/file' \
--header 'x-api-key: {{apiKey}}' \
--header 'x-channel;' \
--header 'x-token: {{token}}' \
--data-urlencode 'task_id={{taskID}}' \
--data-urlencode 'type=1'
响应示例响应示例
{
"code": 0,
"data": "https://aippt-domestic.aippt.com/aippt-api-server/chat/20240129/202401292149336cde4f09a8d24821be38f2296040ad64.md?Expires=1706536473&OSSAccessKeyId=LTAI5tEC4LwH9eYcd5ANuTnS&Signature=KUunmcXyd9r%2FM8VsLNB3B1cJV6I%3D&response-content-disposition=attachment%3Bfilename%2A%3DUTF-8%27%27%25E5%25AE%2598%25E7%25BD%2591-20220221.md",
"msg": "获取成功"
}
请求参数
Header 参数
x-api-key
string
必需
示例值:
{{apiKey}}
x-channel
string
必需
x-token
string
必需
示例值:
{{token}}
Body 参数application/x-www-form-urlencoded
task_id
string
任务ID
示例值:
{{taskID}}
type
string
必需
2=导出思维导图图片(格式png)
示例值:
1
返回响应
修改于 2024-04-17 06:06:12