batch_download
Download multiple files from Supabase Storage buckets with configurable return formats, batch processing options, and automatic download triggers for efficient file retrieval.
Instructions
Download multiple files with optional auto-download triggers and batch processing
Input Schema
Name | Required | Description | Default |
---|---|---|---|
auto_download | No | Generate auto-download trigger code for batch | |
bucket_name | Yes | Source bucket | |
download_delay | No | Delay between downloads in milliseconds | |
expires_in | No | URL expiration in seconds (for signed_url format) | |
file_paths | Yes | Array of file paths to download | |
return_format | No | Format to return files | signed_url |
Input Schema (JSON Schema)
{
"properties": {
"auto_download": {
"default": false,
"description": "Generate auto-download trigger code for batch",
"type": "boolean"
},
"bucket_name": {
"description": "Source bucket",
"maxLength": 63,
"minLength": 3,
"type": "string"
},
"download_delay": {
"default": 500,
"description": "Delay between downloads in milliseconds",
"maximum": 10000,
"minimum": 0,
"type": "number"
},
"expires_in": {
"default": 3600,
"description": "URL expiration in seconds (for signed_url format)",
"maximum": 604800,
"minimum": 60,
"type": "number"
},
"file_paths": {
"description": "Array of file paths to download",
"items": {
"maxLength": 1024,
"type": "string"
},
"maxItems": 50,
"minItems": 1,
"type": "array"
},
"return_format": {
"default": "signed_url",
"description": "Format to return files",
"enum": [
"base64",
"binary",
"signed_url"
],
"type": "string"
}
},
"required": [
"bucket_name",
"file_paths"
],
"type": "object"
}