Updates the information for a single audio or video file.
Operation description
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.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
vod:UpdateVideoInfo |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| VideoId |
string |
No |
The ID of the audio or video file. Obtain the ID in one of the following ways:
|
2deda93265312baf9b0ed810d**** |
| Title |
string |
No |
The title of the audio or video file.
|
Alibaba Cloud VOD Video Title |
| Tags |
string |
No |
The tags of the file.
|
tag1,tag2 |
| Description |
string |
No |
The description of the audio or video file.
|
Alibaba Cloud VOD video description |
| CoverURL |
string |
No |
The URL of the cover for the audio or video file. |
https://example.aliyundoc.com/****.jpg |
| CateId |
integer |
No |
The ID of the category. Obtain the ID in one of the following ways:
|
384761111 |
| UserData |
string |
No |
Custom settings in a JSON string. These settings can include message callbacks and upload acceleration. For more information, see UserData. |
{"MessageCallback":{"CallbackURL":"http://example.aliyundoc.com"},"Extend":{"localId":"*****","test":"www"}} |
| ReferenceId |
string |
No |
A custom ID. The ID can contain lowercase letters, uppercase letters, digits, hyphens (-), and underscores (_). The ID must be 6 to 64 characters in length and unique for each user. |
123-123 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The ID of the request. |
25818875-5F78-4AF6-D7393642CA58**** |
Examples
Success response
JSON format
{
"RequestId": "25818875-5F78-4AF6-D7393642CA58****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.