Atlassian · Capability

Atlassian wiki/rest/api/content/ — Content Versions

Atlassian wiki/rest/api/content/ — Content Versions. 4 operations. Lead operation: Atlassian Get Content Versions. Self-contained Naftiko capability covering one Atlassian business surface.

Run with Naftiko AtlassianContent Versions

What You Can Do

GET
Atlassiangetcontentversions — Atlassian Get Content Versions
/v1/wiki/rest/api/content/{id}/version
POST
Atlassianrestorecontentversion — Atlassian Restore Content Version
/v1/wiki/rest/api/content/{id}/version
GET
Atlassiangetcontentversion — Atlassian Get Content Version
/v1/wiki/rest/api/content/{id}/version/{versionnumber}
DELETE
Atlassiandeletecontentversion — Atlassian Delete Content Version
/v1/wiki/rest/api/content/{id}/version/{versionnumber}

MCP Tools

atlassian-get-content-versions

Atlassian Get Content Versions

read-only idempotent
atlassian-restore-content-version

Atlassian Restore Content Version

atlassian-get-content-version

Atlassian Get Content Version

read-only idempotent
atlassian-delete-content-version

Atlassian Delete Content Version

idempotent

Capability Spec

wiki-rest-api-content--content-versions.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Atlassian wiki/rest/api/content/ — Content Versions
  description: 'Atlassian wiki/rest/api/content/ — Content Versions. 4 operations. Lead operation: Atlassian Get Content Versions.
    Self-contained Naftiko capability covering one Atlassian business surface.'
  tags:
  - Atlassian
  - Content Versions
  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-versions
    baseUri: ''
    description: Atlassian wiki/rest/api/content/ — Content Versions business capability. Self-contained, no shared references.
    resources:
    - name: wiki-rest-api-content-id-version
      path: /wiki/rest/api/content/{id}/version
      operations:
      - name: atlassiangetcontentversions
        method: GET
        description: Atlassian Get Content Versions
        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 versions.
          required: true
        - name: start
          in: query
          type: integer
          description: The starting index of the returned versions.
        - name: limit
          in: query
          type: integer
          description: The maximum number of versions to return per page.
        - name: expand
          in: query
          type: array
          description: A multi-value parameter indicating which properties of the content to expand. By default, the `content`
      - name: atlassianrestorecontentversion
        method: POST
        description: Atlassian Restore Content Version
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: The ID of the content for which the history will be restored.
          required: true
        - name: expand
          in: query
          type: array
          description: A multi-value parameter indicating which properties of the content to expand. By default, the `content`
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: wiki-rest-api-content-id-version-versionNumber
      path: /wiki/rest/api/content/{id}/version/{versionNumber}
      operations:
      - name: atlassiangetcontentversion
        method: GET
        description: Atlassian Get Content Version
        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 version.
          required: true
        - name: versionNumber
          in: path
          type: integer
          description: The number of the version to be retrieved.
          required: true
        - name: expand
          in: query
          type: array
          description: A multi-value parameter indicating which properties of the content to expand. By default, the `content`
      - name: atlassiandeletecontentversion
        method: DELETE
        description: Atlassian Delete Content Version
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: The ID of the content that the version will be deleted from.
          required: true
        - name: versionNumber
          in: path
          type: integer
          description: The number of the version to be deleted. The version number starts
          required: true
  exposes:
  - type: rest
    namespace: wiki-rest-api-content--content-versions-rest
    port: 8080
    description: REST adapter for Atlassian wiki/rest/api/content/ — Content Versions. One Spectral-compliant resource per
      consumed operation, prefixed with /v1.
    resources:
    - path: /v1/wiki/rest/api/content/{id}/version
      name: wiki-rest-api-content-id-version
      description: REST surface for wiki-rest-api-content-id-version.
      operations:
      - method: GET
        name: atlassiangetcontentversions
        description: Atlassian Get Content Versions
        call: wiki-rest-api-content--content-versions.atlassiangetcontentversions
        with:
          id: rest.id
          start: rest.start
          limit: rest.limit
          expand: rest.expand
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: atlassianrestorecontentversion
        description: Atlassian Restore Content Version
        call: wiki-rest-api-content--content-versions.atlassianrestorecontentversion
        with:
          id: rest.id
          expand: rest.expand
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/wiki/rest/api/content/{id}/version/{versionnumber}
      name: wiki-rest-api-content-id-version-versionnumber
      description: REST surface for wiki-rest-api-content-id-version-versionNumber.
      operations:
      - method: GET
        name: atlassiangetcontentversion
        description: Atlassian Get Content Version
        call: wiki-rest-api-content--content-versions.atlassiangetcontentversion
        with:
          id: rest.id
          versionNumber: rest.versionNumber
          expand: rest.expand
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: atlassiandeletecontentversion
        description: Atlassian Delete Content Version
        call: wiki-rest-api-content--content-versions.atlassiandeletecontentversion
        with:
          id: rest.id
          versionNumber: rest.versionNumber
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: wiki-rest-api-content--content-versions-mcp
    port: 9090
    transport: http
    description: MCP adapter for Atlassian wiki/rest/api/content/ — Content Versions. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: atlassian-get-content-versions
      description: Atlassian Get Content Versions
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: wiki-rest-api-content--content-versions.atlassiangetcontentversions
      with:
        id: tools.id
        start: tools.start
        limit: tools.limit
        expand: tools.expand
      outputParameters:
      - type: object
        mapping: $.
    - name: atlassian-restore-content-version
      description: Atlassian Restore Content Version
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: wiki-rest-api-content--content-versions.atlassianrestorecontentversion
      with:
        id: tools.id
        expand: tools.expand
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: atlassian-get-content-version
      description: Atlassian Get Content Version
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: wiki-rest-api-content--content-versions.atlassiangetcontentversion
      with:
        id: tools.id
        versionNumber: tools.versionNumber
        expand: tools.expand
      outputParameters:
      - type: object
        mapping: $.
    - name: atlassian-delete-content-version
      description: Atlassian Delete Content Version
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: wiki-rest-api-content--content-versions.atlassiandeletecontentversion
      with:
        id: tools.id
        versionNumber: tools.versionNumber
      outputParameters:
      - type: object
        mapping: $.