해당 도메인의 검색용 컨테이너 개수를 변경합니다.
PATCH https://cloudsearch.apigw.ntruss.com/CloudSearch/real/v1/domain/{name}/container/searcher
요청
요청 파라미터
파라미터명 |
필수 여부 |
타입 |
제약 사항 |
설명 |
name |
Yes |
string |
|
생성되어져 있는 Domain 이름 |
요청 바디
필드명 |
필수 여부 |
타입 |
제약 사항 |
설명 |
count |
Yes |
number |
Min:1, Max:4 |
검색용 컨테이너 요청 개수 |
응답
응답 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_beta/container/searcher 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
{
"count": 3
}
응답 예시
{"result":"OK"}