Forum Discussion

Arcanils's avatar
Arcanils
New member | Level 2
10 years ago
Solved

Issue medata api v1

Hello ! I am using the request metadata of your api v1 and i am getting successfully the contents of my directory. But it doesn't show / count the files with the Extension .zip, gg, ggb and ggt. ...
  • Greg-DB's avatar
    10 years ago

    As long as you're using an app with the "full Dropbox" permission, this call should return all files in the specified path, regardless of extension.

     

    You are specifying the path "/CahierFantastique" though. Are you sure the files you're looking for are in that folder in the connected Dropbox account?

     

    For example, if they are in the root folder of the account, you would just specify "/" instead (i.e., https://api.dropbox.com/1/metadata/dropbox/?oauth_...).

     

    Also, you're using API v1, which is deprecated. You should migrate to API v2 whenever possible.

     

    To list items under a particular path using API v2, you would use /2/files/list_folder[/continue]. (Note that in API v2 though, the root folder is identified using the empty string "", instead of "/".)

About Dropbox API Support & Feedback

Node avatar for 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!