View thesaurus entry
get
/gsadmin/v1/{appName}/thesaurus/{thesaurusEntryId}
Returns the thesaurus entry configuration for the specified thesaurus entry id. Returns metadata about the thesaurus entry (e.g. who created it and when).
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".
-
thesaurusEntryId: string
Specifies the id of the thesaurus entry.
Security
-
basicAuth: basic
Type:
basic
Description:Basic username/password authentication.
Response
Supported Media Types
- application/json
- application/zip
200 Response
Thesaurus entry.
Examples
The following example shows how to view a single record in the specified collection using the record ID:
curl -H "Authorization:Bearer <token>" -X GET http://host:port/gsadmin/v1/cloud/thesaurus/user_specified_id -o OUTPUT_FILE (JSON format)
curl -H "Authorization:Bearer <token>" -X GET http://host:port/gsadmin/v1/cloud/thesaurus/user_specified_id.zip -o OUTPUT_FILE (ZIP format)