Skip to main content

Zip files by link UID specified in previous zip request

note

[Since 201.04]

Zip files by link UID specified in previous zip request.

POST /api/v1/public/{linkUid}/zip/{zipRequestId} HTTP/1.1
  1. Path parameters
ParameterDescription
linkUidThe UID of the link for the folder.
zipRequestIdId of a zip request created before this request
  1. Request parameters
ParameterDescription
accessTokenThe access token for file
filenameResult file name. If not specified, default name will be set
  1. Example request
curl 'http://localhost:8080/api/v1/public/9737bc8e-ac64-4b98-9525-4f12f084f501/zip/6672657276645745504e5a7a54727774?accessToken=ymglvxzfsniliaiibrcqbubtufqwcgai&filename=newfile.zip' -i -X GET \
-H 'X-co-auth-token: 80516dbeb62b7a3f4728516a8896470c'
  1. Example response headers
HTTP/1.1 200 OK
X-co-request-id: 5148646e667a427873516553516a427a
X-co-zip-request-id: 6672657276645745504e5a7a54727774
Content-Disposition: attachment; filename*=UTF-8''newfile.zip
Content-Type: application/zip
Content-Length: 398
[ content of the response is skipped ]
  1. Example response
HTTP/1.1 200 OK
X-co-request-id: 5148646e667a427873516553516a427a
X-co-zip-request-id: 6672657276645745504e5a7a54727774
Content-Disposition: attachment; filename*=UTF-8''newfile.zip
Content-Type: application/zip
Content-Length: 398
[ content of the response is skipped ]