Execute a POST endpoint with input such as the following to add a thesaurus entry with a user-specified ID to the thesaurus:
POST /gsadmin/v1/cloud/thesaurus/user_specified_
id
{
"ecr:type" : "thesaurus-entry",
"type": "one-way",
"synonyms": [
"dig"]
"searchTerms": "digit"
}
Execute a POST endpoint with input such as the following to add a thesaurus entry with a system-generated ID to the thesaurus:
POST /gsadmin/v1/cloud/thesaurus
{
"ecr:type" : "thesaurus-entry",
"type": "one-way",
"synonyms": [
"dig"
]
"searchTerms": "digit"
}
Execute the following POST endpoint to import thesaurus configuration in a zip file:
POST /gsadmin/v1/cloud/thesaurus