We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
NavPanchhi
4 years agoExplorer | Level 3
Simple file name retrieving using javascript
Hello, I'm really new to working with the dropbox API and was completely lost on how to retrieve file names. My main goal is to just have a list of the files' names that are uploaded to Dropbox disp...
NavPanchhi
4 years agoExplorer | Level 3
Hello,
I am currently using the ajaz call below to achieve what I need but am still facing issues.
$.ajax({
type: 'POST',
url: 'https://api.dropboxapi.com/2/files/get_metadata',
data: "{\"include_deleted\":false,\"include_has_explicit_shared_members\":false,\"include_media_info\":false,\"path\":\""}",
contentType: "application/json",
beforeSend: function(xhr) {
xhr.setRequestHeader("Authorization", "Bearer ***")
}, success: function(data){
console.log(data);
}
})
Greg-DB
Dropbox Community Moderator
4 years agoPlease clarify what you mean when you say you are "still facing issues". For example, share any unexpected error or output.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
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!