Create thesaurus entry

post

/gsadmin/v1/{appName}/thesaurus/{thesaurusEntryId}

Creates thesaurus entry in the specified application.

Request

Supported Media Types
Path Parameters
Body ()
The thesaurus entry to create.
Root Schema : ThesaurusEntry
Type: object
Represents the thesaurus entry in the ECR.
Show Source
Nested Schema : synonyms
Type: array
Show Source
Security
Back to Top

Response

Supported Media Types

201 Response

Thesaurus entry successfully created.
Body ()
Root Schema : Response
Type: object
Show Source
Back to Top

Examples

Request Body Example

The following example shows how to add a thesaurus entry with a user-specified ID to the thesaurus:

{
	"ecr:type" : "thesaurus-entry",
 	"type": "one-way",
  	"synonyms": [  "blouse"  ] 
 	"searchTerms": "shirt"
}
Back to Top