Description
You can call this operation to modify video information.
Note: The video information is updated based on the parameters that you have set.
Request parameters
Name | Type | Required | Description |
---|---|---|---|
Action | String | Yes | The operation that you want to perform. Set the value to UpdateVideoInfo. |
VideoId | String | Yes | The video ID. |
Title | String | No | The video title.
|
Description | String | No | The video description.
|
CoverURL | String | No | The URL of the video thumbnail. |
CateId | Number | No | The video category ID. |
Tags | String | No | The video tags.
|
Note: Request parameters (such as Title, Description, and Tags) cannot contain emoticons.
Response parameters
Name | Type | Description |
---|---|---|
RequestId | String | The GUID generated by Alibaba Cloud for the request. |
Examples
Sample requests
http://vod.cn-shanghai.aliyuncs.com/?Action=UpdateVideoInfo&VideoId=93ab850b4f6f44eab54b6e91d24d81d4&CateId=78&Format=JSON&<Common request parameters>
Note: For more information about common request parameters, see Common parameters.
Sample responses
JSON format
{
"RequestId": "25818875-5F78-4A13-BEF6-D7393642CA58"
}
Error codes
The following table lists the error code that this operation can return. For more information, see Error codes.
Error code | Error message | HTTP status code | Description |
---|---|---|---|
InvalidVideo.NotFound | The video does not exist. | 404 | The error message returned when the specified video does not exist. |