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
-
Type:
string
Required:true
Specifies the name of your application, for example, Discover.
Security
- basicAuth
-
Type:
basic
Description:Basic username/password authentication.
Response
Supported Media Types
- application/json
- application/zip
200 Response
Thesaurus.
Body
Represents the thesaurus in the ECR. Child nodes should represent thesaurus entries that conform to ThesaurusEntry JSON schema.
Root Schema : Thesaurus
Type:
object
Represents the thesaurus in the ECR. Child nodes should represent thesaurus entries that conform to ThesaurusEntry JSON schema.
- ecr:createDate
-
Type:
string
- ecr:lastModified
-
Type:
string
- ecr:lastModifiedBy
-
Type:
string
- ecr:type
-
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)