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
cos:GetObject permission must be granted. For details, please refer to Cloud Object Storage. For other CI permissions, please refer to Cloud Infinite.GET /<ObjectKey>?imageMogr2/interlace/<Mode> HTTP/1.1Host: <BucketName-APPID>.cos.<Region>.myqcloud.comDate: <GMT Date>Authorization: <Auth String>
Parameter | Meaning | Type | Required |
ObjectKey | Object filename, for example folder/sample.gif. | String | Yes |
/interlace/ | Output in progressive JPG format. Mode can be 0 or 1. 0: Means disable progressive display; 1: Means enable progressive display. This parameter is valid only when the output image format is JPG. If a non-jpg image format is output, this parameter will be ignored. Default value: 0. | Int | Yes |
/ignore-error/1 | When processing requests carry this parameter, if operations fail due to oversized files or parameter exceeds limit, it will directly return the original image without reporting an error. | String | No |
http://examples-125xxxxxx.cos.ap-shanghai.myqcloud.com/sample.png?imageMogr2/format/jpg/interlace/1
http://examples-1251000004.cos.ap-shanghai.myqcloud.com/sample.jpeg?q-sign-algorithm=sha1&q-ak=**********************************&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=**************************************&watermark/1/image/aHR0cDovL2V4YW1wbGVzLTEyNTEwMDAwMDQucGljc2gubXlxY2xvdWQuY29tL3NodWl5aW4uanBn/gravity/southeast
フィードバック