Confirm whether there is a duplicate thesaurus.
GET https://cloudsearch.apigw.ntruss.com/CloudSearch/real/v1/domain/{name}/synonym/check/{synoName}
Request
Request parameters
Parameter name |
Requirement status |
Type |
Restrictions |
Explanation |
name |
Yes |
string |
|
Domain name |
synoName |
Yes |
string |
|
Thesaurus name |
Response
Response statuses
HTTP status |
Desc |
200 |
OK (Thesaurus does not exist) |
400 |
Same named synonym exists |
400 |
Bad Request |
401 |
Unauthorized |
403 |
Forbidden |
404 |
Not Found |
500 |
Internal Server Error |
Example
Request example
GET https://cloudsearch.apigw.ntruss.com/CloudSearch/real/v1/domain/my_service/synonym/check/syno
Response example
{"result":"ok"}