Mengambil daftar video live-to-VOD.
Deskripsi operasi
Anda dapat mengambil hingga 5.000 video berdasarkan kondisi filter yang ditentukan.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
vod:ListLiveRecordVideo |
get |
*All Resource
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| StreamName |
string |
No |
Nama aliran live yang direkam. |
live-test |
| DomainName |
string |
No |
Nama domain dari aliran live yang direkam. |
example.aliyundoc.com |
| AppName |
string |
No |
Nama aplikasi yang digunakan untuk merekam aliran live. |
testApp |
| PageNo |
integer |
No |
Nomor halaman yang akan dikembalikan. Nilai default: 1. |
1 |
| PageSize |
integer |
No |
Jumlah entri yang dikembalikan per halaman. Nilai maksimum: 100. Nilai default: 10. |
10 |
| SortBy |
string |
No |
Aturan pengurutan hasil. Nilai yang valid:
|
CreationTime:Desc |
| StartTime |
string |
No |
Awal rentang waktu untuk kueri. Kueri dilakukan berdasarkan rentang waktu perekaman aliran live yang diminta. Tentukan waktu dalam standar ISO 8601 dengan format yyyy-MM-ddTHH:mm:ssZ. Waktu harus dalam UTC. |
2017-01-11T12:00:00Z |
| EndTime |
string |
No |
Akhir rentang waktu untuk kueri. Kueri dilakukan berdasarkan rentang waktu perekaman aliran live yang diminta. Waktu akhir harus lebih lambat daripada waktu mulai. Tentukan waktu dalam standar ISO 8601 dengan format yyyy-MM-ddTHH:mm:ssZ. Waktu harus dalam UTC. |
2017-01-11T13:00:00Z |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| Total |
integer |
Jumlah total video. |
123 |
| RequestId |
string |
ID permintaan. |
25818875-5F78-4A13-****-D7393642CA58 |
| LiveRecordVideoList |
object |
||
| LiveRecordVideo |
array<object> |
Daftar video. |
|
|
array<object> |
|||
| AppName |
string |
Nama aplikasi. |
testApp |
| PlaylistId |
string |
ID playlist. |
**** |
| StreamName |
string |
Nama file live-to-VOD. |
live-test |
| RecordEndTime |
string |
Waktu akhir perekaman. Waktu dalam format yyyy-MM-ddTHH:mm:ssZ. Waktu ditampilkan dalam UTC. |
2017-12-08T08:44:56Z |
| RecordStartTime |
string |
Waktu mulai perekaman. Waktu dalam format yyyy-MM-ddTHH:mm:ssZ. Waktu ditampilkan dalam UTC. |
2017-12-08T07:40:56Z |
| DomainName |
string |
Nama domain. |
example.com |
| Video |
object |
Informasi mengenai file live-to-VOD. |
|
| CreationTime |
string |
Waktu pembuatan file audio atau video. Waktu dalam format yyyy-MM-ddTHH:mm:ssZ. Waktu ditampilkan dalam UTC. |
2017-12-08T07:40:56Z |
| Status |
string |
Status video. Nilai yang valid:
|
Normal |
| CateId |
integer |
ID kategori video. |
78 |
| VideoId |
string |
ID video. |
93ab850b4f6f*****54b6e91d24d81d4 |
| Tags |
string |
Tag video. Beberapa tag dipisahkan dengan koma (,). |
tag1, tag2 |
| CateName |
string |
Kategori video. |
Category name |
| Description |
string |
Deskripsi file video. |
Description of the ApsaraVideo VOD video |
| Size |
integer |
Ukuran file video sumber. Satuan: byte. |
10897890 |
| CoverURL |
string |
URL gambar mini video. |
https://example.aliyundoc.com/coversample.jpg |
| TemplateGroupId |
string |
ID kelompok template transkoding. |
1 |
| Duration |
number |
Durasi file video. Satuan: detik. |
135.6 |
| Title |
string |
Judul video. |
Title of the ApsaraVideo VOD video |
| ModifyTime |
string |
Waktu pembaruan video. Waktu dalam format yyyy-MM-ddTHH:mm:ssZ. Waktu ditampilkan dalam UTC. |
2017-12-08T09:40:56Z |
| Snapshots |
object |
||
| Snapshot |
array |
Array URL tangkapan video. |
|
|
string |
URL tangkapan video. |
{"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****"]} |
Contoh
Respons sukses
JSONformat
{
"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****\"]}"
]
}
}
}
]
}
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.