I have a folder which contains 100+ files, I want to shall them all and get all the shared links, is there anyway to do this?
Asked
Active
Viewed 1.7k times
2 Answers
9
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

BaseZen
- 8,650
- 3
- 35
- 47
-
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. – BaseZen Mar 03 '17 at 22:51
-
1`create_shared_link` is already deprecated. Instead use `2/sharing/create_shared_link_with_settings` to create share links and `2/sharing/list_shared_links` to get their list (for a given file). – prograils Feb 24 '18 at 06:34
3
You can use the /shares endpoint to get shareable links to any file or folder.

Greg
- 16,359
- 2
- 34
- 44