Queries the historical index versions of a data source.
Operation description
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request syntax
GET /openapi/ha3/instances/{instanceId}/data-sources/{dataSourceName}/generations
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
instanceId | string | Yes | The instance ID. | ha-cn-7mz2ttxta01 |
dataSourceName | string | Yes | The name of the data source. | ha-cn-0ju2s170b03_test_api2 |
validStatus | boolean | No | Specifies the index versions to be returned. Valid values:
| true |
domainName | string | Yes | The data center where the data source is deployed. | bj_vpc_domain_1 |
Response parameters
Examples
Sample success responses
JSON
format
{
"requestId": "022F36C7-9FB4-5D67-BEBC-3D14B0984463",
"result": [
{
"generation": 1626143930,
"createTime": 1626143673,
"status": "STOPPED",
"buildDeployId": 122,
"partition": {
"key": 1
},
"timestamp": 1626143673,
"dataDumpRoot": "\"\""
}
]
}
Error codes
For a list of error codes, visit the Service error codes.