Queries a list of live stream snapshot files by page.
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 beginning of the time range to query. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC. |
2022-02-02T00:00:00Z |
| EndTime |
string |
Yes |
The end of the time range to query. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.
|
2022-02-02T23:59:59Z |
| Limit |
integer |
No |
The number of results to return each time. Valid values: 1 to 100. Default value: 10. |
10 |
| SortBy |
string |
No |
The sorting order. Default value: asc. Valid values:
Valid values:
|
desc |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The data returned. |
||
| RequestId |
string |
The request ID. |
******11-DB8D-4A9A-875B-275798****** |
| FileList |
array<object> |
The list of files. |
|
|
object |
|||
| OssEndpoint |
string |
The Object Storage Service (OSS) domain name. |
oss-cn-shanghai.aliyuncs.com |
| OssBucket |
string |
The OSS bucket. |
testbucket |
| OssObject |
string |
The location in which the OSS object is stored. |
snapshot/****a046-263c-3560-978a-fb287782****/1660638613798.jpg |
| CreateTime |
string |
The time when the template was created. |
2022-02-02T22:22:22Z |
| CreateTimestamp |
integer |
The creation timestamp that is used as an input parameter for a delete API operation. |
1619503516000 |
| IsOverlay |
boolean |
Specifies whether to overlay snapshots. |
true |
| NextStartTime |
string |
The start time of the next page. If no value is returned, the pagination ends. |
2022-02-02T22:22:22Z |
Examples
Success response
JSON format
{
"RequestId": "******11-DB8D-4A9A-875B-275798******",
"FileList": [
{
"OssEndpoint": "oss-cn-shanghai.aliyuncs.com",
"OssBucket": "testbucket",
"OssObject": "snapshot/****a046-263c-3560-978a-fb287782****/1660638613798.jpg",
"CreateTime": "2022-02-02T22:22:22Z",
"CreateTimestamp": 1619503516000,
"IsOverlay": true
}
],
"NextStartTime": "2022-02-02T22:22:22Z"
}
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.