样本请求:
curl "https://writer.zoho.com.cn/api/v1/documents"
-X GET
-H "Authorization: Zoho-oauthtoken f92d01c803988c5ch49d0b4215f52"
示例响应:
{
"documents": [
{
"document_name": "Presales tips",
"created_time": "2017-09-28T11:42:26Z",
"modified_time": "2017-09-28T12:42:26Z",
"preview_url": "https://docs.zoho.com/writer/preview/16uhycb58b9b910c9485e8179a7f3974b234b",
"download_url": "https://writer.zoho.com.cn/api/v1/download/16uhycb58b9b910c9485e8179a7f3974b234b",
"open_url": "https://docs.zoho.com/writer/open/16uhycb58b9b910c9485e8179a7f3974b234b",
"document_id": "16uhycb58b9b910c9485e8179f3974b234b",
"created_by": "Amelia"
},
{
"document_name": "Service level agreement",
"created_time": "2017-10-28T11:45:26Z",
"modified_time": "2017-09-28T12:30:26Z",
"preview_url": "https://docs.zoho.com/writer/preview/2orwc0740f14e4ab244e68a123d641b867e5f",
"download_url": "https://writer.zoho.com.cn/api/v1/download/2orwc0740f14e4ab244e68a123d641b867e5f",
"open_url": "https://docs.zoho.com/writer/open/2orwc0740f14e4ab244e68a123d641b867e5f",
"document_id": "2orwc0740f14e4ab244e68a12641b867e5f",
"created_by": "Amelia"
}
]
}