Get a Redmine attachment
get_attachmentRetrieve attachment metadata, content URLs, and thumbnail links from Redmine by specifying the attachment ID. Visibility restrictions are enforced.
Instructions
Read one visible Redmine attachment from GET /attachments/:id.json for the configured API user. The required attachment_id is a positive safe integer. This endpoint has no documented query or include controls. Results contain the documented attachment metadata, sanitized content and thumbnail URLs, and safe base-path browser and download links. Redmine enforces attachment visibility and may return HTTP 401, 403, or 404. This tool never downloads files, changes attachment metadata, or deletes attachments.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| attachment_id | Yes | Positive safe-integer Redmine attachment ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| url | Yes | ||
| author | No | ||
| filename | Yes | ||
| filesize | No | ||
| createdOn | No | ||
| contentUrl | No | ||
| contentType | No | ||
| description | No | ||
| downloadUrl | Yes | ||
| thumbnailUrl | No |