...
Code Block |
---|
POST - /data/search |
Parameters:
format | Optional querystring parameter. Specifies the format of the returned data
|
---|---|
body | Required search definition. Can be included in the body, or in a supplied XML file |
Response: A valid search will return a formatted search result, showing data that the user has permission to see.
...
Code Block |
---|
GET - /data/search/elements |
Parameters:
format | Optional querystring parameter. Specifies the format of the returned data
|
---|
Response:
Showing JSON formatted results. Note that the ELEMENT_NAME field corresponds with the XNAT xsiType for that data type.
...
Code Block |
---|
GET - /data/search/elements/{xsiType} |
Parameters
{xsiType} | Required path parameter. |
---|---|
format | Optional querystring parameter. Specifies the format of the returned data
|
Response
Displaying JSON-formatted result for a search on /data/search/elements/xnat:subjectData
Expand | ||
---|---|---|
| ||
|
Get A List Of Search Report Versions For A Data Type
In the Advanced Search UI, you will notice a set of options when joining two data types together, whether you want to join a "Brief" or "Detailed" view of the data. These are two defined search report versions for a given data type. There are also other defined versions that may be shown in various contexts. This REST endpoint returns a full list of those versions.
Code Block |
---|
GET - /data/search/elements/{xsiType}/versions |
Parameters
{xsiType} | Required path parameter. |
---|---|
format | Optional querystring parameter. Specifies the format of the returned data
|
Response:
Displays just the contents of the "versions" object in the xsiType search example listed above