Buildium Download File
buildium_download_fileDownload any Buildium file to your machine using its ID, bypassing expiring URLs. Saves to your configured download folder with optional rename and overwrite settings.
Instructions
Download a Buildium file to this machine, handling both steps.
Buildium issues a download URL that expires after five minutes and serves the bytes from separate storage, so this cannot be done with buildium_get.
Files are written only inside the download folder — ~/Downloads/Buildium unless BUILDIUM_DOWNLOAD_DIR moves it; buildium_health reports where. An existing file is never replaced unless overwrite is true.
Note this is refused when the server runs in production-readonly mode: Buildium models a download request as a POST, and that mode blocks every POST at the transport layer without exception. Reading file metadata via GET /v1/files/{id} still works.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_id | Yes | The file's ID, from GET /v1/files. | |
| save_to | No | A file name, or a path inside the download folder; relative paths are taken relative to it. Omit to save as buildium-file-<id> with an extension from the content type. | |
| overwrite | No | Replace a file that already exists at that name. | |
| download_path | No | For a file belonging to a bill, check or task history, that resource's own download path, e.g. "/v1/bills/123/files/456/downloadrequest". Only Buildium's seven download endpoints are accepted. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||