Queries the online effective policy of an index.
Operation description
Method
GET
URI
/openapi/ha3/instances/{instanceId}/data-sources/{dataSourceName}/deploys/{deployName}/indexes/{indexName}/online-strategy
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
searchengine:GetIndexOnlineStrategy |
get |
*Instance
|
None | None |
Request syntax
GET /openapi/ha3/instances/{instanceId}/data-sources/{dataSourceName}/deploys/{deployName}/indexes/{indexName}/online-strategy HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| instanceId |
string |
Yes |
The instance ID. |
ha-cn-pl32rf0**** |
| dataSourceName |
string |
Yes |
The name of the data source. |
ha-cn-pl32rf0****_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_api |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
No parameters required.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| requestId |
string |
The request ID. |
FE03180A-0E29-5474-8A86-33F0683294A4 |
| result |
object |
The result. |
|
| changeRate |
integer |
The index change rate. |
20 |
Examples
Success response
JSON format
{
"requestId": "FE03180A-0E29-5474-8A86-33F0683294A4",
"result": {
"changeRate": 20
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.