naftiko: 1.0.0-alpha2 info: label: Atlassian rest/api/3/attachment/ — Issue Attachments description: 'Atlassian rest/api/3/attachment/ — Issue Attachments. 7 operations. Lead operation: Atlassian Get Attachment Content. Self-contained Naftiko capability covering one Atlassian business surface.' tags: - Atlassian - Issue Attachments created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: ATLASSIAN_API_KEY: ATLASSIAN_API_KEY capability: consumes: - type: http namespace: rest-api-3-attachment--issue-attachments baseUri: https://your-domain.atlassian.net description: Atlassian rest/api/3/attachment/ — Issue Attachments business capability. Self-contained, no shared references. resources: - name: rest-api-3-attachment-content-id path: /rest/api/3/attachment/content/{id} operations: - name: atlassiangetattachmentcontent method: GET description: Atlassian Get Attachment Content outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: The ID of the attachment. required: true - name: redirect in: query type: boolean description: 'Whether a redirect is provided for the attachment download. Clients that do not automatically follow redirects can set this to `false` to avoid making multiple ' - name: rest-api-3-attachment-meta path: /rest/api/3/attachment/meta operations: - name: atlassiangetattachmentmeta method: GET description: Atlassian Get Jira Attachment Settings outputRawFormat: json outputParameters: - name: result type: object value: $. - name: rest-api-3-attachment-thumbnail-id path: /rest/api/3/attachment/thumbnail/{id} operations: - name: atlassiangetattachmentthumbnail method: GET description: Atlassian Get Attachment Thumbnail outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: The ID of the attachment. required: true - name: redirect in: query type: boolean description: 'Whether a redirect is provided for the attachment download. Clients that do not automatically follow redirects can set this to `false` to avoid making multiple ' - name: fallbackToDefault in: query type: boolean description: Whether a default thumbnail is returned when the requested thumbnail is not found. - name: width in: query type: integer description: The maximum width to scale the thumbnail to. - name: height in: query type: integer description: The maximum height to scale the thumbnail to. - name: rest-api-3-attachment-id path: /rest/api/3/attachment/{id} operations: - name: atlassianremoveattachment method: DELETE description: Atlassian Delete Attachment outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: The ID of the attachment. required: true - name: atlassiangetattachment method: GET description: Atlassian Get Attachment Metadata outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: The ID of the attachment. required: true - name: rest-api-3-attachment-id-expand-human path: /rest/api/3/attachment/{id}/expand/human operations: - name: atlassianexpandattachmentforhumans method: GET description: Atlassian Get All Metadata For An Expanded Attachment outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: The ID of the attachment. required: true - name: rest-api-3-attachment-id-expand-raw path: /rest/api/3/attachment/{id}/expand/raw operations: - name: atlassianexpandattachmentformachines method: GET description: Atlassian Get Contents Metadata For An Expanded Attachment outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: The ID of the attachment. required: true exposes: - type: rest namespace: rest-api-3-attachment--issue-attachments-rest port: 8080 description: REST adapter for Atlassian rest/api/3/attachment/ — Issue Attachments. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api/3/attachment/content/{id} name: rest-api-3-attachment-content-id description: REST surface for rest-api-3-attachment-content-id. operations: - method: GET name: atlassiangetattachmentcontent description: Atlassian Get Attachment Content call: rest-api-3-attachment--issue-attachments.atlassiangetattachmentcontent with: id: rest.id redirect: rest.redirect outputParameters: - type: object mapping: $. - path: /v1/api/3/attachment/meta name: rest-api-3-attachment-meta description: REST surface for rest-api-3-attachment-meta. operations: - method: GET name: atlassiangetattachmentmeta description: Atlassian Get Jira Attachment Settings call: rest-api-3-attachment--issue-attachments.atlassiangetattachmentmeta outputParameters: - type: object mapping: $. - path: /v1/api/3/attachment/thumbnail/{id} name: rest-api-3-attachment-thumbnail-id description: REST surface for rest-api-3-attachment-thumbnail-id. operations: - method: GET name: atlassiangetattachmentthumbnail description: Atlassian Get Attachment Thumbnail call: rest-api-3-attachment--issue-attachments.atlassiangetattachmentthumbnail with: id: rest.id redirect: rest.redirect fallbackToDefault: rest.fallbackToDefault width: rest.width height: rest.height outputParameters: - type: object mapping: $. - path: /v1/api/3/attachment/{id} name: rest-api-3-attachment-id description: REST surface for rest-api-3-attachment-id. operations: - method: DELETE name: atlassianremoveattachment description: Atlassian Delete Attachment call: rest-api-3-attachment--issue-attachments.atlassianremoveattachment with: id: rest.id outputParameters: - type: object mapping: $. - method: GET name: atlassiangetattachment description: Atlassian Get Attachment Metadata call: rest-api-3-attachment--issue-attachments.atlassiangetattachment with: id: rest.id outputParameters: - type: object mapping: $. - path: /v1/api/3/attachment/{id}/expand/human name: rest-api-3-attachment-id-expand-human description: REST surface for rest-api-3-attachment-id-expand-human. operations: - method: GET name: atlassianexpandattachmentforhumans description: Atlassian Get All Metadata For An Expanded Attachment call: rest-api-3-attachment--issue-attachments.atlassianexpandattachmentforhumans with: id: rest.id outputParameters: - type: object mapping: $. - path: /v1/api/3/attachment/{id}/expand/raw name: rest-api-3-attachment-id-expand-raw description: REST surface for rest-api-3-attachment-id-expand-raw. operations: - method: GET name: atlassianexpandattachmentformachines description: Atlassian Get Contents Metadata For An Expanded Attachment call: rest-api-3-attachment--issue-attachments.atlassianexpandattachmentformachines with: id: rest.id outputParameters: - type: object mapping: $. - type: mcp namespace: rest-api-3-attachment--issue-attachments-mcp port: 9090 transport: http description: MCP adapter for Atlassian rest/api/3/attachment/ — Issue Attachments. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: atlassian-get-attachment-content description: Atlassian Get Attachment Content hints: readOnly: true destructive: false idempotent: true call: rest-api-3-attachment--issue-attachments.atlassiangetattachmentcontent with: id: tools.id redirect: tools.redirect outputParameters: - type: object mapping: $. - name: atlassian-get-jira-attachment-settings description: Atlassian Get Jira Attachment Settings hints: readOnly: true destructive: false idempotent: true call: rest-api-3-attachment--issue-attachments.atlassiangetattachmentmeta outputParameters: - type: object mapping: $. - name: atlassian-get-attachment-thumbnail description: Atlassian Get Attachment Thumbnail hints: readOnly: true destructive: false idempotent: true call: rest-api-3-attachment--issue-attachments.atlassiangetattachmentthumbnail with: id: tools.id redirect: tools.redirect fallbackToDefault: tools.fallbackToDefault width: tools.width height: tools.height outputParameters: - type: object mapping: $. - name: atlassian-delete-attachment description: Atlassian Delete Attachment hints: readOnly: false destructive: true idempotent: true call: rest-api-3-attachment--issue-attachments.atlassianremoveattachment with: id: tools.id outputParameters: - type: object mapping: $. - name: atlassian-get-attachment-metadata description: Atlassian Get Attachment Metadata hints: readOnly: true destructive: false idempotent: true call: rest-api-3-attachment--issue-attachments.atlassiangetattachment with: id: tools.id outputParameters: - type: object mapping: $. - name: atlassian-get-all-metadata-expanded description: Atlassian Get All Metadata For An Expanded Attachment hints: readOnly: true destructive: false idempotent: true call: rest-api-3-attachment--issue-attachments.atlassianexpandattachmentforhumans with: id: tools.id outputParameters: - type: object mapping: $. - name: atlassian-get-contents-metadata-expanded description: Atlassian Get Contents Metadata For An Expanded Attachment hints: readOnly: true destructive: false idempotent: true call: rest-api-3-attachment--issue-attachments.atlassianexpandattachmentformachines with: id: tools.id outputParameters: - type: object mapping: $.