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

Copyright © 1997, 2017 Oracle and/or its affiliates. All rights reserved. Legal Notices