Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

question: API to get download url for a file within shared_link folder #163

Open
yarikoptic opened this issue Apr 11, 2019 · 2 comments
Open

Comments

@yarikoptic
Copy link

yarikoptic commented Apr 11, 2019

Using .files_list_folder(path="", shared_link=dropbox.files.SharedLink(url="https://www.dropbox.com/sh/ofdd6ia32eo4wk5/AAA8553of0M2tQVlfR0S2GTFa")) it is possible to obtain a ListFolderResult instance with FileMetadata (and FolderMetadata for recursion) entries.
For "owned" directories (not shared ones) it is possible to use .sharing_create_shared_link(path, ...) to obtain download URLs for individual files in your own dropbox path.
But I found nowhere in API a method to obtain a (public) download url (if files under shared_link were all shared as well) to the files discovered in the shared_link folder, e.g. as identified by FileMetadata.rev or FileMetadata.id.
Is there an API to achieve that?

Thank you in advance for the clarification/guidance!

@greg-db
Copy link
Contributor

greg-db commented Apr 11, 2019

No, unfortunately it's not possible to get the shared link for a file inside a folder from a shared link for the folder. I'll pass this along as a feature request. I can't promise if or when that might be implemented though.

@yarikoptic
Copy link
Author

Thank you in advance!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants