I have several folders in custom root directory (one of the same level as Briefcase, Contacts, inbox etc...), say 'myroot'. It contains other folders with sub-folders and probably files. Folders have custom names (I don't know them).
I need to get a list of those folders/files (myroot/**/*) and process it with Javascript.

When I'm requesting that root folder by following URL
http://example.com/home/myuser@example.com/?fmt=json
empty object is returned ({}) instead of folders hierarchy. But folders are present in an archive packed if requesting with ?fmt=zip.
Unfortunately Zip is not data suitable for processing with Javascript.

Is there any solution (maybe another APIs)?

Thanks

[ZCS NE 7.2.2/7.2.4]