接口地址:/webapi/db/getGoldenDBRestorePoint/{instanceId}
请求方式:GET
请求数据类型:application/x-www-form-urlencoded
响应数据类型:*/*
接口描述:
查询GoldenDB数据库恢复点接口
请求参数:
| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
|---|---|---|---|---|---|
| instanceId | path | true | integer(int32) | ||
| startTime | query | true | integer(int64) | ||
| endTime | query | true | integer(int64) |
响应状态:
| 状态码 | 说明 | schema |
|---|---|---|
| 200 | OK | ResponseResultListGoldenDBRestorePointVo |
响应参数:
| 参数名称 | 参数说明 | 类型 | schema |
|---|---|---|---|
| message | 返回状态标记 | string | |
| statFlag | 返回状态 | integer(int32) | integer(int32) |
| dataInfo | 返回的数据 | array | GoldenDBRestorePointVo |
| jobId | 作业ID | integer(int64) | |
| clientId | 客户端ID | integer(int64) | |
| backupObjectSetId | 备份对象集合id | integer(int64) | |
| jobTypeId | 作业类型ID | integer(int32) | |
| jobStatusId | 作业状态id | integer(int32) | |
| userId | 用户id | string | |
| planId | 计划id | integer(int64) | |
| backupLevel | 备份级别 | integer(int32) | |
| modelType | 备份类型 | integer(int32) | |
| attemptStartTime | integer(int64) | ||
| endTime | 结束时间 | integer(int64) | |
| agentType | 代理类型 | integer(int32) | |
| backupObjectSetName | 备份集名称 | string | |
| storageContainerId | 存储副本id | integer(int64) | |
| backupContent | 备份内容 | array | object |
| dataCount | 返回数据条数 | integer(int32) | integer(int32) |
响应示例:
{
"message": "操作成功",
"statFlag": 0,
"dataInfo": [
{
"jobId": 0,
"clientId": 0,
"backupObjectSetId": 0,
"jobTypeId": 0,
"jobStatusId": 0,
"userId": "",
"planId": 0,
"backupLevel": 0,
"modelType": 0,
"attemptStartTime": 0,
"endTime": 0,
"agentType": 0,
"backupObjectSetName": "",
"storageContainerId": 0,
"backupContent": []
}
],
"dataCount": 10
}