View thesaurus
get
/gsadmin/v1/{appName}/thesaurus
Returns the thesaurus configuration for the specified application. Returns metadata about the thesaurus (e.g. who created it and when) along with a list of thesaurus entries.
If zip extension is specified (add ".zip" at the end of the path), the thesaurus configuration is exported as a zip file.
Request
Supported Media Types
- application/json
Path Parameters
-
appName(required): string
Specifies the name of your application. For example, "cloud".
Security
-
basicAuth: basic
Type:
basic
Description:Basic username/password authentication.
Response
Supported Media Types
- application/json
- application/zip
200 Response
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
-
ecr:createDate:
string
-
ecr:lastModified:
string
-
ecr:lastModifiedBy:
string
-
ecr:type:
string
Default Value:
thesaurus
Examples
The following examples show how to export the entire thesaurus for the cloud application:
curl -H "Authorization:Bearer <token>" -X GET http://host:port/gsadmin/v1/cloud/thesaurus (JSON format)
curl -H "Authorization:Bearer <token>" -X GET http://host:port/gsadmin/v1/cloud/thesaurus.zip (ZIP format)