We're making changes to the Community, so you may have received some notifications - thanks for your patience and welcome back. Learn more here.
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 down...
- 6 years ago
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-DB
Dropbox 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.
terezakloboucek
6 years agoHelpful | 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-DB4 years agoDropbox 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,875 PostsLatest Activity: 2 months 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!