...
Code Block |
---|
asset.query :where "namespace='/projects/Data Team' and name='*.PNG'" |
To If you wish to search in /projects/Data TeamĀ and all folders underneath it, use:
Code Block |
---|
asset.query :wherenamespace "namespace>='/projects/Data Team'" and:where "name='*.PNG'" |
Searching for all assets that were created after a certain date would be done as follows:
Code Block |
---|
asset.query :wherenamespace "namespace>='/projects/Data Team'" and:where "ctime>='01-Jan-2017'" |
Similar searches could be done using a geometric bounding box if your data has geospatial information attached.
...