cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to learn some quick and useful tips to make your day easier? Check out how Calvin uses Replay to get feedback from other teams at Dropbox 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: 

Can we able to filter the certain file types when fetching the file list in api v2 for iOS?

Can we able to filter the certain file types when fetching the file list in api v2 for iOS?

Adithya
Explorer | Level 3
Go to solution
 
1 Accepted Solution

Accepted Solutions

Greg-DB
Dropbox Staff
Go to solution
The Dropbox API doesn't offer a way to filter files by type on the server like this, but you can implement the filtering client-side.

View solution in original post

3 Replies 3

Greg-DB
Dropbox Staff
Go to solution
The Dropbox API doesn't offer a way to filter files by type on the server like this, but you can implement the filtering client-side.

Adithya
Explorer | Level 3
Go to solution

Thanks for the reply.. But there is no information about the file type or mime type in the filemetadata object to filter the files as per our requirements. so, how can we achieve the filtering.. could you plz provide me the solution.?

Greg-DB
Dropbox Staff
Go to solution
You should use the file's extension, e.g., from the 'name' or 'pathLower' property in the metadata, to check the type.
Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
  • User avatar
    Adithya Explorer | Level 3
What do Dropbox user levels mean?