Forum Discussion

Gopal B.'s avatar
Gopal B.
New member | Level 1
10 years ago

How to get metadata for files and folders in Dropbox REST API v2 C# using Nemiro.OAuth

I'm converting Dropbox features from v1 to v2. In Dropbox v1 I'm fetching metadata using the below code-
     RequestResult strReq = OAuthUtility.Get
                           (
                             "https://api.dropbox.com/1/metadata/auto/",
                             new HttpParameterCollection
                            {
                              { "path", "" },
                              { "access_token", "AccessToken" }
                            }
                           );

Now I want to make the same call in Dropbox API v2.I have seen the example mentioned at https://www.dropbox.com/developers/documentation/http/documentation#files-alpha-get_metadata
I couldn't find the proper syntax to get the metadata for files/ folders in v2.If anyone has any idea or sample code how to call the same thing in Dropbox v2 please share.
 

1 Reply

Replies have been turned off for this discussion

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!