You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.
Forum Discussion
terezakloboucek
6 years agoHelpful | Level 5
Method Create_shared_link_with_settings
Hello folks,
1) Is the method create_shared_link_with_settings up to date? When I compare the settings with the settings in the front-end, it is not the same. For example the user can disable downloads in the front-end, while via API the user can set up only the viewer/editor/max access.
2) What are the possible combinations of "requested visibility" and "RequestedLinkAccessLevel"? When I use the value "editor" with any possible value in the field "requested visibility", the error "invalid settings" is returned.
Thank you in advance.
Tereza
1) The functionality available on the API can sometimes lag behind the functionality in the product. The Dropbox API doesn't currently offer the ability to set a link to disallow downloads, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.
2) Apologies for the confusion. The 'RequestedLinkAccessLevel.editor' option for 'SharedLinkSettings.access' isn't supported for standard files. It's meant for cloud-based documents, such as Google Docs listed in Dropbox.
- Greg-DBDropbox Staff
1) The functionality available on the API can sometimes lag behind the functionality in the product. The Dropbox API doesn't currently offer the ability to set a link to disallow downloads, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.
2) Apologies for the confusion. The 'RequestedLinkAccessLevel.editor' option for 'SharedLinkSettings.access' isn't supported for standard files. It's meant for cloud-based documents, such as Google Docs listed in Dropbox.
- terezakloboucekHelpful | Level 5
Greg, thank you very much for your fast reply! If every service/app had support like Dropbox, users would be in heaven.
Regards
Tereza
- Greg-DBDropbox Staff
The Dropbox API now supports enabling/disabling the download restriction on a shared link via the
SharedLinkSettings.allow_download
setting on /2/sharing/create_shared_link_with_settings and /2/sharing/modify_shared_link_settings (and corresponding methods in the official SDKs).
You can also check the setting for a shared link via theSharedLinkMetadata.link_permissions.allow_download
field, such as returned by /2/sharing/list_shared_links or /2/sharing/get_shared_link_metadata (and corresponding methods in the official SDKs).
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,882 PostsLatest Activity: 10 hours agoIf you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!