Path Parameters
Query Parameters
Required range:
60 <= x <= 3600
Generate a pre-signed download URL for a file.
Args: file_id: UUID of the file to download identity: Authentication identity containing org_id ttl: Time-to-live for the download URL in seconds (60-3600) db: Database session s3: S3 session for generating pre-signed URLs
Returns: FileDownloadResponse: Contains file_id, download URL, and expiration time
Raises: HTTPException: 404 if file not found, doesn’t belong to org, or not ready
60 <= x <= 3600