dropbox / dropbox/dropbox-sdk-python

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

未关闭
#163 2 条评论 2 个 reaction 已指派 0 人 在 GitHub 查看
enhancement
主要语言
Python
星标
983
派生
330
平均合并
3 分钟
30 天内合并 PR
10

描述

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!

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。