NIH | National Cancer Institute | NCI Wiki  

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Deleted based on 1/19 discussion.

If your user account has the Read , Write, or Own permission level on a collection or data file in DME,  you can search you can search for that data.  You You can perform a simple query, or you can combine multiple simple queries into a compound query.

A simple query consists of the following parts:

• "attribute"

• "value"

• "operator"

• “levelFilter”

• “attributeMatch”

A compound query consists of the following parts:

• Join operator

• List of queries (filtering criteria)

• List of compound queries (filtering criteria)

A compound query should at least have one simple query that could be part of a list of queries or a list of nested compound queries.

You can use a join operator to combine multiple simple or compound queries (or both simple and compound). Valid values are as follows:

“AND”

“OR”

Consider the following indicators:

•detailedResponse: By default, the search returns only the path of matched resulted collections. If “detailedResponse=true”, this service returns collections with metadata.

•page: Ask for a specific page of results. By default, the query returns the first 100 results in page 1, the second 100 in page 2, and so on. If omitted, the query fetches page 1.

When you perform a query, the system requires it in the context of a compoundQuery element, even if it contains only one simple query.  

Consider browsing this page family:

Page Tree
root@self
startDepth2
•totalCount: If you set this indicator to ‘true’, this service returns a total count of collections matching the query regardless of the query limit and page. The default for this indicator is false, so if you omit it, this service does not return a total count.