prepare_download
Create a short-lived direct download URL for one file, or a restricted ZIP ticket for folders and multiple items using node IDs or absolute paths.
Instructions
Create a short-lived direct GET URL for one file, or a restricted ZIP ticket for folders and multiple nodes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paths | No | absolute file or folder paths instead of node_id/node_ids | |
| node_id | No | single node UUID; use node_ids for a batch | |
| node_ids | No | one or more file or folder UUIDs |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| size | Yes | ||
| method | Yes | ||
| archive | Yes | ||
| filename | Yes | ||
| content_type | Yes | ||
| expires_in_seconds | Yes |