dropbox/dropbox-sdk-java

allow_download missing

mxmmarmol opened this issue · 4 comments

SharedLinkSettings does not have the optional value allow_download. On the documentation this value is marked as optional but supported. Can be added to the sdk? This is important for both creating and updating links.

https://api.dropboxapi.com/2/sharing/create_shared_link_with_settings
allow_download Boolean? Boolean flag to allow or not download capabilities for shared links. This field is optional.

It seems that the version of the API spec is currently outdated. I have brought this issue up with the owning team but can't make any promises on when it will be fixed.

@rogebrd you mean that the flag is supported but the dropbox-sdk-java does not have it?

That's correct, this will require an update from Dropbox to get the SDK up to date to include that option.

SharedLinkSettings.Builder.withAllowDownload is now available in the latest version of the Java SDK (currently v5.3.0).