DownloadAttachment
Downloads an attachment from Confluence by specifying its unique attachment ID.
Input
| Name | Type | Required | Description |
| Id | String | False | The unique identifier of the content item (such as a page or blog post) to which the attachment belongs. |
| AttachmentId | String | True | The unique identifier of the attachment to be downloaded. |
| Version | String | False | Specifies the version of the attachment to download. If not provided, the latest version is downloaded by default. |
| FileLocation | String | False | The absolute or relative path where the downloaded file will be saved. |
| Overwrite | String | False | If the value is 'true', existing files at the target location will be overwritten. If the value is 'false', the procedure preserves existing files. The default value is 'false'. |
| Encoding | String | False | Specifies the encoding type used for the file data, defining how the content is read or written.
The allowed values are NONE, BASE64. The default value is BASE64. |
Result Set Columns
| Name | Type | Description |
| Success | String | If the value is 'true', the download operation completed successfully. If the value is 'false', the operation failed. |
| FileData | String | If neither FileLocation nor FileStream is specified, this output contains the raw file content, typically in Base64-encoded format. |