Modifies the online policy of an index.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request syntax
PUT /openapi/ha3/instances/{instanceId}/data-sources/{dataSourceName}/deploys/{deployName}/indexes/{indexName}/online-strategy
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
instanceId | string | Yes | The instance ID. | ha-cn-0ju2rps6c08 |
dataSourceName | string | Yes | The name of the data source. | ha-cn-0ju2rps6c08_api_test |
deployName | string | Yes | The name of the data center in which the data source is deployed. | vpc_hz_domain_1 |
indexName | string | Yes | The index name. | test_tusou_v2 |
body | object | No | The request body. | |
changeRate | integer | No | The index change rate. | 20 |
Response parameters
Examples
Sample success responses
JSON
format
{
"requestId": "10D5E615-69F7-5F49-B850-00169ADE513C",
"result": {}
}
Error codes
For a list of error codes, visit the Service error codes.