download-all-attachments
Downloads all attachments from a Dooray task to a local directory, with options to overwrite existing files and returns a summary of succeeded and failed downloads.
Instructions
Download every file attached to a Dooray task into a local directory (첨부 일괄 다운로드).
Files are saved with their original names. Existing files are not overwritten unless overwrite is true. If some files fail, the others are still downloaded and the result lists both succeeded and failed files.
Examples:
{"projectId": "123", "taskId": "456", "saveDir": "/tmp/task-456/"}
Returns: count, succeeded [{fileId, savedTo, size}], failed [{fileId, name, error}].
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| taskId | Yes | Task ID (post ID) | |
| saveDir | Yes | Local directory to save the files into (created if missing) | |
| overwrite | No | Overwrite files that already exist (default: false) | |
| projectId | Yes | Project ID |