All Products
Search
Document Center

UpdateVideoInfo

Last Updated: Mar 04, 2019

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

NameTypeRequiredDescription
ActionStringYesThe operation that you want to perform. Set the value to UpdateVideoInfo.
VideoIdStringYesThe video ID.
TitleStringNoThe video title.
  • Length constraint: Maximum length of 128 bytes.
  • Encoding: UTF-8.
DescriptionStringNoThe video description.
  • Length constraint: Maximum length of 1,024 bytes.
  • Encoding: UTF-8.
CoverURL StringNoThe URL of the video thumbnail.
CateIdNumberNoThe video category ID.
TagsStringNoThe video tags.
  • Length constraint per tag: Maximum length of 32 bytes.
  • You can enter a maximum of 16 tags.
  • Separate multiple tags with a comma (,).
  • Encoding: UTF-8.

Note: Request parameters (such as Title, Description, and Tags) cannot contain emoticons.

Response parameters

NameTypeDescription
RequestIdString The GUID generated by Alibaba Cloud for the request.

Examples

Sample requests

  1. 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

  1. {
  2. "RequestId": "25818875-5F78-4A13-BEF6-D7393642CA58"
  3. }

Error codes

The following table lists the error code that this operation can return. For more information, see Error codes.

Error codeError messageHTTP status codeDescription
InvalidVideo.NotFoundThe video does not exist.404The error message returned when the specified video does not exist.