All Products
Search
Document Center

OpenSearch:GetIndexOnlineStrategy

Last Updated:Jul 19, 2024

Queries the online effective policy of an index.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request syntax

GET /openapi/ha3/instances/{instanceId}/data-sources/{dataSourceName}/deploys/{deployName}/indexes/{indexName}/online-strategy

Request parameters

ParameterTypeRequiredDescriptionExample
instanceIdstringYes

The instance ID.

ha-cn-7mz2iv7sq01
dataSourceNamestringYes

The name of the data source.

ha-cn-0ju2rps6c08_api_test
deployNamestringYes

The name of the data center in which the data source is deployed.

vpc_hz_domain_1
indexNamestringYes

The index name.

test_api

Response parameters

ParameterTypeDescriptionExample
object
requestIdstring

The request ID.

FE03180A-0E29-5474-8A86-33F0683294A4
resultobject

The result.

changeRateinteger

The index change rate.

20

Examples

Sample success responses

JSONformat

{
  "requestId": "FE03180A-0E29-5474-8A86-33F0683294A4",
  "result": {
    "changeRate": 20
  }
}

Error codes

For a list of error codes, visit the Service error codes.