vk_get_tasks_f038453ed58c
Retrieve a specific attachment from a Vikunja task by providing task and attachment IDs. Optionally specify a preview size (sm, md, lg, xl) to get an image preview.
Instructions
Get one attachment.. Raw Vikunja REST proxy for GET /tasks/{id}/attachments/{attachmentID}. Get one attachment for download. Returns json on error. This endpoint does not usually require a request body. Path and query parameters are top-level fields. Original parameter names also accept camelCase and snake_case aliases. Authentication is required.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Task ID Required. | |
| previewSize | No | The size of the preview image. Can be sm = 100px, md = 200px, lg = 400px or xl = 800px. If provided, a preview image will be returned if the attachment is an image. Optional. | |
| attachmentID | No | Attachment ID Required. | |
| attachmentId | No | Attachment ID Required. | |
| preview_size | No | The size of the preview image. Can be sm = 100px, md = 200px, lg = 400px or xl = 800px. If provided, a preview image will be returned if the attachment is an image. Optional. | |
| attachment_id | No | Attachment ID Required. |