最近更新时间:2024-04-19 15:05:31
关于所有操作需要的通用参数,请参照通用请求-公共参数
英文名称 | 中文名称 | 类型 | 是否必须 | 备注 |
---|---|---|---|---|
Action | 调用接口名称 | String | 是 | 取固定值:DescribeMongoDBSnapshot |
Version | API版本号 | String | 是 | 取固定值: 2017-01-01 |
InstanceId | 实例Id | String | 是 | – |
GET
请求的返回信息请参照样例
关于所有操作返回的错误信息,请参照通用请求-通用错误信息
请求样例
https://mongodb.${region}.api.ksyun.com/
api?Action=DescribeMongoDBSnapshot
&Version=2017-01-01
&InstanceId=xxxxxxxxxxxxx
返回样例
{
"RequestId": "9661b6a7-faa7-4764-91da-7e30921967ad",
"MongoDBSnapshotResult": [
{
"SnapshotId": "466cf210-7c10-4131-ab30-2b4ae5f12576",
"Name": "autobackup-20170315100003",
"InstanceId": "0e9fe286-64ff-42ae-adb3-653f68b70920",
"Type": "Timing",
"Size": 12,
"Status": "available",
"BackupMode":"Physical",
"CreateTime": "2017-03-15 10:00:03",
"UpdateTime": "2017-03-15 10:00:16"
},
{
"SnapshotId": "b1e50623-9dd6-47be-8eb9-9ab11a7b8449",
"Name": "autobackup-20170314100019",
"InstanceId": "0e9fe286-64ff-42ae-adb3-653f68b70920",
"Type": "Timing",
"Size": 12,
"Status": "available",
"BackupMode":"Physical",
"CreateTime": "2017-03-14 10:00:19",
"UpdateTime": "2017-03-14 10:00:52"
},
{
"SnapshotId": "de3ddf0f-580a-48fb-9747-9b3e4c0cacbe",
"Name": "IamXuebing",
"InstanceId": "0e9fe286-64ff-42ae-adb3-653f68b70920",
"Type": "Manual",
"Size": 12,
"Status": "available",
"BackupMode":"Physical",
"CreateTime": "2017-03-13 18:05:13",
"UpdateTime": "2017-03-13 18:05:20"
},
{
"SnapshotId": "f5d90ce1-9e3e-42c6-aae3-d689e326845b",
"Name": "IamXuebing",
"InstanceId": "0e9fe286-64ff-42ae-adb3-653f68b70920",
"Type": "Manual",
"Size": 12,
"Status": "available",
"BackupMode":"Physical",
"CreateTime": "2017-03-14 15:54:57",
"UpdateTime": "2017-03-14 15:54:59"
}
]
}
纯净模式