Open come-nc opened 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.
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
The web UI does this when checking the box:
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.