Skip to main content

Zip files from request id

note

[Since 2017.03]

Zip files specified in previous zip request (Create zip request by json).

  1. Path parameters
ParameterDescription
zipRequestIdId of a zip request created before this request
  1. Request parameters
ParameterDescription
filenameResult file name. If not specified, default name will be set
  1. Example request
curl 'http://localhost:8080/api/v1/files/zip/535a7537334d5144454b646431624762?filename=newfile.zip' -i -X GET \
-H 'X-co-auth-token: 292e88be07fb1d8d6095d43f7de39353'
  1. 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 ]