Get Document Details
Purpose
To get the details of a document.
HTTP Request URL
https://{zohoapis_domain}/writer/api/v1/documents/{{document_id}}
Path Parameters
Parameter | Data Type | Description |
Mandatory Parameters | ||
document_id | String | Specify the unique id for the Writer document. |
Sample Request
Copiedcurl "https://www.zohoapis.com/writer/api/v1/documents/2cjnf4c008254df9694b565fdc1a"
-X GET
-H "Authorization: Zoho-oauthtoken xyz"
Sample Response
Copied{
"role": "OWNER",
"modified_time_ms": 1551252315638,
"owner_id": "55576911",
"is_published": false,
"open_url": "https://writer.zoho.com/writer/open/h36bc158ce1c3139d4f6bb0f120875c01e48c",
"is_favourite": false,
"document_id": "h36bc158ce1c3139d4f6bb0f120875c01e48c",
"last_opened_time_ms": 1551248363461,
"thumbnail_url": "https://writer.zoho.com/writer/thumbnail/h36bc158ce1c3139d4f6bb0f120875c01e48c",
"type": "document",
"is_orgpublished": false,
"document_name": "Document details",
"modified_time": "2019-02-27T07:25:15Z",
"library_id": 14,
"permissions": {
"can_trash": true,
"can_publish": true,
"can_delete": false,
"can_share": true,
"can_edit": true,
"can_rename": true,
"can_favourite": true,
"can_download": true,
"can_org_publish": false
},
"is_shared": false,
"download_url": "https://writer.zoho.com/api/v1/download/h36bc158ce1c3139d4f6bb0f120875c01e48c",
"lastmodified_by": [
{
"email_id": "amelia@zylker.com",
"profile_photo": "https://contacts.zoho.com/file?t=user&ID=1308724&fs=thumb",
"user_id": "1308724",
"display_name": "Amelia"
}
],
"parent_info": {
"created_time": "2018-08-30T07:22:13Z",
"role": "COOWNER",
"modified_time_ms": 1535613733388,
"last_opened_time": "2018-08-30T07:22:13Z",
"folder_name": "General",
"is_favourite": false,
"last_opened_time_ms": 1535613733388,
"type": "folder",
"created_by": "Amelia",
"created_time_ms": 1535613733388,
"modified_time": "2018-08-30T07:22:13Z",
"creator_id": "1308724",
"folder_id": "fnzpd0f87313dc48b4e889ee7e6d12ee266a4",
"lastmodified_by": [
{
"email_id": "amelia@zylker.com",
"profile_photo": "https://contacts.zoho.com/file?t=user&ID=1308724&fs=thumb",
"user_id": "1308724",
"display_name": "Amelia"
}
],
"folder_link": "https://docsdev.zoho.com/home#folder/fnzpd0f87313dc48b4e889ee7e6d12ee266a4",
"status": "active"
},
"created_time": "2019-02-27T06:19:23Z",
"parent_folder_id": "fnzpd0f87313dc48b4e889ee7e6d12ee266a4",
"collaboration_id": "1203298695824578388",
"last_opened_time": "2019-02-27T06:19:23Z",
"created_by": "Amelia",
"version": "4.0",
"created_time_ms": 1551248363461,
"preview_url": "https://writer.zoho.com/writer/preview/h36bc158ce1c3139d4f6bb0f120875c01e48c",
"creator_id": "1308724",
"permalink": "https://workdrive.zoho.com/file/h36bc158ce1c3139d4f6bb0f120875c01e48c",
"status": "active"
}
Show full
Show less