样本请求:
curl "https://writer.zoho.com.cn/api/v1/documents?
text=This is the sample text for creating document"
-X POST
-H "Authorization: Zoho-oauthtoken f92d01c803988c5ch49d0b4215f52"
示例响应:
{
"document_name": "SLA",
"created_time": "2017-17-28T09:20:26Z",
"modified_time": "2017-20-28T10:34:26Z",
"preview_url": "https://docs.zoho.com/writer/preview/3ieene1be47bf7c7b40aab3fce01b45157f85",
"download_url": "https://writer.zoho.com.cn/api/v1/download/3ieene1be47bf7c7b40aab3fce01b45157f85",
"document_id": "3ieene1be47bf7c7b40aab3fce01b45157f85",
"created_by": "Amelia",
"open_url": "https://docs.zoho.com/writer/open/3ieene1be47bf7c7b40aab3fce01b45157f85"
}