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
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
UpdateContent | string | Yes | 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.
Parameter | Type | Required | Description |
---|---|---|---|
VideoId | String | Yes | The ID of the video. |
Title | String | No | The title of the video. |
Description | String | No | The description of the video. |
Tags | String | No | The tag of the video. |
CoverURL | String | No | The URL of the video thumbnail. |
CateId | Long | No | The ID of the category. |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "25818875-5F78-4AF6-D7393642CA58****",
"ForbiddenVideoIds": [
"f45cf4eba5c84233389558c36****"
],
"NonExistVideoIds": [
"f45cf4eba5cb90233389558c39****"
]
}
Error codes
For a list of error codes, visit the Service error codes.