13 #ifndef mitkNodeQueryParams_h
14 #define mitkNodeQueryParams_h
84 bool ascending =
true;
102 std::optional<std::string>
path;
128 bool includeContent =
true;
#define MITKRESTAPI_EXPORT
std::string key
The property key to filter on.
std::string value
The value to match against (may contain wildcards).
Find image slices visible on a given plane.
PropertyScope
Enumeration for property scope in REST API queries.
@ Node
Only properties from the DataNode's property list.
@ All
Both node and data properties (node takes precedence on conflicts).
@ Data
Only properties from the BaseData's property list.
Hierarchy
Enumeration for hierarchy filter used in node queries.
@ Toplevel
Return only root nodes (nodes with no parent).
@ All
Return all nodes in the DataStorage.
Query parameters for the GET /datastorage/nodes endpoint.
std::vector< std::string > fields
Fields to include in the response (empty means all fields).
std::optional< std::string > path
Filter by path-based lookup.
std::optional< std::string > parentUid
Filter by parent node UID (use "null" for root nodes).
std::vector< PropertyFilter > propertyFilters
Property-based filter criteria.
std::optional< SortSpec > sort
Optional sort specification.
std::optional< std::string > context
Renderer context name for property lookups.
std::optional< std::string > dataType
Filter by MITK data type name.
Query parameters for the GET /datastorage/nodes/{uid}/properties endpoint.
std::vector< std::string > names
Specific property names to return (empty means all properties).
std::optional< std::string > context
Renderer context name for property lookup.
Sort specification for node query results.
std::string field
The field name to sort by (e.g., "name", "timestamp").