Mengambil informasi tentang file video dan audio.
Deskripsi operasi
Mengambil informasi tentang hingga 5.000 file audio dan video pertama berdasarkan kondisi filter, seperti status atau ID kategori file. Kami menyarankan Anda mengatur parameter StartTime dan EndTime untuk mempersempit Rentang Waktu dan melakukan beberapa kueri guna mendapatkan data.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ice:GetVideoList |
*Semua Sumber daya.
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| CateId |
integer |
No |
ID kategori. |
781111 |
| Status |
string |
No |
Status video. Anda dapat menentukan beberapa status video dan memisahkannya dengan koma (,). Nilai valid:
Valid values:
|
Uploading,Normal |
| StartTime |
string |
No |
Awal Rentang Waktu untuk dikueri. Tentukan pengatur waktu dalam standar ISO 8601 dengan format yyyy-MM-ddTHH:mm:ssZ. Pengatur waktu harus dalam UTC. |
2017-01-11T12:00:00Z |
| EndTime |
string |
No |
Akhir Rentang Waktu untuk dikueri. Pengatur waktu akhir harus lebih lambat daripada pengatur waktu mulai. Tentukan pengatur waktu dalam standar ISO 8601 dengan format yyyy-MM-ddTHH:mm:ssZ. Pengatur waktu harus dalam UTC. |
2017-01-11T12:59:00Z |
| SortBy |
string |
No |
Metode Pengurutan hasil. Nilai valid:
|
CreationTime:Asc |
| PageNo |
integer |
No |
Nomor halaman. Nilai default: 1. |
1 |
| PageSize |
integer |
No |
Jumlah entri per halaman. Nilai default: 10. Nilai maksimum: 50. |
20 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Skema tanggapan. |
||
| RequestId |
string |
ID permintaan. |
******11-DB8D-4A9A-875B-275798****** |
| Success |
string |
Apakah permintaan berhasil. Nilai valid:
|
true |
| Code |
string |
Kode status yang dikembalikan. |
200 |
| Total |
integer |
Jumlah total file audio dan video yang memenuhi kondisi. |
163 |
| MediaList |
array<object> |
Informasi tentang file audio dan video. |
|
|
object |
Informasi tentang file audio atau video. |
||
| StorageLocation |
string |
Alamat penyimpanan. |
out-****.oss-cn-shanghai.aliyuncs.com |
| Status |
string |
Status video. Nilai valid:
Valid values:
|
Normal |
| CreationTime |
string |
Pengatur waktu pembuatan file audio atau video. Pengatur waktu mengikuti standar ISO 8601 dengan format yyyy-MM-ddTHH:mm:ssZ. Pengatur waktu ditampilkan dalam UTC. |
2017-11-14T09:15:50Z |
| CateId |
integer |
ID kategori. |
3679 |
| MediaId |
string |
ID file audio atau video. |
1c6ce34007d571ed94667630a6bc**** |
| Tags |
string |
Tag file audio atau video. |
Tag1, Tag2 |
| ModificationTime |
string |
Pengatur waktu pembaruan file audio atau video. Pengatur waktu mengikuti standar ISO 8601 dengan format yyyy-MM-ddTHH:mm:ssZ. Pengatur waktu ditampilkan dalam UTC. |
2017-11-14T09:16:50Z |
| CateName |
string |
Nama kategori. |
Cate1 |
| Description |
string |
Deskripsi file audio atau video. |
Alibaba Cloud VOD video description |
| AppId |
string |
ID aplikasi. Nilai default: app-1000000. |
app-1000000 |
| Size |
integer |
Ukuran file sumber. Unit: bytes. |
10897890 |
| CoverUrl |
string |
URL gambar mini. |
http://example.aliyundoc.com/snapshot/****.jpg?auth_key=1498476426-0-0-f00b9455c49a423ce69cf4e27333**** |
| Duration |
number |
Durasi. Unit: detik. |
135.6 |
| Title |
string |
Judul file audio atau video. |
The greatest music player in history |
| Snapshots |
array |
Array URL tangkapan video. |
|
|
string |
URL tangkapan video. |
http://example.aliyundoc.com/snapshot/****.jpg?auth_key=1498476426-0-0-f00b9455c49a423ce69cf4e27333**** |
Contoh
Respons sukses
JSONformat
{
"RequestId": "******11-DB8D-4A9A-875B-275798******",
"Success": "true",
"Code": "200",
"Total": 163,
"MediaList": [
{
"StorageLocation": "out-****.oss-cn-shanghai.aliyuncs.com",
"Status": "Normal",
"CreationTime": "2017-11-14T09:15:50Z",
"CateId": 3679,
"MediaId": "1c6ce34007d571ed94667630a6bc****",
"Tags": "Tag 1, Tag 2",
"ModificationTime": "2017-11-14T09:16:50Z",
"CateName": "Category1",
"Description": "Alibaba Cloud VOD video description",
"AppId": "app-1000000",
"Size": 10897890,
"CoverUrl": "http://example.aliyundoc.com/snapshot/****.jpg?auth_key=1498476426-0-0-f00b9455c49a423ce69cf4e27333****",
"Duration": 135.6,
"Title": "The best music player ever",
"Snapshots": [
"http://example.aliyundoc.com/snapshot/****.jpg?auth_key=1498476426-0-0-f00b9455c49a423ce69cf4e27333****"
]
}
]
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.