Description
You can call this operation to modify the information about multiple images.
Note: The image 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 UpdateImageInfos. |
UpdateContent | UpdateContent[] | Yes | The updates. You can modify the information about a maximum of 20 images at a time. |
UpdateContent
Note: You need to convert UpdateContent[] into a string before passing it in.
Name | Type | Required | Description |
---|---|---|---|
ImageId | String | Yes | The image ID. |
Title | String | No | The image title.
|
Description | String | No | The image description.
|
Tags | String | No | The image tags.
|
CateId | Long | No | The category ID. |
Note: Updated 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. |
NonExistImageIds | String[] | The list of image IDs that do not exist. |
Examples
Sample requests
http://vod.cn-shanghai.aliyuncs.com/?Action=UpdateVideoInfos&UpdateContent=[{"ImageId":"ff8fe57e3461416c9d40d66a267a4e09","Title":"Title","Description":"Description","Tags":"Tag 1,Tag 2"}]&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",
"NonExistImageIds":["f45cf4eba5c84d25b90233389558c39"]
}