server icon indicating copy to clipboard operation
server copied to clipboard

get all shares for client

Open tobiasKaminsky opened this issue 6 years ago • 1 comments

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?

tobiasKaminsky avatar Apr 09 '19 09:04 tobiasKaminsky

I suppose this issue is still valid? If not, please close this issue!

szaimen avatar May 26 '21 08:05 szaimen