Create download links
create_download_linksShort-lived pre-signed download URLs for several objects in one bucket at once - the batch form of create_download_link. Name each object by its full key, as list_objects or find_objects reported it. Each distinct key gets its own entry: a URL, or the reason it got none. Existence is not checked, so a key that names nothing still gets a URL, which answers 404.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keys | Yes | Full object keys, at most 20. A folder prefix ending in '/' is not an object. | |
| bucket | Yes | Bucket name. | |
| connectionId | Yes | Connection id from list_connections. | |
| expiresInMinutes | No | How long every URL stays valid, 1-60 minutes (default 15). Values outside that range are clamped, and expiresInMinutes reports what the URLs actually got. |