ListLiveSnapshotFiles
Queries 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 job. |
****a046-263c-3560-978a-fb287782**** |
| StartTime |
string |
Yes |
The start time in UTC. The format is yyyy-MM-ddTHH:mm:ssZ. |
2022-02-02T00:00:00Z |
| EndTime |
string |
Yes |
The end time in UTC. The format is yyyy-MM-ddTHH:mm:ssZ.
|
2022-02-02T23:59:59Z |
| Limit |
integer |
No |
The number of entries to return on each page. 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. The time is in UTC and follows the ISO 8601 standard, ending with Z. |
2022-02-02T22:22:22Z |
| CreateTimestamp |
integer |
The creation timestamp, which is used as a parameter in the delete operation. |
1619503516000 |
| IsOverlay |
boolean |
Indicates whether the snapshot is overwritten. |
true |
| OssBucket |
string |
The OSS bucket. |
testbucket |
| OssEndpoint |
string |
The OSS endpoint. |
oss-cn-shanghai.aliyuncs.com |
| OssObject |
string |
The path of the OSS object. |
snapshot/****a046-263c-3560-978a-fb287782****/1660638613798.jpg |
| NextStartTime |
string |
The start time of the next page. If this parameter is not returned, all pages have been returned. The time is in UTC and follows the ISO 8601 standard, ending with Z. |
2022-02-02T22:22:22Z |
| RequestId |
string |
The ID of the request. |
******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.