server
server copied to clipboard
get all shares for client
Currently android client is using webdav search to get all shares, but this is too slow. Web UI is using those three requests:
http://localhost/nc/ocs/v1.php/apps/files_sharing/api/v1/shares?format=json&shared_with_me=true&include_tags=true
http://localhost/nc/ocs/v1.php/apps/files_sharing/api/v1/shares?format=json&shared_with_me=false&include_tags=true
http://localhost/nc/ocs/v1.php/apps/files_sharing/api/v1/remote_shares?format=json&include_tags=true
Where the latest one has a different data structure. Would it be possible to have one endpoint for those three with the same data structure like files_sharing/api/v1/shares, as we use this already?
I suppose this issue is still valid? If not, please close this issue!