API function to download all files and directories/folders/team folders

API function to download all files and directories/folders/team folders

I need to move a folder from each Team folder to a new team folder via API.

Current structure:
Team Folder 1A
   Sub Folder 1A
....
Team Folder 3000A
  Sub folder 3000A

---------------------
Future structure:
Team Folder 1B
   Sub Folder 1A
....
 Team Folder 3000B
    Sub folder 3000A

I have approximately 6000 team folders, 3000 in  the current structure and 3000 already setup in the future structure. I mention this to explain why an API is necessary.

I've read the API documentation and was wondering:
 1 - Is there an API that will return all existing team folders and their associated sub folders? (For example this would return over 6000 team folders and 3000 sub folders.)
 2 - For searching I'm confused as to how the API is to be written. I've tried: 
/api/v1/teams/<id>/records/search%5Ball%5D=<search_query> but this is wrong.
 3 - Will the search function return all the IDs and parent IDs if I search for "Sub Folder"

    Access your files securely from anywhere







                            Zoho Developer Community




                                                  • Desk Community Learning Series


                                                  • Digest


                                                  • Functions


                                                  • Meetups


                                                  • Kbase


                                                  • Resources


                                                  • Glossary


                                                  • Desk Marketplace


                                                  • MVP Corner


                                                  • Word of the Day


                                                  • Ask the Experts





                                                            Manage your brands on social media



                                                                  Zoho TeamInbox Resources



                                                                      Zoho CRM Plus Resources

                                                                        Zoho Books Resources


                                                                          Zoho Subscriptions Resources

                                                                            Zoho Projects Resources


                                                                              Zoho Sprints Resources


                                                                                Qntrl Resources


                                                                                  Zoho Creator Resources



                                                                                      Zoho CRM Resources

                                                                                      • CRM Community Learning Series

                                                                                        CRM Community Learning Series


                                                                                      • Kaizen

                                                                                        Kaizen

                                                                                      • Functions

                                                                                        Functions

                                                                                      • Meetups

                                                                                        Meetups

                                                                                      • Kbase

                                                                                        Kbase

                                                                                      • Resources

                                                                                        Resources

                                                                                      • Digest

                                                                                        Digest

                                                                                      • CRM Marketplace

                                                                                        CRM Marketplace

                                                                                      • MVP Corner

                                                                                        MVP Corner









                                                                                          Design. Discuss. Deliver.

                                                                                          Create visually engaging stories with Zoho Show.

                                                                                          Get Started Now


                                                                                            Zoho Show Resources

                                                                                              Zoho Writer

                                                                                              Get Started. Write Away!

                                                                                              Writer is a powerful online word processor, designed for collaborative work.

                                                                                                Zoho CRM コンテンツ



                                                                                                  Nederlandse Hulpbronnen


                                                                                                      ご検討中の方