도메인의 컨테이너 타입을 변경합니다.
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
Content-Type: application/json
x-ncp-iam-access-key: teGTwtcSEGA7fu28BGGi
x-ncp-apigw-signature-v2: R1r2ZoxV4QLK/weuoF8ug3NBQDzoecEVQgMRpZGoRp0=
x-ncp-apigw-timestamp: 1545808031360
{
"type": "medium"
}
응답 예시
{"result":"OK"}