Synonyms REST API endpoint
Disclaimer: This endpoint documentation is generated from the latest Sitevision version. It might differ from the actual Sitevision environment where your website resides.
Use the RestApi utility of the Public API for server-side access of this endpoint.
Synonyms
Gets the synonyms configuration for a custom search index.
Applicable to: custom sv:nodeIndex of the sv:indexRepository.
GET
Returns synonyms data for a custom search index.
Requirements
The feature "search-advanced" or "search-enterprise".
Permissions
Requires that the caller is authorized to MANAGE_CUSTOM_SEARCH_INDEX on the sv:site.
Example URL
303.71a4b31177ce2d29321/synonyms
Example response
[ "förskola, dagis", "magnus, mange" ]
Response data notes
The response data is an array of synonym expressions. Each expression represents a line that is written to the synonyms file of the index. Invalid expressions and comment expressions will not be present in the array.