diff options
Diffstat (limited to 'files')
-rwxr-xr-x | files/api.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/files/api.php b/files/api.php index fa94a512547..d6e04d4550f 100755 --- a/files/api.php +++ b/files/api.php @@ -55,6 +55,9 @@ if($arguments['action']){ case 'getfiles': echo json_encode(OC_FILES::getdirectorycontent($arguments['dir'])); break; + case 'gettree': + echo json_encode(OC_FILES::getTree($arguments['dir'])); + break; case 'find': echo json_encode(OC_FILESYSTEM::find($arguments['path'])); break; |