Ref: https://box-content.readme.io/reference#searching-for-content
Similar issue: API search: Why is "query" parameter required or not accept wildcard "*" or regex?
I wish to perform a /search for only items within folder and not within its subfolders.
ancestor_folder_id
Limit searches to specific parent folders. Requires one or a set of comma delimited folder_ids: folder_id_1,folder_id_2,.... Parent folder results will also include items within subfolders.
I do not wish to include items within subfolders ?
I could do this the brut force way of getting all items from a folder then filter externally for type that are folders and then by folder name.
Box API development: Please update /search endpoint.