针对文件名转换文档
用途
将文档的文件格式(例如,docx)转换为 Zoho Writer 支持的任何其他文件格式(例如,html 或 txt)。
受支持的文件格式:.docx .odt .rtf .txt .html .pdf
HTTP 请求 URL
https://writer.zoho.com.cn/api/v1/documents/convert
请求参数
参数 | 数据类型 | 描述 |
必需参数 | ||
content | 文件 | 指定 API 请求正文中的所需内容。 |
format | 字符串 | 指定要转换的文件的格式。 受支持的文件格式 - .docx .odt .rtf .txt .html .pdf |
filename | 字符串 | 指定要转换的文件的名称。 |
可选参数 | ||
Password | 字符串 | 指定要转换的文件的唯一密码。 |
样本请求:
curl "https://writer.zoho.com.cn/api/v1/documents/convert?format=docx"
-X POST
-H "Authorization: Zoho-oauthtoken f92d01c803988c5ch49d0b4215f52"