I was hoping someone could help me understand the purpose of the Search API's query parameter.
I am attempting to build a program that returns all files having a particular extension that were created in a specific time period. I am making use of the file_extensions, created_at_range, and return_type parameters. I am also specifying an offset and limit.
- I am unclear what I should be specifying for the query parameter. I feel the file_extensions, created_at_range, and return_type parameters clearly define what I want returned.
- I specified a variety of arbitrary values for the query parameter and observed some strange results. When I set the query parameter equal to the file extension I am searching for, while also specifying the file_extensions parameter, no results are returned. If I set the query parameter equal to the file extension I am searching for and DO NOT specify the file extension parameter at all, all of the files I was expecting to be returned, are. Is this behavior expected and reliable?
Please sign in to leave a comment.