Your workflow is unique 👨‍💻 -  tell us how you use Dropbox here.

Forum Discussion

Arekjaar's avatar
Arekjaar
New member | Level 2
7 years ago

List all music files on dropbox using API v2

I would like to list only all music files on dropbox using API v2.

path???????

ListFolderBuilder listFolderBuilder = client.files().listFolderBuilder(path);

1 Reply

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    7 years ago

    The Dropbox API doesn't offer server-side filtering for file types like that. You'll need to filter client-side, based on the file extension in the path. We'll consider it a feature request though.

    (Alternatively, you may be able to use the search method depending on your use case.)

About Dropbox API Support and Feedback

Node avatar for Dropbox API Support and Feedback
Get help with the Dropbox API from fellow developers and experts.

The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.

If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.

For more info on available support options for your Dropbox plan, see this article.

If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!