Zip files from request id
note
[Since 2017.03]
Zip files specified in previous zip request (Create zip request by json).
- Path parameters
| Parameter | Description |
|---|---|
zipRequestId | Id of a zip request created before this request |
- Request parameters
| Parameter | Description |
|---|---|
filename | Result file name. If not specified, default name will be set |
- Example request
curl 'http://localhost:8080/api/v1/files/zip/535a7537334d5144454b646431624762?filename=newfile.zip' -i -X GET \
-H 'X-co-auth-token: 292e88be07fb1d8d6095d43f7de39353'
- Example response
HTTP/1.1 200 OK
X-co-request-id: 77646b52534c65545673783244744776
X-co-zip-request-id: 535a7537334d5144454b646431624762
Content-Disposition: attachment; filename*=UTF-8''newfile.zip
Content-Type: application/zip
Content-Length: 398
[ content of the response id skipped ]