FileBrowserServicesGetChildren Method |
Namespace: IngeniuxCMService
public XHRServiceResponseGeneric<FileBrowserTreeNodeInfo[]> GetChildren( FileBrowserGetChildrenInput data )
The request parameter
{ "data": { "action": "GetChildren", "type": "Image", "node": { "widgetId": "igxdialogs_DialogWrapper_15_Dialog_Image_root", "objectId": "", "index": 1, "isFolder": true, "fileType": "Image", "relativePath": "Images", "rootPath": "Images" }, "tree": { "widgetId": "dojo_Tree_0", "objectId": "" } } }
Array of FileBrowserTreeNodeInfo
{ "code": 0, "error": null, "message": [{ "objectId": null, "widgetId": "Documents~~test", "fileType": "File", "index": 0, "isFolder": false, "relativePath": "Documents\/test", "rootPath": "Documents", "assetPermission": 2, "checkedOut": true, "childIconSrc": "\/images\/icons\/filebrowser\/folderClose.gif", "markedForPub": false, "title": " test" }] }