Memperbarui informasi untuk satu file audio atau video.
Deskripsi operasi
Usage notes
This operation updates the information of an audio or video file based on its video ID, such as the title, tags, and description. If you include a parameter in the request, the corresponding field is updated. Fields for omitted parameters remain unchanged.
QPS limits
The queries per second (QPS) limit for this API operation is 100 for each user. If you exceed the limit, API calls are throttled, which may affect your business. We recommend that you call this operation at a reasonable rate. For more information, see QPS limits.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
vod:UpdateVideoInfo |
update |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| VideoId |
string |
No |
ID file audio atau video. Dapatkan ID dengan salah satu cara berikut:
|
2deda93265312baf9b0ed810d**** |
| Title |
string |
No |
Judul file audio atau video.
|
Alibaba Cloud VOD Video Title |
| Tags |
string |
No |
Tag file.
|
tag1,tag2 |
| Description |
string |
No |
Deskripsi file audio atau video.
|
Alibaba Cloud VOD video description |
| CoverURL |
string |
No |
URL sampul untuk file audio atau video. |
https://example.aliyundoc.com/****.jpg |
| CateId |
integer |
No |
ID kategori. Dapatkan ID dengan salah satu cara berikut:
|
384761111 |
| UserData |
string |
No |
Pengaturan kustom dalam string JSON. Pengaturan ini dapat mencakup callback Paket dan akselerasi unggah. Untuk informasi selengkapnya, lihat UserData. |
{"MessageCallback":{"CallbackURL":"http://example.aliyundoc.com"},"Extend":{"localId":"*****","test":"www"}} |
| ReferenceId |
string |
No |
ID kustom. ID dapat berisi huruf kecil, huruf besar, digit, tanda hubung (-), dan garis bawah (_). ID harus memiliki panjang 6 hingga 64 karakter dan unik untuk setiap pengguna. |
123-123 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The ID of the request. |
25818875-5F78-4AF6-D7393642CA58**** |
Contoh
Respons sukses
JSONformat
{
"RequestId": "25818875-5F78-4AF6-D7393642CA58****"
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.