getCatalogData query supports powerful filtering capabilities, allowing users to narrow down the list of catalog items.
Within a Standard API, the system offers next predefined filters:
Within the Custom API, the list of filters is automatically extended with any client-defined custom fields. Please refer to the dedicated documentation for full implementation details.
The list of available filters can be fetched using the
getCatalogFilters query:
UI Rendering Guidelines
To ensure a consistent and intuitive user experience, follow these guidelines when rendering filters in the client platform:Applying Filters
Filtering is configured using thefilters argument in the getCatalogData query.
Filtering can be combined with sorting and pagination arguments to further refine the results.
Filtering Arguments
Each
FilterInput consists of:
FilterInput Fields
Example: Applying Multiple Filters
The following example applies multiple filters to thegetCatalogData query: duration filter selecting specific predefined options, search filter using free-text input to match training by title, and bookmark filter to show only bookmarked.