Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

get all shares for client #15019

Open
tobiasKaminsky opened this issue Apr 9, 2019 · 1 comment
Open

get all shares for client #15019

tobiasKaminsky opened this issue Apr 9, 2019 · 1 comment
Labels
1. to develop Accepted and waiting to be taken care of enhancement feature: sharing

Comments

@tobiasKaminsky
Copy link
Member

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1. to develop Accepted and waiting to be taken care of enhancement feature: sharing
Projects
None yet
Development

No branches or pull requests

3 participants