I can not search the child folders inside an ancestor folder
CompletedHi,
I have cloned the template folder to another name, then after 10 minutes+ I use Box Search API (https://api.box.com/2.0/search?query=NOT 'some random string'&ancestor_folder_ids='some ids') (1). But I can not find my folders even that string is generated by UUID.
As I expect that I can search for all the folders and children of the children folders inside my parent folder (the result is not bigger than 200 records just around 50 records).
If I use the query='name of folder' (2), It return the folder's info I need. After that My search result just have that folder with the first query.
Can anybody explain me why this happened ?. And I how can I solved it. I ran into a big problem when It took too long to recursive all the folder inside a root folder with box. I figured out the solution that use API search to get All the folder at once.
Please sign in to leave a comment.
Comments
2 comments