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: Replaced the Code Block macro with a Panel macro and Text to Copy macro.

...

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.

Panel
borderColorsilver
borderStylesolid
Clipboard

{

Code Block
{

"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, 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).

...