Queries live-to-VOD videos.
Operation description
You can query up to 5,000 videos based on the specified filter condition.
Debugging
Authorization information
The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action
policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:
- Operation: the value that you can use in the Action element to specify the operation on a resource.
- Access level: the access level of each operation. The levels are read, write, and list.
- Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
- The required resource types are displayed in bold characters.
- If the permissions cannot be granted at the resource level,
All Resources
is used in the Resource type column of the operation.
- Condition Key: the condition key that is defined by the cloud service.
- Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
Operation | Access level | Resource type | Condition key | Associated operation |
---|---|---|---|---|
vod:ListLiveRecordVideo | get | *All Resources * |
| none |
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
StreamName | string | No | The name of the recorded live stream. | live-test |
DomainName | string | No | The domain name of the recorded live stream. | example.aliyundoc.com |
AppName | string | No | The name of the application that was used to record the live stream. | testApp |
PageNo | integer | No | The number of the page to return. Default value: 1. | 1 |
PageSize | integer | No | The number of entries to return on each page. Maximum value: 100. Default value: 10. | 10 |
SortBy | string | No | The sorting rule of the results. Valid values:
| CreationTime:Desc |
StartTime | string | No | The beginning of the time range to query. The query is performed based on the time range during which the required live streams were recorded. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC. | 2017-01-11T12:00:00Z |
EndTime | string | No | The end of the time range to query. The query is performed based on the time range during which the required live streams were recorded. The end time must be later than the start time. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC. | 2017-01-11T13:00:00Z |
Response parameters
Examples
Sample success responses
JSON
format
{
"Total": 123,
"RequestId": "25818875-5F78-4A13-****-D7393642CA58",
"LiveRecordVideoList": {
"LiveRecordVideo": [
{
"AppName": "testApp",
"PlaylistId": "****",
"StreamName": "live-test",
"RecordEndTime": "2017-12-08T08:44:56Z",
"RecordStartTime": "2017-12-08T07:40:56Z",
"DomainName": "example.com",
"Video": {
"CreationTime": "2017-12-08T07:40:56Z",
"Status": "Normal",
"CateId": 78,
"VideoId": "93ab850b4f6f*****54b6e91d24d81d4",
"Tags": "tag1, tag2",
"CateName": "Category name",
"Description": "Description of the ApsaraVideo VOD video",
"Size": 10897890,
"CoverURL": "https://example.aliyundoc.com/coversample.jpg",
"TemplateGroupId": "1",
"Duration": 135.6,
"Title": "Title of the ApsaraVideo VOD video",
"ModifyTime": "2017-12-08T09:40:56Z",
"Snapshots": {
"Snapshot": [
"{\"Snapshot\":[\"http://example.aliyundoc.com/snapshot/sample000001.jpg?auth_key=1498476426-0-0-f00b9455c49a423ce69cf4e27333****\",\"http://example.aliyundoc.com/snapshot/sample00002.jpg?auth_key=1498476426-0-0-f00b9455c49a423ce69cf4e272****\"]}"
]
}
}
}
]
}
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|
The following table describes the errors that are specific to this operation. For more information about errors common to all operations, see Common errors.
Error code | Error message | HTTP status code | Description |
---|---|---|---|
IpsIsEmpty | The specified “Ips” can not be empty. | 400 | The error message returned because the Ips parameter is not specified. |
IpsExceededMax | The specified Ips count has exceeded 100. | 403 | The error message returned because more than 100 IP addresses are added to a group. |
SecurityIpGroupExceededMax | The audit security group count has exceeded 10. | 403 | The error message returned because the number of review security groups exceeds the upper limit. |