History
Introduction
API Category
Making API Requests
Region APIs
Instance APIs
Cloud Hosting Cluster APIs
Image APIs
Instance Launch Template APIs
Placement Group APIs
Key APIs
Security Group APIs
Network APIs
Data Types
Error Codes
download_url?imageInfo
参数 | 含义 |
download_url | 文件的访问链接,具体构成为 <BucketName-APPID>.cos.<Region>.myqcloud.com/<picture name>,例如 examplebucket-1250000000.cos.ap-shanghai.myqcloud.com/picture.jpeg |
参数 | 含义 |
format | 图片类型。例如 png、gif 等 |
width | 图片的宽度。单位为像素(px) |
height | 图片的高度。单位为像素(px) |
size | 图片的大小。单位为 Bytes |
md5 | 图片的 md5值 |
frame_count | 图片的帧数。静态图为1,动图为对应的帧数 |
http://examples-1251000004.cos.ap-shanghai.myqcloud.com/sample.jpeg?imageInfo
{"format": "jpeg", "width": "960", "height": "540", "size": "158421", "md5": "77a16fa70e2eba652fb42e8a639c52f2", "photo_rgb": "0x736246"}
http://examples-1251000004.cos.ap-shanghai.myqcloud.com/sample.jpeg?q-sign-algorithm=<signature>&imageInfo
http://examples-1251000004.cos.ap-shanghai.myqcloud.com/sample.jpeg?q-sign-algorithm=sha1&q-ak=AKID********************&q-sign-time=1593342360;1593342720&q-key-time=1593342360;1593342720&q-header-list=&q-url-param-list=watermark%252f1%252fimage%252fahr0cdovl2v4yw1wbgvzlteyntewmdawmdqucgljc2gubxlxy2xvdwquy29tl3nodwl5aw4uanbn%252fgravity%252fsoutheast&q-signature=26a429871963375c88081ef60247c5746e834a98&watermark/1/image/aHR0cDovL2V4YW1wbGVzLTEyNTEwMDAwMDQucGljc2gubXlxY2xvdWQuY29tL3NodWl5aW4uanBn/gravity/southeast
文档反馈