I'm writing an app where I'd like to be able to search for all video/image files in a particular folder. For example, for the root I was imagining that I'd be able to post something like this to files/search_v2 :
{
"options" :
{
"file_categories": ["video", "image"]
}
}
but that fails because I haven't supplied a 'query' parameter. If I supply this :
{
"query" : "*",
"options" :
{
"file_categories": ["video", "image"]
}
}
then there are no matches (presumbly because I have no files with an asterisk in the name).
Is it possible to search for files (or folders) without having to specify a 'query' (in order to find all files which match the supplied 'options' criteria)?