Memperbarui kategori tempat file media berada.
Deskripsi operasi
You can call this operation to update only the category of a media file. For more information about how to update all the information about a media file, see UpdateMedia.
QPS limit
You can call this operation up to 100 times per second per account. Requests that exceed this limit are dropped and you will experience service interruptions. We recommend that you take note of this limit when you call this operation. For more information, see QPS limit.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
mts:UpdateMediaCategory |
update |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| MediaId |
string |
Yes |
ID file media yang kategorinya ingin Anda perbarui. Catatan
Untuk mendapatkan ID file media, panggil operasi AddMedia. Atau, di Konsol ApsaraVideo Media Processing (MPS), pilih Manajemen media > Daftar media di panel navigasi sebelah kiri. Temukan video yang diperlukan dan klik Kelola di kolom Tindakan. ID video ditampilkan di tab Dasar. |
3e1cd21131a94525be55acf65888**** |
| CateId |
integer |
No |
ID kategori. Nilai tidak boleh negatif. |
1 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The ID of the request. |
E3931857-E3D3-4D6E-9C7B-D2C09441BD01 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "E3931857-E3D3-4D6E-9C7B-D2C09441BD01"
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.