GET /<ObjectKey>?ci-process=ImageInspect HTTP/1.1Host: <BucketName-APPID>.cos.<Region>.myqcloud.comDate: <GMT Date>Authorization: <Auth String>
Parameter | Description |
ObjectKey | Object name, such as folder/sample.jpg . |
Parameter | Description |
picSize | Image size in bytes |
picType | Image format, such as JPG and PNG. |
suspicious | Whether non-image files are detected. Valid values: false (no), true (yes). |
suspiciousBeginByte | The starting byte position of the detected suspicious file in bytes |
suspiciousEndByte | The ending byte position of the detected suspicious file in bytes |
suspiciousSize | Size of the detected suspicious file |
suspiciousType | Type of the detected suspicious file, such as MPEG-TS. |
http://examples-1251000004.cos.ap-shanghai.myqcloud.com/sample.jpeg?ci-process=ImageInspect
{"picSize":1097476,"picType":"PNG","suspicious":true,"suspiciousBeginByte":120,"suspiciousEndByte":1097475,"suspiciousSize":1097356,"suspiciousType":"MPEG-TS"}
http://examples-1251000004.cos.ap-shanghai.myqcloud.com/sample.jpeg?q-sign-algorithm=<signature>&ci-process=ImageInspect
Was this page helpful?