cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Musicians, convert your MuseScore files to PDF to play music on the go! Learn 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: 

Clarification on APIs and File Download Methods

Clarification on APIs and File Download Methods

Vinay1
New member | Level 2

Hi Team,

 

Could you please provide guidance on the following:

  1. Which APIs should we use when downloading specific user files from dropbox
  2. When is it appropriate to use the root namespace ID for accessing user files?
  3. If a user’s files are stored within nested folders, what is the recommended approach for downloading those files? Should we use recursive methods to navigate through the folder structure?

Looking forward to your insights.



Thank you.

1 Reply 1

Здравко
Legendary | Level 20

@Vinay1 wrote:

 

  1. Which APIs should we use when downloading specific user files from dropbox

...


/2/files/download

 


@Vinay1 wrote:

...

    2. When is it appropriate to use the root namespace ID for accessing user files?

...


Whenever you need to access files residing outside member folder of a team member, using namespace ID becomes mandatory, otherwise - optional.

 


@Vinay1 wrote:

...

3. If a user’s files are stored within nested folders, what is the recommended approach for downloading those files? Should we use recursive methods to navigate through the folder structure?

...


It's rather matter of your design decision. All available methods are possible. Usually using refer to file/folder id is considered more secure.

If you want to download entire folder at once, you may consider downloading zipped folder. After that you may unzip it if desirable (including "on flight").

Good luck.

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Здравко Legendary | Level 20
What do Dropbox user levels mean?