Retrieves a paginated list of live snapshot files.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ice:ListLiveSnapshotFiles |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| JobId |
string |
Yes |
The ID of the snapshot task. |
****a046-263c-3560-978a-fb287782**** |
| StartTime |
string |
Yes |
The start time in UTC. Format: yyyy-MM-ddTHH:mm:ssZ. |
2022-02-02T00:00:00Z |
| EndTime |
string |
Yes |
The end time in UTC. Format: yyyy-MM-ddTHH:mm:ssZ.
|
2022-02-02T23:59:59Z |
| Limit |
integer |
No |
The number of entries to return per request. Valid values: 1 to 100. Default value: 10. |
10 |
| SortBy |
string |
No |
The sort order. Default value: asc. Valid values:
|
desc |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response data. |
||
| FileList |
array<object> |
The list of files. |
|
|
object |
|||
| CreateTime |
string |
The creation time. |
2022-02-02T22:22:22Z |
| CreateTimestamp |
integer |
The creation timestamp. This value is used as a pass-through parameter for the delete operation. |
1619503516000 |
| IsOverlay |
boolean |
Indicates whether the snapshot is an overlay snapshot. |
true |
| OssBucket |
string |
OSS bucket。 |
testbucket |
| OssEndpoint |
string |
The OSS endpoint. |
oss-cn-shanghai.aliyuncs.com |
| OssObject |
string |
The path of the OSS storage object. |
snapshot/****a046-263c-3560-978a-fb287782****/1660638613798.jpg |
| NextStartTime |
string |
The start time of the next page. If this parameter is not returned, no more pages are available. |
2022-02-02T22:22:22Z |
| RequestId |
string |
The request ID. |
******11-DB8D-4A9A-875B-275798****** |
Examples
Success response
JSON format
{
"FileList": [
{
"CreateTime": "2022-02-02T22:22:22Z",
"CreateTimestamp": 1619503516000,
"IsOverlay": true,
"OssBucket": "testbucket",
"OssEndpoint": "oss-cn-shanghai.aliyuncs.com",
"OssObject": "snapshot/****a046-263c-3560-978a-fb287782****/1660638613798.jpg"
}
],
"NextStartTime": "2022-02-02T22:22:22Z",
"RequestId": "******11-DB8D-4A9A-875B-275798******"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | MissingParameter | %s | |
| 400 | InvalidParameter | %s | |
| 400 | MalformedStartTime | Specified parameter StartTime is not valid. | |
| 400 | MalformedEndTime | Specified parameter EndTime is not valid. | |
| 400 | EndTimeMismatch | Specified end time does not math the specified start time. | |
| 500 | InternalError | The request processing has failed due to some unknown error. | |
| 403 | UserDisable | User is disable. | |
| 403 | Forbidden | User not authorized to operate on the specified resource. | |
| 403 | OperationDenied | Your account has not enabled the ICE service. | |
| 404 | JobNotFound | No such job. | |
| 404 | NoValidSnapshot | No snapshots found with given parameters. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.