Reputation: 2230
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?
Upvotes: 7
Views: 18125
Reputation: 8718
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
Upvotes: 10
Reputation: 16930
You can use the /shares endpoint to get shareable links to any file or folder.
Upvotes: 3