-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
OCS Sharing API v2 #21798
Comments
Do I understand it well that most important part of this is making the reshare permissions properly available to the clients ? Are there other requirements from the clients ? |
For the clients yes. But the id=>string is important to properly allow 3rdparty share providers |
|
@rullzer didn't you add these lately ? |
|
|
|
Currently, this call % curl -X GET 'http://root:admin@localhost/owncloud/ocs/v2.php/apps/files_sharing/api/v1/shares?path=abc&subfiles=true&format=json' is the only way to quickly get the share status for files within a folder. However it can be wasteful when a single file/folder is shared with 100 users, in which case it returns 100 entries all pointing at this file/folder. Ideal would be to have a summary mode, either as extra attribute "groupresults=true" or "summary=true" or a separate endpoint to query such status.
|
Before any sharing we want to know the max permissions:
We should have an endpoint that returns the proper permissions for a path. Combined with a specific share type.
|
Currently when we disable the Sharing API we just don't return anything.
|
|
Possible solution in #22834 |
#22834 is in |
Hey, this issue has been closed because the label (This is an automated comment from GitMate.io.) |
The current OCS Sharing API v1 is in need of successor.
We should design an API that fits the new needs of all the clients (web, desktop and mobile).
The text was updated successfully, but these errors were encountered: