Change container count

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.

Changes the number of containers for searches in a domain.

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

Request

Request Parameters

Parameter Required Type Limitations Description
name Y string Domain name

Request Body

Field Required Type Limitations Description
count Y number Min: 1, Max: 4 Number of containers for searches

Response

Response status

HTTP status Description
200 OK (Successfully created)
400 Bad Request
401 Unauthorized
401 there is no such service
403 Forbidden
404 Not Found
500 Internal Server Error

Examples

Request Example

PATCH /CloudSearch/real/v1/domain/car_beta/container/searcher 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

{
  "count": 3
}

Request Example

{"result":"OK"}