Search Filtering via API

Search Filtering via API

Hi,

I'm interested in searching for specific file extensions in Zoho WorkDrive via the API (msg) file extensions.

In the API Documentation it says you can filter by any of the resources attributes or metadata.



As we can see the Extension ("extn") is an attribute of the file.


But when I call the API and include the filter[extn]=msg based on the documentation I receive the following error:

{"errors":[{"id":"F6012","title":"Number of parameters is more than specified"}]}

//Prepare query params
queryParams = "search%5Bcontent%5D=Example";
queryParams = queryParams + "&filter%5BparentId%5D=" + workdriveFolderId;
queryParams = queryParams + "&filter%5Bextn%5D=msg";
queryParams = queryParams + "&sort=created_time";
info queryParams;
//
searchClientWorkDriveFolder = invokeurl
[
url :"https://www.zohoapis.com/workdrive/api/v1/teams/rhhtw9f730d9XXXXXXXXXXX5decefc8d8/records?" + queryParams
type :GET
headers:headerMap
connection:"workdrive_connection"
];
info searchClientWorkDriveFolder;

Is there something I'm missing here?


    Access your files securely from anywhere

        Zoho Developer Community




                                  Zoho Desk Resources

                                  • Desk Community Learning Series


                                  • Digest


                                  • Functions


                                  • Meetups


                                  • Kbase


                                  • Resources


                                  • Glossary


                                  • Desk Marketplace


                                  • MVP Corner


                                  • Word of the Day



                                      Zoho Marketing Automation
                                              • Sticky Posts

                                              • Ask the Experts: Five-hour live Q&A session with Zoho WorkDrive product experts

                                                Hello all, We are excited to host the Ask the Experts session on July 18, 2024 between 2:00 PM – 7:00 PM IST. Whether you're just starting to use Zoho WorkDrive, or if you've been with us for a while, this session is an amazing opportunity to discuss
                                              • WorkDrive API Documentation

                                                WorkDrive provides users and developers an extensive set of APIs to help integrate functionalities of Zoho WorkDrive with other Zoho applications and third-party tools. We have published the official WorkDrive API Documentation page for all external users.
                                              • March 15, 2023: Zoho Docs is discontinued

                                                As of today (March 15, 2023) Zoho Docs is discontinued for all users. We would like to thank our customers for trusting us for so many years! Going forward, we're confident you'll enjoy using Zoho WorkDrive for all your advanced file management and collaboration
                                              • Support for auto-upgrade in TrueSync (for Windows)

                                                WorkDrive TrueSync app now supports auto-upgrading to the latest version for Windows OS. You must manually download and install the TrueSync app version 3.4.0 to avail this feature. Download the latest TrueSync app for Windows (version 3.4.0) Supported
                                              • Introducing Collections

                                                Create collection links to easily request any number of users to upload files to a particular folder. Once users upload their files, you will be able to view their submissions and manage their files effortlessly. Users don't need a WorkDrive account to


                                              Manage your brands on social media



                                                    Zoho TeamInbox Resources

                                                      Zoho DataPrep Resources



                                                        Zoho CRM Plus Resources

                                                          Zoho Books Resources


                                                            Zoho Subscriptions Resources

                                                              Zoho Projects Resources


                                                                Zoho Sprints Resources


                                                                  Qntrl Resources


                                                                    Zoho Creator Resources



                                                                        Zoho Campaigns 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