Containerタイプ変更

Prev Next

Domainのコンテナタイプを変更します。

PATCH https://cloudsearch.apigw.ntruss.com/CloudSearch/real/v1/domain/{name}/type

リクエスト

リクエストパラメータ

パラメータ名 必須 タイプ 制約事項 説明
name Yes string 作成されているDomain名

リクエストボディ

フィールド名 必須 タイプ 制約事項 説明
type Yes string small, medium, large, xlarge, xxlarge, xxxlargeの中の一つを選択 変更するコンテナタイプ

レスポンス

レスポンスStatus

HTTP Status Desc
200 OK(変更完了)
400 Bad Request
401 Unauthorized
401 there is no such service
403 Forbidden
404 Not Found
500 Internal Server Error

例示

リクエスト例示

PATCH /CloudSearch/real/v1/domain/car/type HTTP/1.1
Host: cloudsearch.apigw.ntruss.com
accept:application/json
x-ncp-iam-access-key: teGTwtcSEGA7fu28BGGi
x-ncp-apigw-signature-v2: R1r2ZoxV4QLK/weuoF8ug3NBQDzoecEVQgMRpZGoRp0=
x-ncp-apigw-timestamp: 1545808031360

{
  "type": "medium"
}

レスポンス例示

{"result":"OK"}