Replacement Tokens REST Endpoints

Content (IM)/Replacement Tokens

The Replacement Tokens (replacementTokens) resource lets you manage the ReplacementToken objects in the Oracle Knowledge Repository. Replacement Tokens are used by authors to create a short, manageable term (the tokenName), that can represent standardized, translatable, and sometimes complex content, such as integrated text, images, lists, and tables (the replacementText). Authors reuse the replacementTokens (referenced by tokenName) objects in multiple Content objects and in multiple translations of those Content. When the Content objects are displayed to end-users for a specific translation, any text containing a tokenName is replaced with the token's replacementText for the specified Locale.

Create
Method: post
Path: /km/api/v1/replacementTokens
Delete
Method: delete
Path: /km/api/v1/replacementTokens/{id}
Find all
Method: get
Path: /km/api/v1/replacementTokens
Find by ID
Method: get
Path: /km/api/v1/replacementTokens/{id}
Update
Method: put
Path: /km/api/v1/replacementTokens/{id}