Check domain name

Prev Next

We are preparing a localization service for the content. We will do our best to provide the localization service as soon as possible.

Checks whether a domain exists.

GET https://cloudsearch.apigw.ntruss.com/CloudSearch/real/v1/domain/check/{name}

Request

Request Parameters

Parameter Required Type Limitations Description
name Y string Domain name

Response

Response status

HTTP status Description
200 OK (Domain does not exist.)
400 Service already exist
400 Bad Request
401 Unauthorized
403 Forbidden
404 Not Found
500 Internal Server Error

Examples

Request Example

GET https://cloudsearch.apigw.ntruss.com/CloudSearch/real/v1/domain/check/my_service

GET /CloudSearch/real/v1/domain/check/my_service
HOST: cloudsearch.apigw.ntruss.com
Conent-Type: application/json
x-ncp-apigw-signature-v2: FUH8aCU66wfe83v1BeTqSIvsSzhJiTcRnbC13g4XRY4=
x-ncp-apigw-timestamp: 1545627282073
x-ncp-iam-access-key: teGTwtcSEGA7fu28BGGi

Request Example

{"result":"ok"}