Atlassian · Capability

Atlassian Confluence Content API — Update

Atlassian Confluence Content API — Update. 6 operations. Lead operation: Atlassian Update Content. Self-contained Naftiko capability covering one Atlassian business surface.

Run with Naftiko AtlassianUpdate

What You Can Do

PUT
Updatecontent — Atlassian Update Content
/v1/wiki/rest/api/content/{id}
PUT
Createorupdateattachment — Atlassian Create or Update Attachment
/v1/wiki/rest/api/content/{id}/child/attachment
PUT
Updateattachmentproperties — Atlassian Update Attachment Properties
/v1/wiki/rest/api/content/{id}/child/attachment/{attachmentid}
POST
Updateattachmentdata — Atlassian Update Attachment Data
/v1/wiki/rest/api/content/{id}/child/attachment/{attachmentid}/data
PUT
Updatecontentproperty — Atlassian Update Content Property
/v1/wiki/rest/api/content/{id}/property/{key}
PUT
Updaterestrictions — Atlassian Update Restrictions
/v1/wiki/rest/api/content/{id}/restriction

MCP Tools

atlassian-update-content

Atlassian Update Content

idempotent
atlassian-create-update-attachment

Atlassian Create or Update Attachment

idempotent
atlassian-update-attachment-properties

Atlassian Update Attachment Properties

idempotent
atlassian-update-attachment-data

Atlassian Update Attachment Data

atlassian-update-content-property

Atlassian Update Content Property

idempotent
atlassian-update-restrictions

Atlassian Update Restrictions

idempotent

Capability Spec

confluence-content-update.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Atlassian Confluence Content API — Update
  description: 'Atlassian Confluence Content API — Update. 6 operations. Lead operation: Atlassian Update Content. Self-contained
    Naftiko capability covering one Atlassian business surface.'
  tags:
  - Atlassian
  - Update
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ATLASSIAN_API_KEY: ATLASSIAN_API_KEY
capability:
  consumes:
  - type: http
    namespace: confluence-content-update
    baseUri: ''
    description: Atlassian Confluence Content API — Update business capability. Self-contained, no shared references.
    resources:
    - name: wiki-rest-api-content-id
      path: /wiki/rest/api/content/{id}
      operations:
      - name: updatecontent
        method: PUT
        description: Atlassian Update Content
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: The ID of the content to be updated.
          required: true
        - name: status
          in: query
          type: string
          description: The updated status of the content. Use this parameter to change the
        - name: conflictPolicy
          in: query
          type: string
          description: The action that should be taken when conflicts are discovered.
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: wiki-rest-api-content-id-child-attachment
      path: /wiki/rest/api/content/{id}/child/attachment
      operations:
      - name: createorupdateattachment
        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: wiki-rest-api-content-id-child-attachment-attachmentId
      path: /wiki/rest/api/content/{id}/child/attachment/{attachmentId}
      operations:
      - name: updateattachmentproperties
        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: updateattachmentdata
        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-property-key
      path: /wiki/rest/api/content/{id}/property/{key}
      operations:
      - name: updatecontentproperty
        method: PUT
        description: Atlassian Update Content Property
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: The ID of the content that the property belongs to.
          required: true
        - name: key
          in: path
          type: string
          description: The key of the property.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: wiki-rest-api-content-id-restriction
      path: /wiki/rest/api/content/{id}/restriction
      operations:
      - name: updaterestrictions
        method: PUT
        description: Atlassian Update Restrictions
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: The ID of the content to update restrictions for.
          required: true
        - name: expand
          in: query
          type: array
          description: A multi-value parameter indicating which properties of the content
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.ATLASSIAN_API_KEY}}'
  exposes:
  - type: rest
    namespace: confluence-content-update-rest
    port: 8080
    description: REST adapter for Atlassian Confluence Content API — Update. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/wiki/rest/api/content/{id}
      name: wiki-rest-api-content-id
      description: REST surface for wiki-rest-api-content-id.
      operations:
      - method: PUT
        name: updatecontent
        description: Atlassian Update Content
        call: confluence-content-update.updatecontent
        with:
          id: rest.id
          status: rest.status
          conflictPolicy: rest.conflictPolicy
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - 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: PUT
        name: createorupdateattachment
        description: Atlassian Create or Update Attachment
        call: confluence-content-update.createorupdateattachment
        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: updateattachmentproperties
        description: Atlassian Update Attachment Properties
        call: confluence-content-update.updateattachmentproperties
        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: updateattachmentdata
        description: Atlassian Update Attachment Data
        call: confluence-content-update.updateattachmentdata
        with:
          id: rest.id
          attachmentId: rest.attachmentId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/wiki/rest/api/content/{id}/property/{key}
      name: wiki-rest-api-content-id-property-key
      description: REST surface for wiki-rest-api-content-id-property-key.
      operations:
      - method: PUT
        name: updatecontentproperty
        description: Atlassian Update Content Property
        call: confluence-content-update.updatecontentproperty
        with:
          id: rest.id
          key: rest.key
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/wiki/rest/api/content/{id}/restriction
      name: wiki-rest-api-content-id-restriction
      description: REST surface for wiki-rest-api-content-id-restriction.
      operations:
      - method: PUT
        name: updaterestrictions
        description: Atlassian Update Restrictions
        call: confluence-content-update.updaterestrictions
        with:
          id: rest.id
          expand: rest.expand
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: confluence-content-update-mcp
    port: 9090
    transport: http
    description: MCP adapter for Atlassian Confluence Content API — Update. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: atlassian-update-content
      description: Atlassian Update Content
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: confluence-content-update.updatecontent
      with:
        id: tools.id
        status: tools.status
        conflictPolicy: tools.conflictPolicy
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: atlassian-create-update-attachment
      description: Atlassian Create or Update Attachment
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: confluence-content-update.createorupdateattachment
      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: confluence-content-update.updateattachmentproperties
      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: confluence-content-update.updateattachmentdata
      with:
        id: tools.id
        attachmentId: tools.attachmentId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: atlassian-update-content-property
      description: Atlassian Update Content Property
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: confluence-content-update.updatecontentproperty
      with:
        id: tools.id
        key: tools.key
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: atlassian-update-restrictions
      description: Atlassian Update Restrictions
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: confluence-content-update.updaterestrictions
      with:
        id: tools.id
        expand: tools.expand
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.