I have a folder which contains 100+ files. I want to share them all and get all the shared links. Are there any ways to do this?
2 Answers
That's DropBox API v. 1, which is now deprecated:
https://blogs.dropbox.com/developers/2016/06/api-v1-deprecated/
I found, for current v.2, depending on your needs:
/2/files/get_temporary_link https://www.dropbox.com/developers/documentation/http/documentation#files-get_temporary_link
/2/sharing/create_shared_link_with_settings https://www.dropbox.com/developers/documentation/http/documentation#sharing-create_shared_link_with_settings
/2/sharing/create_shared_link https://www.dropbox.com/developers/documentation/http/documentation#sharing-create_shared_link
-
3I have also discovered that create_shared_link will return an "Error" "SharedLinkAlreadyExists" for a valid already-shared path, but will still return the ShareData object regardless.– BaseZenCommented Mar 3, 2017 at 22:51
-
2
create_shared_linkis already deprecated. Instead use2/sharing/create_shared_link_with_settingsto create share links and2/sharing/list_shared_linksto get their list (for a given file). Commented Feb 24, 2018 at 6:34