NIH | National Cancer Institute | NCI Wiki  

Error rendering macro 'rw-search'

null

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: For HPCDATAMGM-1142: Copied search query that had worked for me in UAT yesterday. Added an example command.

...

For example, consider the following criteria.json file.

Code Block
TBD    {
       "compoundQuery": {
          "operator": "AND",
          "queries": [
             {
                "attribute": "source_file_size",
                "value": "10",
                "operator": "NUM_LESS_OR_EQUAL"
             }
          ] 
		  },
       "detailedResponse": false,
       "page": 1,
       "totalCount": true
    }

With the above criteria.json file, the following command generates a list of data files in DME.

Code Block
TBDdm_query_dataobject criteria.json /Example_Archive/PI_Lab1/Project_1