Partial update thesaurus

patch

/gsadmin/v1/{appName}/thesaurus

Partial updates one or more thesaurus entries in the specified application.

Request

Supported Media Types
Path Parameters
Body ()
The request body represents the partially updated thesaurus.
Root Schema : Thesaurus
Type: object
Represents the thesaurus in the ECR. Child nodes should represent thesaurus entries that conform to ThesaurusEntry JSON schema.
Show Source
Security
Back to Top

Response

Supported Media Types

202 Response

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

Examples

A PATCH endpoint cannot access an object through its parent object. Thus, you cannot use this endpoint to modify the thesaurus entries contained in the thesaurus. The following request generates an error:

PATCH /gsadmin/v1/cloud/thesaurus

Request Body

{
 "ecr:type" : "thesaurus", 
 "auto_generated_id":
  {
  	"ecr:type" : "thesaurus-entry",
 	"synonyms": [  "jersey"  ] 
 	}
}
Back to Top