Memperbarui gambar mini file media.
Deskripsi operasi
You can call this operation to update only the thumbnail of a media file. For more information about how to update all the information about a media file, see UpdateMedia.
Limits on QPS
You can call this operation up to 100 times per second. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation. For more information, see QPS limits.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
mts:UpdateMediaCover |
update |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| MediaId |
string |
Yes |
ID file media yang gambar mininya ingin Anda perbarui. Untuk mendapatkan ID file media, Anda dapat memanggil operasi AddMedia. Atau, cari file media di Konsol ApsaraVideo Media Processing (MPS) sebagai berikut: Di panel navigasi sebelah kiri, pilih Manajemen media > Daftar media. Cari video yang diperlukan dan klik Kelola. ID video ditampilkan pada tab Dasar. |
6cc3aa66d1cb4bb2adf14e726c0a**** |
| CoverURL |
string |
No |
URL gambar mini yang ingin Anda tentukan untuk file media. URL mematuhi RFC 2396 dan dienkode dalam UTF-8. Panjang URL dapat mencapai 3.200 byte. Catatan
Untuk mendapatkan URL gambar mini, cari gambar di Bucket OSS dan klik gambar untuk melihat detail. Di panel Tampilan Detail, salin bagian sebelum tanda tanya (?) dari bidang URL. Anda hanya dapat memasukkan URL HTTP. |
http://example-bucket-****.oss-cn-hangzhou.aliyuncs.com//example-****.mp4 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
0DC39B9E-13D4-40BA-AE76-CFF9BD64239D |
Contoh
Respons sukses
JSONformat
{
"RequestId": "0DC39B9E-13D4-40BA-AE76-CFF9BD64239D"
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.