nextcloud / documentation

📘 Nextcloud documentation
https://docs.nextcloud.com
Other
491 stars 1.71k forks source link

hideDownload attribute for shares in OCS is not documented #9498

Open come-nc opened 1 year ago

come-nc commented 1 year ago

The web UI does this when checking the box:

curl 'https:///ocs/v2.php/apps/files_sharing/api/v1/shares/375560' -X PUT […] --data-raw '{"hideDownload":"true"}'

But https://docs.nextcloud.com/server/latest/developer_manual//client_apis/OCS/ocs-share-api.html#update-share does not list hideDownload as a potential attribute. It should also be listed in the POST documentation if it is available for POST as well.

PVince81 commented 1 year ago

there's a difference between "hideDownload" for public links and the new "secure view" which is using the "shareAttributes" and apply of regular user shares

both should be added to the docs