nextcloud-node-client icon indicating copy to clipboard operation
nextcloud-node-client copied to clipboard

Get share information

Open sushibear opened this issue 3 years ago • 1 comments

Is your feature request related to a problem? Please describe. We would like to find out if a share for a file or folder already has been created, before we create another one. As far as I can tell, this is not possible.

Describe the solution you'd like Instead of using createShare to get the share.url, I think it would be better to have a command like getShareInfo or such and call this API as described here: https://docs.nextcloud.com/server/latest/developer_manual/client_apis/OCS/ocs-share-api.html#get-shares-from-a-specific-file-or-folder

Regards and thanks alot for this great package!!

sushibear avatar Dec 09 '20 12:12 sushibear