dropbox / dropbox/dropbox-sdk-python

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

Đang mở
#163 2 bình luận 2 reaction 0 người được giao Xem trên GitHub
enhancement
Ngôn ngữ chính
Python
Star
983
Fork
330
Merge trung bình
3 phút
Pull request đã merge (30 ngày)
10

Mô tả

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!

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.