更新时间:2023-08-18 GMT+08:00
分享

获取可恢复的备份详情

功能介绍

获取可恢复的备份详情

URI

GET /v2/{project_id}/huaweicloudchain/restore/backups/{backup_id}

表1 路径参数

参数

是否必选

参数类型

描述

project_id

String

项目ID

最小长度:32

最大长度:32

backup_id

String

备份ID

最小长度:36

最大长度:36

请求参数

表2 请求Header参数

参数

是否必选

参数类型

描述

X-Auth-Token

String

用户Token

最小长度:1

最大长度:65535

响应参数

状态码: 200

表3 响应Body参数

参数

参数类型

描述

id

String

备份id

name

String

备份名称

instance_id

String

实例id

instance_name

String

实例名称

instance_edition

String

实例版本类型

instance_consensus

String

实例共识

instance_sign_algorithm

String

实例签名算法

instance_org

String

组织信息

enterprise_project_id

String

企业项目id

enterprise_project_name

String

企业项目名称

status

String

状态

reason

String

失败原因

type

String

备份方式

create_time

String

备份时间

状态码: 400

表4 响应Body参数

参数

参数类型

描述

code

String

状态码

最小长度:3

最大长度:3

error_code

String

错误码

最小长度:12

最大长度:12

error_msg

String

错误信息

最小长度:1

最大长度:65535

message

String

错误详细信息

最小长度:1

最大长度:65535

状态码: 401

表5 响应Body参数

参数

参数类型

描述

code

String

状态码

最小长度:3

最大长度:3

error_code

String

错误码

最小长度:12

最大长度:12

error_msg

String

错误信息

最小长度:1

最大长度:65535

message

String

错误详细信息

最小长度:1

最大长度:65535

状态码: 403

表6 响应Body参数

参数

参数类型

描述

code

String

状态码

最小长度:3

最大长度:3

error_code

String

错误码

最小长度:12

最大长度:12

error_msg

String

错误信息

最小长度:1

最大长度:65535

message

String

错误详细信息

最小长度:1

最大长度:65535

状态码: 500

表7 响应Body参数

参数

参数类型

描述

code

String

状态码

最小长度:3

最大长度:3

error_code

String

错误码

最小长度:12

最大长度:12

error_msg

String

错误信息

最小长度:1

最大长度:65535

message

String

错误详细信息

最小长度:1

最大长度:65535

请求示例

响应示例

状态码: 200

请求成功

{
  "id" : "string",
  "name" : "string",
  "instance_id" : "string",
  "instance_name" : "string",
  "instance_edition" : "string",
  "instance_consensus" : "string",
  "instance_sign_algorithm" : "string",
  "instance_org" : "string",
  "enterprise_project_id" : "string",
  "enterprise_project_name" : "string",
  "status" : "string",
  "reason" : "string",
  "type" : "string",
  "create_time" : "string"
}

状态码

状态码

描述

200

请求成功

400

参数错误

401

鉴权失败

403

权限不足

500

服务器内部错误

分享:

    相关文档

    相关产品