We're making changes to the Community, so you may have received some notifications - thanks for your patience and welcome back. Learn more here.

Forum Discussion

prabhat1999's avatar
prabhat1999
Explorer | Level 3
5 months ago

Tagging Folder

I have manually added the tags to a folder.
now I want to search the folders with the given tag.
is there a way to get only folders not files?

PS:- I am aware of 2/files/search_v2 API but I want to search folders from their tags not with the folder name

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff

    You can use /2/files/search_v2 to search for items, and set options.file_categories to "folder" to restrict the results to folders only. Refer to the documentation for more information. You can also try out calls using the API v2 Explorer.

    • prabhat1999's avatar
      prabhat1999
      Explorer | Level 3

      how to seach with tag name

       

      as shown in the image the tag in "testingTag"

      I want to search for folders with this tag

       

      • Rich's avatar
        Rich
        Icon for Super User II rankSuper User II

        prabhat1999 wrote:

        how to seach with tag name


        Just to be clear, are you asking how to perform this search on the Dropbox website in your browser, or are you using an app or other programing to do the search? I ask because you've posted this in the API section, which is for people that are programming their own application to connect to Dropbox.

About Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,875 PostsLatest Activity: 5 hours ago
323 Following

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 or Facebook.

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!