This would be useful for admin & data QA (e.g., after running a scripted update on subset of images and want to view those images). Maybe you pass in a semi-secret query param and the filter appears? Treat the query just like an additional filter, just tack it on to the rest of them in the getImages request, allow for it to be saved in views, etc.
It looks like there are some modules for validating mongoDB queries and for parsing string queries into JSON queries.
This would be useful for admin & data QA (e.g., after running a scripted update on subset of images and want to view those images). Maybe you pass in a semi-secret query param and the filter appears? Treat the query just like an additional filter, just tack it on to the rest of them in the
getImages
request, allow for it to be saved in views, etc.It looks like there are some modules for validating mongoDB queries and for parsing string queries into JSON queries.