cos:GetObject permission must be granted. For details, please refer to COS action. For other CI permissions, please refer to Cloud Infinite action.GET /for-test.zip?ci-process=zippreview&uncompress-key=<key> HTTP/1.1Host: <BucketName-APPID>.cos.<Region>.myqcloud.comDate: <GMT Date>Authorization: <Auth String>Content-Length: <length>
Node Name (Keyword) | Description | Required or Not |
ci-process | operation type, compressed package preview calculation fixed as: zippreview. | Yes |
uncompress-key | For encrypted compressed packages, you can fill in the decryption key in this field. The key needs to be base64 encoded. | No |
<Response><FileNumber>2</FileNumber><Contents><Key>test1.jpg</Key><LastModified>2021-11-21T12:30:42+0000</LastModified><UncompressedSize>46743</UncompressedSize></Contents><Contents><Key>test2.mp3</Key><LastModified>2021-11-22T12:11:26+0000</LastModified><UncompressedSize>733318</UncompressedSize></Contents></Response>
Node Name (Keyword) | Parent Node | Description | Type |
Response | None. | Container for saving results | Container |
Node Name (Keyword) | Parent Node | Description | Type |
FileNumber | Response | Number of files in the compressed package | Int |
Contents | Response | Container for saving file information | Container array |
Node Name (Keyword) | Parent Node | Description | Type |
Key | Response.Contents | File Name | String |
LastModified | Response.Contents | Last modification time of the file | String |
UncompressedSize | Response.Contents | Size before compression of the file | Int |
GET /for-test.zip?ci-process=zippreview HTTP/1.1Host: test-1234567890.cos.ap-beijing.myqcloud.comAuthorization: q-sign-algorithm=sha1&q-ak=*************************************&q-key-time=1484213027;32557109027&q-header-list=host&q-url-param-list=acl&q-signature=**************************************Content-Length: 0
HTTP/1.1 200 OKContent-Type: application/xmlContent-Length: 666Connection: keep-aliveDate: Mon, 28 Jun 2022 15:23:12 GMTServer: tencent-cosx-cos-request-id: NTg3NzRiMjVfYmRjMzVfMTViMl82ZGZmNw==<Response><FileNumber>2</FileNumber><Contents><Key>test1.jpg</Key><LastModified>2021-11-21T12:30:42+0000</LastModified><UncompressedSize>46743</UncompressedSize></Contents><Contents><Key>test2.mp3</Key><LastModified>2021-11-22T12:11:26+0000</LastModified><UncompressedSize>733318</UncompressedSize></Contents></Response>
Feedback