Create zip request by form
note
[Since 2022.03]
Put files' ids to temporary store for future zip download.
POST /api/v1/files/zipForm HTTP/1.1
- Request parameters
| Parameter | Description |
|---|---|
id | File id’s to be included to archive |
- Response fields
| Path | Type | Description |
|---|---|---|
requestId | String | Generated request id for future download |
- Example request
curl 'http://localhost:8080/api/v1/files/zipForm' -i -X POST \
-H 'X-co-auth-token: 1cd299b2ac8225357585a0de48195e39' \
-d 'id=file1&id=file2&id=file3'
- Response structure
{
"requestId": "6d6f764c66596d795a3431794f566832"
}
- Example response
HTTP/1.1 200 OK
X-co-request-id: 346c56756d38364f3845624c786c3153
Content-Type: application/json
Content-Length: 54
{
"requestId": "6d6f764c66596d795a3431794f566832"
}