Modifies the information of a single audio or video file.
Operation description
Usage notes
Locates an audio or video file by video ID. You can modify the title, tags, description, and other information of the audio or video file. If a parameter is passed, the corresponding field is updated. Otherwise, the field is not overwritten or updated.
QPS limits
The queries per second (QPS) limit per user for this API operation is 100. If the limit is exceeded, API calls are throttled, which may affect your business. Make API calls 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 audio or video file ID. You can obtain the ID by using one of the following methods:
|
2deda93265312baf9b0ed810d**** |
| Title |
string |
No |
The title of the audio or video file.
|
Alibaba Cloud VOD Video Title |
| Tags |
string |
No |
The tags.
|
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 thumbnail for the audio or video file. |
https://example.aliyundoc.com/****.jpg |
| CateId |
integer |
No |
The category ID. You can obtain the ID by using one of the following methods:
|
384761111 |
| UserData |
string |
No |
The custom settings. The value is a JSON string that supports settings such as message callbacks and upload acceleration. For more information, see UserData. |
{"MessageCallback":{"CallbackURL":"http://example.aliyundoc.com"},"Extend":{"localId":"*****","test":"www"}} |
| ReferenceId |
string |
No |
The custom ID. The ID must be 6 to 64 characters in length and can contain only lowercase letters, uppercase letters, digits, hyphens, and underscores. The ID must be unique per user. |
123-123 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response result. |
||
| RequestId |
string |
The request ID. |
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.