Domain重複確認

Prev Next

Domainが存在するか・しないかを確認します。

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

リクエスト

リクエストパラメータ

パラメータ名 必須 タイプ 制約事項 説明
name Yes string Domain名

レスポンス

レスポンスStatus

HTTP Status Desc
200 OK(該当Domainが存在しない。)
400 Service already exist
400 Bad Request
401 Unauthorized
403 Forbidden
404 Not Found
500 Internal Server Error

例示

リクエスト例示

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

レスポンス例示

{"result":"ok"}