tridion-sites-extensions-api-docs

Home > @tridion-sites/open-api-client > ClassificationService

ClassificationService class

Signature:

export declare class ClassificationService

Methods

Method Modifiers Description
autoClassify({ escapedItemId, }) static Automatically classifies the specified item with Concepts from external taxonomy based on the current content and metadata of the item. This operation returns an instance of ‘ClassificationInfo’ type.
getClassifiedItems({ escapedKeywordId, useDynamicVersion, rloItemTypes, resolveDescendantKeywords, resultLimit, }) static Gets a list of all items that are classified with a specified Keyword (internal) or Concept (external). This operation returns an instance of ‘RepositoryLocalObject’ type, as implemented by one of the following:<ul class="model-list"><li>Bundle</li><li>BusinessProcessType</li><li>Category</li><li>Component</li><li>ComponentTemplate</li><li>ExternalCategory</li><li>ExternalComponent</li><li>ExternalContainer</li><li>ExternalKeyword</li><li>Folder</li><li>Keyword</li><li>Page</li><li>PageTemplate</li><li>ResolvedBundle</li><li>Schema</li><li>SearchFolder</li><li>StructureGroup</li><li>TargetGroup</li><li>TemplateBuildingBlock</li></ul>
getKeywordSuggestions({ sourceObject, categoryId, }) static Get suggestions for classifying an item with concepts from an external taxonomy. Suggestions are based on the content and metadata of the source item. This operation returns an instance of ‘KeywordSuggestions’ type.