server icon indicating copy to clipboard operation
server copied to clipboard

OCS Share API - why is not possible to ‘hide download’ when creating a new share via the API?

Open dthory opened this issue 3 years ago • 3 comments

When creating a new share via the OCS API, why is not possible to specify ‘hide download’ as a POST argument / parameter? All the other options seem to be available that you can do via the web interface when creating a new public share e.g. add note, expiry date, password etc but not the hide download property. I have tried hideDownload=1 and hideDownload=true but neither works.

Is this already available (and just not in the docs), or if not could it be added at some point soon please?

dthory avatar Aug 26 '22 12:08 dthory

same question..how to enable hide download via API?

SViarbitskaya avatar Oct 06 '22 09:10 SViarbitskaya

See https://github.com/nextcloud/documentation/issues/9186 - i think this has been added

dthory avatar Dec 01 '22 17:12 dthory

I am still having issues with it as mentioned in the PR though, but I guess this can be closed.

xeruf avatar Mar 30 '23 14:03 xeruf