Modifies the information about one or more images at a time.
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 the one or more images. You can modify the information about up to 20 images at a time. For more information, see the UpdateContent section of this topic. Note
The values of the nested parameters Title, Description, and Tags under the UpdateContent parameter cannot contain emoticons.
| [{"ImageId":"ff8fe57e3461416c6a267a4e09****","Title":"test title","Description":"test description","Tags":"tag1,tag2"}] |
UpdateContent
Note
You must convert the UpdateContent
[]
parameter to a string before you pass it in.
Parameter | Type | Required | Description |
---|---|---|---|
ImageId | String | Yes | The ID of the image. |
Title | String | No | The title of the image. The title can be up to 128 bytes in length. Encode the title in UTF-8. |
Description | String | No | The description of the image. The description can be up to 1,024 bytes in length. Encode the description in UTF-8. |
Tags | String | No | The tags of the image. Each tag can be up to 32 bytes in length. You can specify a maximum of 16 tags. Separate multiple tags with commas (,). Encode the tags in UTF-8. |
CateId | Long | No | The ID of the category. |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "25818875-5F78-4AF6-D7393642CA58****",
"NonExistImageIds": {
"ImageId": [
"f45cf4eba5c80233389558c39****"
]
}
}
Error codes
For a list of error codes, visit the Service error codes.