All Products
Search
Document Center

UpdateVideoInfos

Last Updated: Mar 04, 2019

Description

You can call this operation to modify the information about multiple videos.

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 UpdateVideoInfos.
UpdateContentUpdateContent[]YesThe updates. You can modify the information about a maximum of 20 videos at a time.

UpdateContent

Note: You need to convert UpdateContent[] into a string before passing it in.

NameTypeRequiredDescription
VideoIdStringYesThe video ID.
TitleStringNoThe video title.
DescriptionStringNoThe video description.
TagsStringNoThe video tags.
CoverURLStringNoThe URL of the video thumbnail.
CateIdLongNoThe category ID.

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

Response parameters

NameTypeDescription
RequestIdString The GUID generated by Alibaba Cloud for the request.
NonExistVideoIdsString[] The list of video IDs that do not exist.

Examples

Sample requests

  1. http://vod.cn-shanghai.aliyuncs.com/?Action=UpdateVideoInfos&UpdateContent=[{"VideoId":"f45cf4eba5c84d25b90233389558c39","Title":"Test title","Description":"Test description","CoverURL":"http://sample.aliyun.com/sample.jpg","CateId":"6163631","Tags":"Test tags"}]&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. "NonExistVideoIds":["f45cf4eba5c84d25b90233389558c39"]
  4. }