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: 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
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)