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: Changed the example JSON code back to the way it was, in Code Block with line breaks & indentation.

...

For example, consider the following criteria.json file. When you perform a query, the system requires it in the context of a compoundQuery element with a join operator, even if it contains only one simple query.

{
"compoundQuery":
{
 {
      "operator": "AND",


      "queries":
[
{
 [
         {
            "attribute": "source_file_size",


            "value": "10",


            "operator": "NUM_LESS_OR_EQUAL"

}
]
},

         }
      ]
      },
   "detailedResponse": false,


   "page": 1,


   "totalCount": true


}
Code Block
{
   
Panel
borderColorsilver
borderStylesolid
Clipboard
AllowLineWraptrue

With the above criteria.json file, the following command generates a list of data files in DME, in Project_1 and subcollections, that are size 10 or smaller. The output provides a total count of results and lists only the first page (the first 100 paths).

...