I try to build a JSON service on top of the available web functions, I'm able to build everything related to the folder hierarchy, but as soon as I reach the media files I'm not able to retrieve the information.
First I've tried using the WebEngineSDK, I've tuned the library.html file to render json instead of pure HTML, but as soon as I reach the media files, I think there's some kind of magic because I suppose the web server is switching to another page which is not the one referenced by the URL returned in the parent call.
Second, I've played with MCWS, I face the same kind of problem as soon as I reach the leaf nodes I think I should use the getFiles API but how can I detect that I've reached the point where I've to switch to this API.
Another question about MCWS is about paging, it seems that there's no way to do it as it's done with the WebEngineSDK, is it anyway to achieve the same feature?