Put files' ids to temporary store for future zip download by public link and consume json
Заметка
[Since 2021.04]
Put files' ids to temporary store for future zip download by public link and consume json.
POST /api/v1/public/zip HTTP/1.1
- Example request
curl 'http://localhost:8080/api/v1/public/zip' -i -X POST \
-H 'Content-Type: application/json' \
-H 'X-co-auth-token: cd552625c19ff0db4b4c2e6eb41f14fa' \
-d '[ "file1", "file2", "file3" ]'
- Example response headers
HTTP/1.1 200 OK
X-co-request-id: 4c6866755150534c396a784a65395679
Content-Type: application/json
Content-Length: 54
[ content of the response is skipped ]
- Example response
HTTP/1.1 200 OK
X-co-request-id: 4c6866755150534c396a784a65395679
Content-Type: application/json
Content-Length: 54
{
"requestId" : "4f514d65314d5a6b5050317933456c4f"
}