Atlassian · Capability
Atlassian wiki/rest/api/content/ — Content - Attachments
Atlassian wiki/rest/api/content/ — Content - Attachments. 6 operations. Lead operation: Atlassian Get Attachments. Self-contained Naftiko capability covering one Atlassian business surface.
What You Can Do
GET
Atlassiangetattachments
— Atlassian Get Attachments
/v1/wiki/rest/api/content/{id}/child/attachment
PUT
Atlassiancreateorupdateattachments
— Atlassian Create Or Update Attachment
/v1/wiki/rest/api/content/{id}/child/attachment
POST
Atlassiancreateattachment
— Atlassian Create Attachment
/v1/wiki/rest/api/content/{id}/child/attachment
PUT
Atlassianupdateattachmentproperties
— Atlassian Update Attachment Properties
/v1/wiki/rest/api/content/{id}/child/attachment/{attachmentid}
POST
Atlassianupdateattachmentdata
— Atlassian Update Attachment Data
/v1/wiki/rest/api/content/{id}/child/attachment/{attachmentid}/data
GET
Atlassiandownloadattatchment
— Atlassian Get Uri To Download Attachment
/v1/wiki/rest/api/content/{id}/child/attachment/{attachmentid}/download
MCP Tools
atlassian-get-attachments
Atlassian Get Attachments
read-only
idempotent
atlassian-create-update-attachment
Atlassian Create Or Update Attachment
idempotent
atlassian-create-attachment
Atlassian Create Attachment
atlassian-update-attachment-properties
Atlassian Update Attachment Properties
idempotent
atlassian-update-attachment-data
Atlassian Update Attachment Data
atlassian-get-uri-download-attachment
Atlassian Get Uri To Download Attachment
read-only
idempotent
Capability Spec
naftiko: 1.0.0-alpha2
info:
label: Atlassian wiki/rest/api/content/ — Content - Attachments
description: 'Atlassian wiki/rest/api/content/ — Content - Attachments. 6 operations. Lead operation: Atlassian Get Attachments.
Self-contained Naftiko capability covering one Atlassian business surface.'
tags:
- Atlassian
- Content - Attachments
created: '2026-05-19'
modified: '2026-05-19'
binds:
- namespace: env
keys:
ATLASSIAN_API_KEY: ATLASSIAN_API_KEY
capability:
consumes:
- type: http
namespace: wiki-rest-api-content--content-attachments
baseUri: ''
description: Atlassian wiki/rest/api/content/ — Content - Attachments business capability. Self-contained, no shared references.
resources:
- name: wiki-rest-api-content-id-child-attachment
path: /wiki/rest/api/content/{id}/child/attachment
operations:
- name: atlassiangetattachments
method: GET
description: Atlassian Get Attachments
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: id
in: path
type: string
description: The ID of the content to be queried for its attachments.
required: true
- name: start
in: query
type: integer
description: The starting index of the returned attachments.
- name: limit
in: query
type: integer
description: The maximum number of attachments to return per page.
- name: filename
in: query
type: string
description: Filter the results to attachments that match the filename.
- name: mediaType
in: query
type: string
description: Filter the results to attachments that match the media type.
- name: atlassiancreateorupdateattachments
method: PUT
description: Atlassian Create Or Update Attachment
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: id
in: path
type: string
description: The ID of the content to add the attachment to.
required: true
- name: status
in: query
type: string
description: The status of the content that the attachment is being added to.
- name: body
in: body
type: object
description: Request body (JSON).
required: true
- name: atlassiancreateattachment
method: POST
description: Atlassian Create Attachment
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: id
in: path
type: string
description: The ID of the content to add the attachment to.
required: true
- name: status
in: query
type: string
description: The status of the content that the attachment is being added to.
- name: body
in: body
type: object
description: Request body (JSON).
required: true
- name: wiki-rest-api-content-id-child-attachment-attachmentId
path: /wiki/rest/api/content/{id}/child/attachment/{attachmentId}
operations:
- name: atlassianupdateattachmentproperties
method: PUT
description: Atlassian Update Attachment Properties
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: id
in: path
type: string
description: The ID of the content that the attachment is attached to.
required: true
- name: attachmentId
in: path
type: string
description: The ID of the attachment to update.
required: true
- name: body
in: body
type: object
description: Request body (JSON).
required: true
- name: wiki-rest-api-content-id-child-attachment-attachmentId-data
path: /wiki/rest/api/content/{id}/child/attachment/{attachmentId}/data
operations:
- name: atlassianupdateattachmentdata
method: POST
description: Atlassian Update Attachment Data
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: id
in: path
type: string
description: The ID of the content that the attachment is attached to.
required: true
- name: attachmentId
in: path
type: string
description: The ID of the attachment to update.
required: true
- name: body
in: body
type: object
description: Request body (JSON).
required: true
- name: wiki-rest-api-content-id-child-attachment-attachmentId-download
path: /wiki/rest/api/content/{id}/child/attachment/{attachmentId}/download
operations:
- name: atlassiandownloadattatchment
method: GET
description: Atlassian Get Uri To Download Attachment
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: id
in: path
type: string
description: The ID of the content that the attachment is attached to.
required: true
- name: attachmentId
in: path
type: string
description: The ID of the attachment to download.
required: true
- name: version
in: query
type: integer
description: The version of the attachment. If this parameter is absent, the redirect URI will download the latest
version of the attachment.
exposes:
- type: rest
namespace: wiki-rest-api-content--content-attachments-rest
port: 8080
description: REST adapter for Atlassian wiki/rest/api/content/ — Content - Attachments. One Spectral-compliant resource
per consumed operation, prefixed with /v1.
resources:
- path: /v1/wiki/rest/api/content/{id}/child/attachment
name: wiki-rest-api-content-id-child-attachment
description: REST surface for wiki-rest-api-content-id-child-attachment.
operations:
- method: GET
name: atlassiangetattachments
description: Atlassian Get Attachments
call: wiki-rest-api-content--content-attachments.atlassiangetattachments
with:
id: rest.id
start: rest.start
limit: rest.limit
filename: rest.filename
mediaType: rest.mediaType
outputParameters:
- type: object
mapping: $.
- method: PUT
name: atlassiancreateorupdateattachments
description: Atlassian Create Or Update Attachment
call: wiki-rest-api-content--content-attachments.atlassiancreateorupdateattachments
with:
id: rest.id
status: rest.status
body: rest.body
outputParameters:
- type: object
mapping: $.
- method: POST
name: atlassiancreateattachment
description: Atlassian Create Attachment
call: wiki-rest-api-content--content-attachments.atlassiancreateattachment
with:
id: rest.id
status: rest.status
body: rest.body
outputParameters:
- type: object
mapping: $.
- path: /v1/wiki/rest/api/content/{id}/child/attachment/{attachmentid}
name: wiki-rest-api-content-id-child-attachment-attachmentid
description: REST surface for wiki-rest-api-content-id-child-attachment-attachmentId.
operations:
- method: PUT
name: atlassianupdateattachmentproperties
description: Atlassian Update Attachment Properties
call: wiki-rest-api-content--content-attachments.atlassianupdateattachmentproperties
with:
id: rest.id
attachmentId: rest.attachmentId
body: rest.body
outputParameters:
- type: object
mapping: $.
- path: /v1/wiki/rest/api/content/{id}/child/attachment/{attachmentid}/data
name: wiki-rest-api-content-id-child-attachment-attachmentid-data
description: REST surface for wiki-rest-api-content-id-child-attachment-attachmentId-data.
operations:
- method: POST
name: atlassianupdateattachmentdata
description: Atlassian Update Attachment Data
call: wiki-rest-api-content--content-attachments.atlassianupdateattachmentdata
with:
id: rest.id
attachmentId: rest.attachmentId
body: rest.body
outputParameters:
- type: object
mapping: $.
- path: /v1/wiki/rest/api/content/{id}/child/attachment/{attachmentid}/download
name: wiki-rest-api-content-id-child-attachment-attachmentid-download
description: REST surface for wiki-rest-api-content-id-child-attachment-attachmentId-download.
operations:
- method: GET
name: atlassiandownloadattatchment
description: Atlassian Get Uri To Download Attachment
call: wiki-rest-api-content--content-attachments.atlassiandownloadattatchment
with:
id: rest.id
attachmentId: rest.attachmentId
version: rest.version
outputParameters:
- type: object
mapping: $.
- type: mcp
namespace: wiki-rest-api-content--content-attachments-mcp
port: 9090
transport: http
description: MCP adapter for Atlassian wiki/rest/api/content/ — Content - Attachments. One tool per consumed operation,
routed inline through this capability's consumes block.
tools:
- name: atlassian-get-attachments
description: Atlassian Get Attachments
hints:
readOnly: true
destructive: false
idempotent: true
call: wiki-rest-api-content--content-attachments.atlassiangetattachments
with:
id: tools.id
start: tools.start
limit: tools.limit
filename: tools.filename
mediaType: tools.mediaType
outputParameters:
- type: object
mapping: $.
- name: atlassian-create-update-attachment
description: Atlassian Create Or Update Attachment
hints:
readOnly: false
destructive: false
idempotent: true
call: wiki-rest-api-content--content-attachments.atlassiancreateorupdateattachments
with:
id: tools.id
status: tools.status
body: tools.body
outputParameters:
- type: object
mapping: $.
- name: atlassian-create-attachment
description: Atlassian Create Attachment
hints:
readOnly: false
destructive: false
idempotent: false
call: wiki-rest-api-content--content-attachments.atlassiancreateattachment
with:
id: tools.id
status: tools.status
body: tools.body
outputParameters:
- type: object
mapping: $.
- name: atlassian-update-attachment-properties
description: Atlassian Update Attachment Properties
hints:
readOnly: false
destructive: false
idempotent: true
call: wiki-rest-api-content--content-attachments.atlassianupdateattachmentproperties
with:
id: tools.id
attachmentId: tools.attachmentId
body: tools.body
outputParameters:
- type: object
mapping: $.
- name: atlassian-update-attachment-data
description: Atlassian Update Attachment Data
hints:
readOnly: false
destructive: false
idempotent: false
call: wiki-rest-api-content--content-attachments.atlassianupdateattachmentdata
with:
id: tools.id
attachmentId: tools.attachmentId
body: tools.body
outputParameters:
- type: object
mapping: $.
- name: atlassian-get-uri-download-attachment
description: Atlassian Get Uri To Download Attachment
hints:
readOnly: true
destructive: false
idempotent: true
call: wiki-rest-api-content--content-attachments.atlassiandownloadattatchment
with:
id: tools.id
attachmentId: tools.attachmentId
version: tools.version
outputParameters:
- type: object
mapping: $.