Download Files as ZIP
Create a ZIP download of selected media-library files and directories.
Provide a non-empty list of file or directory entries. Each file needs its assetId and path; directories use their path. The response supplies a download URL.
Requires the files:read scope.
API key sent as a bearer token (mk_live_… / mk_test_…).
Data schema used by Download Files as ZIP (POST /v1/files/download). Read that operation for usage, permissions and update rules. Required fields and allowed values are defined below; request and response shapes can differ.
Successful response.
Invalid request data.
Missing or invalid API key.
The API key lacks the required scope (scope_denied), or the operation is not permitted for this account (operation_not_permitted).
The API key exceeded its request rate (rate_limit_exceeded) or its monthly quota (quota_exceeded). Both carry Retry-After; the RateLimit-* headers accompany rate_limit_exceeded only, since a spent quota says nothing about the bucket.
Internal server error.
POST /v1/files/download HTTP/1.1
Host: admin.mimeeqapi.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 58
{
"items": [
{
"type": "text",
"assetId": "text",
"path": "text"
}
]
}{
"data": {
"url": "https://example.com"
}
}Last updated
Was this helpful?