Deluge Help

Get folders

Overview

The zoho.docs.getFolder() task is used to retrieve all the subfolders present in a specified folder in your Zoho Docs account.

Syntax

<response> = zoho.docs.getFolder(<FolderID>);​

where,
response - response returned as map from Zoho Docs.
FolderID -  ID of the folder whose subfolders have to be retrieved. It is of string data type.

Example

The following script fetches all the subfolders present in the specified folder.

response = zoho.docs.getFolder("0kav58698776c2a8b465f86b5efef876c7d3b");

where,
0kav58698776c2a8b465f86b5efef876c7d3b - is the id of the folder from which all the subfolders will be retrieved.

Sample Response

The response returned is of the following format

{"FILES":["{"AUTHOR_ID":"63882736","FOLDER_ID":"0kav58698776c2a8b465f86b5efef876c7d3b","SCOPE":0,"AUTHOR":"Tamilselvi T","CREATED_TIME_IN_MILLISECONDS":1492773525575,"FILE_EXTN":"ods","DOCID":"2cboca937f75ccbf9470191585448baa8d752","LAST_MODIFIEDBY_AUTHOR_NAME":"Tamilselvi T","ENCATT_NAME":"Services_Integrated","IS_FAVOURITE":false,"ENCHTML_NAME":"Services_Integrated","LAST_OPENED_TIME":"Aug 5","LAST_OPENED_TIME_IN_MILLISECONDS":1501924179941,"IS_LOCKED":false,"AUTHOR_EMAIL":"tamilselvi.t@zohocorp.com","CREATED_TIME":"Apr 21","DOCNAME":"Services_Integrated","FILETYPE":"zohosheet","TRIM_DOCNAME":"","LAST_MODIFIEDTIME_IN_MILLISECONDS":1501684501355,"EXTRA_PROP":"{"DOC_TIMEZONE":"IST","DOC_LOCALE":"en_US","ORDERED_USERS_LIST":"[63882736, 640407034, 64330392]","COLLAB_ID":"2230677712646260815","docClosedTime":"{"64330392":"1501924946808","640407034":"1501924946825"}"}","LAST_MODIFIEDBY":"63882736","ENCURL_NAME":"Services_Integrated","IS_SHARED":true,"LAST_MODIFIEDTIME":"Aug 2","SERVICE_TYPE":"zohosheet"}"],"FOLDER":["{"PERMISSION":1,"LAST_MODIFIED_AUTHOR_NAME":"Tamilselvi T","FOLDERNAME":"test","AUTHOR_ID":"63882736","LAST_MODIFIED_TIME":"1502191890063","CREATED_TIME":"1502191890063","FOLDERID":"3rxha16f8db24606843c7b8a50931a20b00e2","SCOPE":0,"AUTHOR_NAME":"Tamilselvi T","PARENT_FOLDER_ID":"0kav58698776c2a8b465f86b5efef876c7d3b","LAST_MODIFIEDBY":"63882736","IS_SHARED":false,"IS_FAVOURITE":false,"LAST_OPENED_TIME":"1502191890063"}"]}

Share this post : FacebookTwitter

Still can't find what you're looking for?

Write to us: support@zohocreator.com