naftiko: 1.0.0-alpha2 info: label: Atlassian The Confluence Cloud REST API — Content Versions description: 'Atlassian The Confluence Cloud REST API — 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: confluence-content-versions-2 baseUri: '' description: Atlassian The Confluence Cloud REST API — 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 authentication: type: bearer token: '{{env.ATLASSIAN_API_KEY}}' exposes: - type: rest namespace: confluence-content-versions-2-rest port: 8080 description: REST adapter for Atlassian The Confluence Cloud REST API — 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: confluence-content-versions-2.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: confluence-content-versions-2.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: confluence-content-versions-2.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: confluence-content-versions-2.atlassiandeletecontentversion with: id: rest.id versionNumber: rest.versionNumber outputParameters: - type: object mapping: $. - type: mcp namespace: confluence-content-versions-2-mcp port: 9090 transport: http description: MCP adapter for Atlassian The Confluence Cloud REST API — 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: confluence-content-versions-2.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: confluence-content-versions-2.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: confluence-content-versions-2.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: confluence-content-versions-2.atlassiandeletecontentversion with: id: tools.id versionNumber: tools.versionNumber outputParameters: - type: object mapping: $.