I would like to list only all music files on dropbox using API v2.
path???????
ListFolderBuilder listFolderBuilder = client.files().listFolderBuilder(path);
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.)