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: 

Issue medata api v1

Issue medata api v1

Arcanils
New member | Level 2
Go to solution

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.

I am not used to http request. So it's mostlikely that i am missing an argument or something else.

 

The request :

https://api.dropbox.com/1/metadata/dropbox/CahierFantastique/?oauth_consumer_key= *** &oauth_token= *** &oauth_signature_method=PLAINTEXT&oauth_signature= *** &oauth_version=1.0&file_limit=10000&list=True&include_deleted=False

1 Accepted Solution

Accepted Solutions

Greg-DB
Dropbox Staff
Go to solution

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 "/".)

View solution in original post

2 Replies 2

Greg-DB
Dropbox Staff
Go to solution

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 "/".)

Arcanils
New member | Level 2
Go to solution
Thx for your reply. It was a relica of you Type of file on my app. It was on only text documents and pictures. I recreated my app, set the fullbox option and the problem was solved.
Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Arcanils New member | Level 2
  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?