Search API
Hi, I am still new to developing with box api and is troubled by the following problem.
items = client.search().query(query="\"document\"", md_filters=[{"scope":"enterprise","templateKey":"caseFolder","filters":{"id":"12344,12344"}}], type='folder')
I want to search for a particular folder with folder name matches "document" exactly and I have specified the metadata for the folder as well. id is a number type metadata and I used a comma to specify to and from. (not sure if this is right, referenced it from the created date parameter.)
Instead of obtaining one result like the search function within the drive, I have been obtaining multiple results. How can I only get one result? Is my code wrong or is this just how things work.
Thank you in advance.
Please sign in to leave a comment.
Comments
1 comment