Queries the basic information about multiple images at a time.
Operation description
You can call this operation to query the basic information about multiple images at a time, such as the image title, type, creation time, tags, and URL.
Limits
You can call this operation up to 10 times per second per account. Requests that exceed this limit are dropped and you will experience service interruptions. We recommend that you take note of this limit when you call this operation. For more information, see QPS limit on an API operation in ApsaraVideo Live.
Debugging
Authorization information
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
ImageIds | string | Yes | The image IDs. Separate multiple IDs with commas (,). You can specify a maximum of 20 image IDs. You can use one of the following methods to obtain the image ID:
| bbc65bba53fed90de118a7849****,594228cdd14b4d069fc17a8c4a**** |
AuthTimeout | long | No | The time when the image URL expires. Unit: seconds.
| 3600 |
OutputType | string | No | The type of the output image URL. Valid values:
| cdn |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "25818875-5F78-4AF6-D7393642CA58*****",
"ImageInfo": [
{
"CreationTime": "2018-11-21T02:37:23Z",
"StorageLocation": "outin-****..oss-cn-shanghai.aliyuncs.com",
"Status": "Uploading",
"CateId": 254766071,
"Tags": "tag1,tag2,tag3",
"ImageType": "NormalSnapshot",
"CateName": "Test\n",
"Description": "Test description\n",
"AppId": "app-****",
"URL": "http://example.aliyundoc.com/image/default/****.gif?auth_key=****",
"Title": "this is a sample",
"ImageId": "bbc65bba53f9*****ed90de118a7849",
"Mezzanine": {
"FileURL": "https://outin-bfefbb*****163e1c7426.oss-cn-XXXXXXXX.aliyuncs.com/image/default/5E84CD536*****D4DAD.png?Expires=1590982353&OSSAccessKeyId=*****&Signature=ALPET74o*****c%3D",
"OriginalFileName": "****.gif",
"Width": 200,
"Height": 200,
"FileSize": "8932"
}
}
],
"NonExistImageIds": [
"f45cf4eba5c80233389558c39****"
]
}
Error codes
For a list of error codes, visit the Service error codes.