All Products
Search
Document Center

ApsaraVideo VOD:UpdateVideoInfos

Last Updated:Jul 19, 2024

Modifies the information about multiple videos at a time.

Operation description

The specific parameter of a video is updated only when a new value is passed in the parameter.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
UpdateContentstringYes

The new information about audios or videos. You can modify the information about up to 20 audios or videos at a time. Separate multiple audios or videos with commas (,). When you modify the information exceed 20 audios or videos at a time, the update will fail with an error code CountExceededMax.

The value is a JSON string. For more information, see the UpdateContent section of this topic.

[{"VideoId":"f45cf4eba5cb90233389558c39****","Title":"test title1"},{"VideoId":"f45cf4eba5c84233389558c36****","Title":"test title2"}]

UpdateContent

Note You must convert the UpdateContent[] parameter to a string before you pass it in.
ParameterTypeRequiredDescription
VideoIdStringYesThe ID of the video.
TitleStringNoThe title of the video.
DescriptionStringNoThe description of the video.
TagsStringNoThe tag of the video.
CoverURLStringNoThe URL of the video thumbnail.
CateIdLongNoThe ID of the category.

Response parameters

ParameterTypeDescriptionExample
object

The returned data.

RequestIdstring

The ID of the request.

25818875-5F78-4AF6-D7393642CA58****
ForbiddenVideoIdsarray

The IDs of the videos that cannot be modified. Generally, videos cannot be modified if you do not have required permissions .

string

The IDs of the videos that cannot be modified. Generally, videos cannot be modified if you do not have required permissions .

f45cf4eba5c84233389558c36****
NonExistVideoIdsarray

The IDs of the videos that do not exist.

string

The IDs of the videos that do not exist.

f45cf4eba5cb90233389558c39****

Examples

Sample success responses

JSONformat

{
  "RequestId": "25818875-5F78-4AF6-D7393642CA58****",
  "ForbiddenVideoIds": [
    "f45cf4eba5c84233389558c36****"
  ],
  "NonExistVideoIds": [
    "f45cf4eba5cb90233389558c39****"
  ]
}

Error codes

For a list of error codes, visit the Service error codes.