cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
What’s new: end-to-end encryption, Replay and Dash updates. Find out more about these updates, new features and more here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Temporary Link

Temporary Link

Maltmax
New member | Level 2
Go to solution

Hello.

How do I make a Temporary Link for a phtoto that I just uploaded to dropbox?

 

I cant figure it out on the api v2

 

 

I'm using the Python Dropbox SDK btw.

Thanks a lot!

1 Accepted Solution

Accepted Solutions

Greg-DB
Dropbox Staff
Go to solution

To get a temporary link to a file on Dropbox using the official Dropbox API v2 Python SDK, you should use the 'files_get_temporary_link' method.

 

The 'path' there should be the path to the file on Dropbox. You can supply that directly, or get it from Metadata.path_lower (e.g., as returned by 'files_upload', etc.).

View solution in original post

2 Replies 2

Greg-DB
Dropbox Staff
Go to solution

To get a temporary link to a file on Dropbox using the official Dropbox API v2 Python SDK, you should use the 'files_get_temporary_link' method.

 

The 'path' there should be the path to the file on Dropbox. You can supply that directly, or get it from Metadata.path_lower (e.g., as returned by 'files_upload', etc.).

Maltmax
New member | Level 2
Go to solution
Thank you so much! That was really a big help you know.
Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Maltmax New member | Level 2
  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?