getFolderFullDataByPath
Function
getFolderFullDataByPath(folderPath)
Description
Gets the meta data for folder with the folderPath supplied.
Arguments
- folderPath - The path starting at root of the folder you wish to go to, for example /subfolder/subfolderLevel2
Returns
-
success - This is a boolean that indicates whether the function was successful or not
-
error - If the function was unsuccessful, then details on the error are returned here
-
folderData - The meta data for the folder, and the files inside it. Contains both file and folder objects. Example below
{
"folderData":[
{
"fileData":{
"allowedOrientations":15,
"annotationPermission":0,
"areAnnotationsForFilePublic":0,
"canEmail":0,
"canFilePaint":0,
"canFileUseOpenWith":0,
"canPrintFile":0,
"checkSum":32669,
"customFilePath":0,
"deleted":0,
"downloadDate":"2013-08-06 03:58:12 +0000",
"downloaded":1,
"durationViewed":0,
"editable":0,
"encrypted":0,
"expireDate":"2014-08-06 06:59:59 +0000",
"favorite":0,
"fileId":105858,
"filePath":"/var/mobile/Applications/487CC24A-D92C-434F-99FE-641CFA6DF697/Documents/files/105858.html",
"fileSize":405,
"fileSizeFromManifest":405,
"hasUpgradedEncryption":0,
"integrityCheckType":0,
"isFileEncrypted":0,
"isFileNew":0,
"isFileRead":1,
"isManual":0,
"isThumbDownloaded":0,
"isValidEncryptionState":1,
"localFileName":"105858.html",
"loggingEnabled":1,
"manualDownloadActive":0,
"maxViewCountAllowed":0,
"maxViewDuration":0,
"nonVabletLinksInFileOpenExternally":0,
"notesEnabled":0,
"possessionTime":0,
"printable":0,
"realFileName":"JSFunctionTests.html",
"smallThumbPath":"/var/mobile/Applications/487CC24A-D92C-434F-99FE-641CFA6DF697/Documents/files/small_thumb_105858.html",
"startDate":"2013-08-04 07:00:00 +0000",
"thumbHasFailed":0,
"thumbPath":"/var/mobile/Applications/487CC24A-D92C-434F-99FE-641CFA6DF697/Documents/files/thumb_105858.html",
"thumb_url":"https://vabletmedia.blob.core.windows.net/default/web.png",
"title":"JSFunctionTests",
"uploaded":0,
"url":"secure://105858",
"viewCount":10,
"whenToDisplaySurvey":0
},
"type":"File"
},
{
"folderData":{
"groupId":"-73",
"name":"Favorites",
"systemGroup":1,
"hidden":0,
"userGroup":0
},
"type":"Folder"
},
{
"folderData":{
"groupId":"-71",
"name":"All",
"systemGroup":1,
"hidden":0,
"userGroup":0
},
"type":"Folder"
},
{
"folderData":{
"groupId":"-72",
"name":"New",
"systemGroup":1,
"hidden":0,
"userGroup":0
},
"type":"Folder"
},
{
"folderData":{
"groupId":"-74",
"name":"Unread",
"systemGroup":1,
"hidden":0,
"userGroup":0
},
"type":"Folder"
}
]
}