cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Back again with another edition of 'How we use Dropbox', so find out how Emma uses to-do lists to get it all done 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

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

Re: Issue medata api v1

Greg-DB
Dropboxer

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

Re: Issue medata api v1

Greg-DB
Dropboxer

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

Re: Issue medata api v1

Arcanils
New member | Level 2
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.
Poll
We love to learn from the educators who use Dropbox. Whether you teach kids, teens, adults or a combination of all three, we want to know what apps and integrations you use with Dropbox to help with teaching. Which of the ones below is your favorite, or most used tool?
Who's talking

Top contributors to this post

  • User avatar
    Arcanils New member | Level 2
  • User avatar
    Greg-DB Dropboxer
What do Dropbox user levels mean?
Need more support?